From mboxrd@z Thu Jan 1 00:00:00 1970 From: Amerigo Wang Date: Thu, 06 Aug 2009 06:19:39 +0000 Subject: [Patch 3/7] ia64: add CONFIG_KEXEC_AUTO_RESERVE Message-Id: <20090806062200.5578.51408.sendpatchset@localhost.localdomain> List-Id: References: <20090806062125.5578.72123.sendpatchset@localhost.localdomain> In-Reply-To: <20090806062125.5578.72123.sendpatchset@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-kernel@vger.kernel.org Cc: tony.luck@intel.com, linux-ia64@vger.kernel.org, Neil Horman , "Eric W. Biederman" , Andi Kleen , Amerigo Wang , akpm@linux-foundation.org, Fenghua Yu , Ingo Molnar , Anton Vorontsov Introduce a new config option KEXEC_AUTO_RESERVE for ia64. Signed-off-by: WANG Cong Acked-by: Neil Horman --- Index: linux-2.6/arch/ia64/Kconfig =================================--- linux-2.6.orig/arch/ia64/Kconfig +++ linux-2.6/arch/ia64/Kconfig @@ -582,6 +582,16 @@ config KEXEC support. As of this writing the exact hardware interface is strongly in flux, so no good recommendation can be made. +config KEXEC_AUTO_RESERVE + bool "automatically reserve memory for kexec kernel" + depends on KEXEC + default y + ---help--- + Automatically reserve memory for a kexec kernel, so that you don't + need to specify numbers for the "crashkernel=X@Y" boot option, + instead you can use "crashkernel=auto". + On IA64, 256M is reserved and only when you have memory > 4G. + config CRASH_DUMP bool "kernel crash dumps" depends on IA64_MCA_RECOVERY && !IA64_HP_SIM && (!SMP || HOTPLUG_CPU)