Discontiguous Memory

Jeffery Bahr jbahr at set-software-services.com
Sat Sep 16 09:31:13 EST 2006


Thanks, Arnd.  As we're running a 32-bit 8548, looks like we might not be
able to enable sparse memory maps.

Good thought, though.

J 

-----Original Message-----
From: Arnd Bergmann [mailto:arnd at arndb.de] 
Sent: Friday, September 15, 2006 5:25 PM
To: linuxppc-dev at ozlabs.org
Cc: jbahr
Subject: Re: Discontiguous Memory

Am Friday 15 September 2006 22:22 schrieb jbahr:
> Are this really a problem or is there kernel provision for the PPC for 
> discontiguous real memory DRAM space?
>
> Any comments would be VERY appreciated.

You probably want to enable the CONFIG_ARCH_SPARSEMEM_ENABLE option, which
is currently dependant on CONFIG_PPC64.

Look in the early_init_dt_scan_memory function (arch/powerpc/kernel/prom.c)
for how to layout the "memory" nodes in your device tree.

	Arnd <><





More information about the Linuxppc-dev mailing list