diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2012-10-11 12:14:58 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2012-12-13 10:46:47 -0500 |
commit | 7aa1c8f47e7e792d11f898cbdddaf6fa21ff08cc (patch) | |
tree | e34986c087ab7a9f91c8303eda7f13736e315905 /arch/mips/Kconfig | |
parent | 98cdee0eae861e8d25c147a72c5f309e883f4ed8 (diff) |
MIPS: kdump: Add support
[ralf@linux-mips.org: Original patch by Maxim Uvarov <muvarov@gmail.com>
with plenty of further shining, polishing, debugging and testing by me.]
Signed-off-by: Maxim Uvarov <muvarov@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: kexec@lists.infradead.org
Cc: horms@verge.net.au
Patchwork: https://patchwork.linux-mips.org/patch/1025/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r-- | arch/mips/Kconfig | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 462f9c4fe2e5..c97fc030fdac 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -2379,6 +2379,29 @@ config KEXEC | |||
2379 | support. As of this writing the exact hardware interface is | 2379 | support. As of this writing the exact hardware interface is |
2380 | strongly in flux, so no good recommendation can be made. | 2380 | strongly in flux, so no good recommendation can be made. |
2381 | 2381 | ||
2382 | config CRASH_DUMP | ||
2383 | bool "Kernel crash dumps" | ||
2384 | help | ||
2385 | Generate crash dump after being started by kexec. | ||
2386 | This should be normally only set in special crash dump kernels | ||
2387 | which are loaded in the main kernel with kexec-tools into | ||
2388 | a specially reserved region and then later executed after | ||
2389 | a crash by kdump/kexec. The crash dump kernel must be compiled | ||
2390 | to a memory address not used by the main kernel or firmware using | ||
2391 | PHYSICAL_START. | ||
2392 | |||
2393 | config PHYSICAL_START | ||
2394 | hex "Physical address where the kernel is loaded" | ||
2395 | default "0xffffffff84000000" if 64BIT | ||
2396 | default "0x84000000" if 32BIT | ||
2397 | depends on CRASH_DUMP | ||
2398 | help | ||
2399 | This gives the CKSEG0 or KSEG0 address where the kernel is loaded. | ||
2400 | If you plan to use kernel for capturing the crash dump change | ||
2401 | this value to start of the reserved region (the "X" value as | ||
2402 | specified in the "crashkernel=YM@XM" command line boot parameter | ||
2403 | passed to the panic-ed kernel). | ||
2404 | |||
2382 | config SECCOMP | 2405 | config SECCOMP |
2383 | bool "Enable seccomp to safely compute untrusted bytecode" | 2406 | bool "Enable seccomp to safely compute untrusted bytecode" |
2384 | depends on PROC_FS | 2407 | depends on PROC_FS |