aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Kconfig
diff options
context:
space:
mode:
authorMahesh Salgaonkar <mahesh@linux.vnet.ibm.com>2012-02-15 20:14:22 -0500
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-02-22 18:50:01 -0500
commiteb39c8803d0e3d98fe74825f99287f63d55e6460 (patch)
treecf157bb2bb5271aaf1823e9ee3b91800c00c8b05 /arch/powerpc/Kconfig
parent8e0aa6d436f303a37df7ec68758883ade077d123 (diff)
fadump: Reserve the memory for firmware assisted dump.
Reserve the memory during early boot to preserve CPU state data, HPTE region and RMA (real mode area) region data in case of kernel crash. At the time of crash, powerpc firmware will store CPU state data, HPTE region data and move RMA region data to the reserved memory area. If the firmware-assisted dump fails to reserve the memory, then fallback to existing kexec-based kdump. Most of the code implementation to reserve memory has been adapted from phyp assisted dump implementation written by Linas Vepstas and Manish Ahuja This patch also introduces a config option CONFIG_FA_DUMP for firmware assisted dump feature on Powerpc (ppc64) architecture. Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r--arch/powerpc/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 1919634a9b32..afa4dabfad7c 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -386,6 +386,19 @@ config PHYP_DUMP
386 386
387 If unsure, say "N" 387 If unsure, say "N"
388 388
389config FA_DUMP
390 bool "Firmware-assisted dump"
391 depends on PPC64 && PPC_RTAS && CRASH_DUMP
392 help
393 A robust mechanism to get reliable kernel crash dump with
394 assistance from firmware. This approach does not use kexec,
395 instead firmware assists in booting the kdump kernel
396 while preserving memory contents. Firmware-assisted dump
397 is meant to be a kdump replacement offering robustness and
398 speed not possible without system firmware assistance.
399
400 If unsure, say "N"
401
389config IRQ_ALL_CPUS 402config IRQ_ALL_CPUS
390 bool "Distribute interrupts on all CPUs by default" 403 bool "Distribute interrupts on all CPUs by default"
391 depends on SMP && !MV64360 404 depends on SMP && !MV64360