linux/arch/powerpc/kernel
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
..
vdso32 [PATCH] Mark unwind info for signal trampolines in vDSOs 2006-03-31 12:18:52 -08:00
vdso64 [PATCH] Mark unwind info for signal trampolines in vDSOs 2006-03-31 12:18:52 -08:00
align.c
asm-offsets.c powerpc: Use correct sequence for putting CPU into nap mode 2006-04-18 21:49:11 +10:00
binfmt_elf32.c
btext.c
cpu_setup_6xx.S powerpc: Move cpu_setup_6xx.S and temp.c over to arch/powerpc 2006-03-27 19:15:26 +11:00
cpu_setup_power4.S [PATCH] powerpc: remove do-nothing cpu setup routines 2006-05-19 14:24:18 +10:00
cputable.c [PATCH] powerpc: remove do-nothing cpu setup routines 2006-05-19 14:24:18 +10:00
crash_dump.c [PATCH] Don't pass boot parameters to argv_init[] 2006-03-31 12:18:53 -08:00
crash.c [PATCH] powerpc: Disable and EOI interrupts in machine_crash_shutdown() 2006-04-22 18:44:25 +10:00
dma_64.c
entry_32.S powerpc: Use correct sequence for putting CPU into nap mode 2006-04-18 21:49:11 +10:00
entry_64.S [PATCH] powerpc: Workaround for pSeries RTAS bug 2006-03-28 16:45:33 +11:00
firmware.c [PATCH] powerpc: Rename and export ppc64_firmware_features 2006-03-28 16:45:20 +11:00
fpu.S
head_4xx.S
head_8xx.S
head_32.S
head_44x.S
head_64.S powerpc: Use correct sequence for putting CPU into nap mode 2006-04-18 21:49:11 +10:00
head_booke.h
head_fsl_booke.S
ibmebus.c
idle_6xx.S powerpc: Use correct sequence for putting CPU into nap mode 2006-04-18 21:49:11 +10:00
idle_power4.S powerpc: Use correct sequence for putting CPU into nap mode 2006-04-18 21:49:11 +10:00
idle.c [PATCH] powerpc: Ensure runlatch is off in the idle loop 2006-04-13 09:27:22 -07:00
init_task.c
iomap.c [PATCH] powerpc: remove io_page_mask 2006-04-22 18:45:05 +10:00
iommu.c [PATCH] powerpc: IOMMU support for honoring dma_mask 2006-04-21 22:28:55 +10:00
irq.c powerpc: iSeries has only 256 IRQs 2006-04-04 14:49:48 +10:00
kprobes.c [PATCH] powerpc/kprobes: fix singlestep out-of-line 2006-05-03 23:06:41 +10:00
l2cr_6xx.S powerpc: Move l2cr.S over to arch/powerpc 2006-03-27 15:22:28 +11:00
legacy_serial.c [PATCH] powerpc: legacy_serial loop cleanup 2006-03-27 14:48:54 +11:00
lparcfg.c [PATCH] powerpc/pseries: misc lparcfg fixes 2006-04-01 22:37:07 +11:00
lparmap.c
machine_kexec_32.c
machine_kexec_64.c [PATCH] powerpc: Unify mem= handling 2006-05-19 15:02:15 +10:00
machine_kexec.c
Makefile powerpc: Use correct sequence for putting CPU into nap mode 2006-04-18 21:49:11 +10:00
misc_32.S [PATCH] powerpc: remove do-nothing cpu setup routines 2006-05-19 14:24:18 +10:00
misc_64.S [PATCH] powerpc: remove do-nothing cpu setup routines 2006-05-19 14:24:18 +10:00
module_32.c powerpc: Move module.c over to arch/powerpc 2006-03-27 19:28:58 +11:00
module_64.c [PATCH] powerpc64: Fix loading of modules without a .toc section 2006-04-28 21:04:49 +10:00
nvram_64.c [PATCH] nvram_print_partitions cosmetic fixup 2006-04-29 18:08:05 +10:00
of_device.c [PATCH] powerpc: tidy-up of_register_driver()/driver_register() return values 2006-03-23 14:40:54 +11:00
paca.c [PATCH] powerpc: Allow non zero boot cpuids 2006-03-27 14:48:48 +11:00
pci_32.c [PATCH] powerpc: Kill _machine and hard-coded platform numbers 2006-03-28 23:15:54 +11:00
pci_64.c [PATCH] powerpc: Quiet PCI init printouts 2006-04-22 18:45:14 +10:00
pci_direct_iommu.c
pci_dn.c
pci_iommu.c [PATCH] powerpc iommu: minor cleanup 2006-04-29 18:08:01 +10:00
perfmon_fsl_booke.c powerpc: Move perfmon_fsl_booke.c over to arch/powerpc 2006-03-27 20:09:04 +11:00
pmc.c
ppc32.h
ppc_ksyms.c powerpc/ppc: export strncasecmp 2006-04-02 16:01:58 -05:00
proc_ppc64.c [PATCH] powerpc: Create /proc/rtas, /proc/ppc64/rtas if RTAS exists. 2006-05-19 14:35:32 +10:00
process.c [PATCH] unexport get_wchan 2006-03-31 12:19:01 -08:00
prom_init.c [PATCH] powerpc: Unify mem= handling 2006-05-19 15:02:15 +10:00
prom_parse.c
prom.c [PATCH] powerpc: Unify mem= handling 2006-05-19 15:02:15 +10:00
ptrace32.c
ptrace-common.h
ptrace.c [PATCH] drop task argument of audit_syscall_{entry,exit} 2006-05-01 06:06:18 -04:00
rtas_flash.c
rtas_pci.c Merge ../linux-2.6 2006-03-17 12:01:19 +11:00
rtas-proc.c [PATCH] powerpc: Avoid __initcall warnings 2006-04-13 09:27:26 -07:00
rtas-rtc.c [PATCH] powerpc: RTC memory corruption 2006-03-16 16:55:03 +11:00
rtas.c [PATCH] powerpc/pseries: Change H_StudlyCaps to H_SHOUTING_CAPS 2006-04-01 22:36:57 +11:00
semaphore.c
setup_32.c [PATCH] powerpc: Parse early parameters earlier 2006-05-19 15:02:13 +10:00
setup_64.c [PATCH] powerpc: Unify mem= handling 2006-05-19 15:02:15 +10:00
setup-common.c [PATCH] powerpc: Make early xmon logic immune to location of early parsing 2006-05-19 15:02:12 +10:00
setup.h [PATCH] powerpc: Make early xmon logic immune to location of early parsing 2006-05-19 15:02:12 +10:00
signal_32.c [PATCH] powerpc: declare arch syscalls in <asm/syscalls.h> 2006-03-27 14:48:22 +11:00
signal_64.c [PATCH] powerpc: fix incorrect SA_ONSTACK behaviour for 64-bit processes 2006-03-28 16:45:24 +11:00
smp-tbsync.c
smp.c [PATCH] for_each_possible_cpu: powerpc 2006-03-29 13:44:15 +11:00
swsusp_32.S powerpc: Move swsusp.S over to arch/powerpc 2006-03-27 19:21:46 +11:00
sys_ppc32.c [PATCH] consolidate sys32/compat_adjtimex 2006-03-26 08:56:57 -08:00
syscalls.c [PATCH] powerpc: declare arch syscalls in <asm/syscalls.h> 2006-03-27 14:48:22 +11:00
sysfs.c [PATCH] powerpc: Allow devices to register with numa topology 2006-05-01 18:17:46 -07:00
systbl.S [PATCH] powerpc: Wire up *at syscalls 2006-04-28 21:04:59 +10:00
tau_6xx.c powerpc: Move cpu_setup_6xx.S and temp.c over to arch/powerpc 2006-03-27 19:15:26 +11:00
time.c [PATCH] powerpc: Remove stale iseries global 2006-04-22 18:46:11 +10:00
traps.c powerpc: merge machine_check_exception between ppc32 & ppc64 2006-03-30 21:11:15 -06:00
udbg_16550.c
udbg.c
vdso.c [PATCH] powerpc: Kill _machine and hard-coded platform numbers 2006-03-28 23:15:54 +11:00
vecemu.c
vector.S
vio.c [PATCH] powerpc: merge the rest of the vio code 2006-04-29 18:02:02 +10:00
vmlinux.lds.S [PATCH] powerpc: Kill _machine and hard-coded platform numbers 2006-03-28 23:15:54 +11:00