1
linux/arch/powerpc/platforms
Brian King 8be8cf5b47 powerpc: Add kdump support to Collaborative Memory Manager
When running Active Memory Sharing, the Collaborative Memory Manager (CMM)
may mark some pages as "loaned" with the hypervisor. Periodically, the
CMM will query the hypervisor for a loan request, which is a single signed
value. When kexec'ing into a kdump kernel, the CMM driver in the kdump
kernel is not aware of the pages the previous kernel had marked as "loaned",
so the hypervisor and the CMM driver are out of sync. Fix the CMM driver
to handle this scenario by ignoring requests to decrease the number of loaned
pages if we don't think we have any pages loaned. Pages that are marked as
"loaned" which are not in the balloon will automatically get switched to "active"
the next time we touch the page. This also fixes the case where totalram_pages
is smaller than min_mem_mb, which can occur during kdump.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2009-10-30 17:20:56 +11:00
..
8xx powerpc/cpm: Remove some cruft code and defines 2009-05-19 00:47:19 -05:00
40x powerpc/40x: Add support for the ESTeem 195E (PPC405EP) SBC 2009-08-31 09:15:51 -04:00
44x powerpc/44x: Add Eiger AMCC (AppliedMicro) PPC460SX evaluation board support. 2009-08-31 08:24:15 -04:00
52xx powerpc: Remove get_irq_desc() 2009-10-30 17:20:55 +11:00
82xx powerpc: Remove get_irq_desc() 2009-10-30 17:20:55 +11:00
83xx powerpc/83xx: Add eSDHC support for MPC837xE-RDB/WLAN boards 2009-08-20 10:27:51 +10:00
85xx powerpc: Remove get_irq_desc() 2009-10-30 17:20:55 +11:00
86xx powerpc: Remove get_irq_desc() 2009-10-30 17:20:55 +11:00
512x powerpc: Remove get_irq_desc() 2009-10-30 17:20:55 +11:00
amigaone powerpc/amigaone: Convert amigaone_init() to a machine_device_initcall() 2009-08-20 10:12:21 +10:00
cell powerpc: Remove get_irq_desc() 2009-10-30 17:20:55 +11:00
chrp powerpc/chrp: Use the same RTAS daemon as pSeries 2009-10-30 17:20:53 +11:00
embedded6xx
iseries powerpc: Remove get_irq_desc() 2009-10-30 17:20:55 +11:00
maple edac: cpc925 MC platform device setup 2009-06-18 13:03:57 -07:00
pasemi powerpc: Change archdata dma_data to a union 2009-09-24 15:31:43 +10:00
powermac powerpc: Remove get_irq_desc() 2009-10-30 17:20:55 +11:00
prep
ps3 powerpc/ps3: Use pr_devel() in ps3/mm.c 2009-10-30 17:20:52 +11:00
pseries powerpc: Add kdump support to Collaborative Memory Manager 2009-10-30 17:20:56 +11:00
fsl_uli1575.c powerpc/85xx: Add P2020DS board support 2009-05-19 00:50:43 -05:00
Kconfig powerpc/chrp: Use the same RTAS daemon as pSeries 2009-10-30 17:20:53 +11:00
Kconfig.cputype perf: Do the big rename: Performance Counters -> Performance Events 2009-09-21 14:28:04 +02:00
Makefile powerpc: Add configurable -Werror for arch/powerpc 2009-06-16 14:15:45 +10:00