android_kernel_samsung_msm8976/arch/powerpc
Michael Ellerman 2babf5c2ec [PATCH] powerpc: Unify mem= handling
We currently do mem= handling in three seperate places. And as benh pointed out
I wrote two of them. Now that we parse command line parameters earlier we can
clean this mess up.

Moving the parsing out of prom_init means the device tree might be allocated
above the memory limit. If that happens we'd have to move it. As it happens
we already have logic to do that for kdump, so just genericise it.

This also means we might have reserved regions above the memory limit, if we
do the bootmem allocator will blow up, so we have to modify
lmb_enforce_memory_limit() to truncate the reserves as well.

Tested on P5 LPAR, iSeries, F50, 44p. Tested moving device tree on P5 and
44p and F50.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-05-19 15:02:15 +10:00
..
boot Merge ../linux-2.6 2006-03-17 12:01:19 +11:00
configs Merge branch 'merge' 2006-04-29 16:15:57 +10:00
kernel [PATCH] powerpc: Unify mem= handling 2006-05-19 15:02:15 +10:00
lib [PATCH] powerpc: fix various sparse warnings 2006-03-27 14:48:08 +11:00
math-emu powerpc: move math-emu over to arch/powerpc 2006-03-27 23:43:27 -06:00
mm [PATCH] powerpc: Unify mem= handling 2006-05-19 15:02:15 +10:00
oprofile [PATCH] powerpc: Quiet oprofile output at boot 2006-04-22 18:46:09 +10:00
platforms [PATCH] powerpc: Unify mem= handling 2006-05-19 15:02:15 +10:00
sysdev [PATCH] powerpc: Lower threshold for DART enablement to 1GB 2006-04-21 22:29:37 +10:00
xmon [PATCH] powerpc: add a raw dump command to xmon 2006-03-17 13:22:33 +11:00
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc-merge 2006-04-18 10:34:24 -07:00
Kconfig.debug [PATCH] powerpc: Make early debugging options behave with oldconfig 2006-05-19 14:35:23 +10:00
Makefile [PATCH] powerpc32: Set cpu explicitly in kernel compiles 2006-04-13 09:38:33 -07:00