Skip to content

FLATMEM: allow memory to start at pfn != 0 [take #2]

Franck Bui-Huu linux-mips 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 19 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Setup min_low_pfn/max_low_pfn correctlyarch/mips/kernel/setup.c arch/mips/mm/init.c include/asm-mips/dma.h+39 -210 replies
2/2FLATMEM: introduce PHYS_OFFSET.arch/mips/kernel/setup.c include/asm-mips/io.h include/asm-mips/page.h+31 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] FLATMEM: allow memory to start at pfn != 0 [take #2]

Ralf,

Here's is the second attempt to make this works on your Malta board and all other boards that have some data reserved at the start of their memories. In these cases the first patchset assumed wrongly that the start of the memory was after this reserved area.

Patch 1/2 should work alone now. the kernel should report that your mem config is wasting some memory for tracking reserved pages located at the start of the mem.

Thanks for testing

Franck

---

 arch/mips/kernel/setup.c |   40 +++++++++++++++++++++++++++++++---------
 arch/mips/mm/init.c      |   23 +++++++++++------------
 include/asm-mips/dma.h   |    1 +
 include/asm-mips/io.h    |    4 ++--
 include/asm-mips/page.h  |   25 +++++++++++++++++++++----
 5 files changed, 66 insertions(+), 27 deletions(-)