android_kernel_xiaomi_sm8350/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
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
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
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
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