android_kernel_xiaomi_sm8350/arch/powerpc/platforms/pseries
Manish Ahuja 37ddd5d053 [POWERPC] pseries/phyp dump: Reserve a variable amount of space at boot
This changes the way we calculate how much space to reserve for the
pHyp dump.  Currently we reserve 256MB only.  With this change, the
code first checks to see if an amount has been specified on the boot
command line with the "phyp_dump_reserve_size" option, and if so, uses
that much.

Otherwise it computes 5% of total ram and rounds it down to a multiple
of 256MB, and uses the larger of that or 256MB.

This is for large systems with a lot of memory (10GB or more).  The
aim is to have more space available for the kernel on reboot on
machines with more resources.  Although the dump will be collected
pretty fast and the memory released really early on allowing the
machine to have the full memory available, this alleviates any issues
that can be caused by having way too little memory on very very large
systems during those few minutes.

Signed-off-by: Manish Ahuja <mahuja@us.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-04-17 07:46:14 +10:00
..
eeh_cache.c
eeh_driver.c
eeh_event.c
eeh_sysfs.c
eeh.c [POWERPC] Convert pci and eeh code to of_device_is_available 2008-04-07 13:49:25 +10:00
firmware.c
hotplug-cpu.c [POWERPC] Split xics_teardown_cpu() 2008-02-07 11:40:19 +11:00
hvCall_inst.c
hvCall.S
hvconsole.c
hvcserver.c
iommu.c
Kconfig
kexec.c [POWERPC] Split xics_teardown_cpu() 2008-02-07 11:40:19 +11:00
lpar.c [POWERPC] Add code for removing HPTEs for parts of the linear mapping 2008-02-26 22:17:03 +11:00
Makefile [POWERPC] pseries: phyp dump: Reserve and release memory 2008-03-26 08:44:06 +11:00
msi.c
nvram.c
pci_dlpar.c [POWERPC] Replace remaining __FUNCTION__ occurrences 2008-04-01 20:43:09 +11:00
pci.c
phyp_dump.c [POWERPC] pseries/phyp dump: Reserve a variable amount of space at boot 2008-04-17 07:46:14 +10:00
plpar_wrappers.h
power.c [POWERPC] Fix warning in pseries/power.c 2008-02-20 13:33:37 +11:00
pseries.h
ras.c
reconfig.c [POWERPC] Replace remaining __FUNCTION__ occurrences 2008-04-01 20:43:09 +11:00
rtasd.c cpu-hotplug: replace lock_cpu_hotplug() with get_online_cpus() 2008-01-25 21:08:02 +01:00
scanlog.c [POWERPC] scanlog_init cleanup and minor fixes 2008-03-26 08:44:07 +11:00
setup.c [POWERPC] Update wait_state_cycles in the VPA 2008-03-26 08:44:05 +11:00
smp.c
xics.c powerpc/pseries/xcis: ansify 2008-03-30 14:20:24 -07:00
xics.h [POWERPC] Split xics_teardown_cpu() 2008-02-07 11:40:19 +11:00