lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20241216173514.495638-1-uwu@icenowy.me>
Date: Tue, 17 Dec 2024 01:35:14 +0800
From: Icenowy Zheng <uwu@...nowy.me>
To: Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
	Huacai Chen <chenhuacai@...nel.org>,
	Jiaxun Yang <jiaxun.yang@...goat.com>
Cc: linux-mips@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	Baoquan He <bhe@...hat.com>,
	Vivek Goyal <vgoyal@...hat.com>,
	Dave Young <dyoung@...hat.com>,
	kexec@...ts.infradead.org,
	Icenowy Zheng <uwu@...nowy.me>
Subject: [PATCH] mips: disable CRASH_DUMP by default

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 <uwu@...nowy.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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ