On MIPS, the space of a crash dump kernel needs to be manually specified
by both the debugee and the crash dump kernel PHYSICAL_START config
option, and the default PHYSICAL_START config will make the kernel
load quite higher, which isn't acceptable when using as a daily use
kernel (and will even confuse some naive Loongson-3 bootloaders).

So I don't think a MIPS kernel should be built as a crash dump kernel by
default, therefore this patch disables selecting CRASH_DUMP by default.

Signed-off-by: Icenowy Zheng <u...@icenowy.me>
---
 arch/mips/Kconfig | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index a33f05e1ad6d3..f80ea80d792f5 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -2873,9 +2873,6 @@ config ARCH_SUPPORTS_KEXEC
 config ARCH_SUPPORTS_CRASH_DUMP
        def_bool y
 
-config ARCH_DEFAULT_CRASH_DUMP
-       def_bool y
-
 config PHYSICAL_START
        hex "Physical address where the kernel is loaded"
        default "0xffffffff84000000"
-- 
2.47.1


Reply via email to