[PATCH 1/2] arm: mm: Ignore memory banks which are in front of the kernel when HIGHMEM is ON

Russell King - ARM Linux linux at arm.linux.org.uk
Wed Feb 13 10:56:55 EST 2013


On Wed, Feb 13, 2013 at 04:52:50PM +0100, Michal Simek wrote:
> This case should probably end up on device-tree rule (+dtc fault).
> Not sure if memory banks should be ordered or not. Rob and Grant any thought?

They _are_ ordered by memblock, because memblock always arranges the
banks in ascending physical address order - and it will merge
contiguous banks together irrespective of what order they appear as.

So you can't do something like bank 0: 0x60000000-0x70000000, bank 1:
0x50000000-0x60000000.  You'll end up with a single memblock entry for
0x50000000-0x70000000.



More information about the linux-arm-kernel mailing list