lkml.org 
[lkml]   [2009]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Patch 5/7] powerpc: add CONFIG_KEXEC_AUTO_RESERVE
On Wed, Aug 05, 2009 at 07:19:51AM -0400, Amerigo Wang wrote:
>
> Introduce a new config option KEXEC_AUTO_RESERVE for powerpc.
>
> Signed-off-by: WANG Cong <amwang@redhat.com>
>
> ---
> Index: linux-2.6/arch/powerpc/Kconfig
> ===================================================================
> --- linux-2.6.orig/arch/powerpc/Kconfig
> +++ linux-2.6/arch/powerpc/Kconfig
> @@ -346,6 +346,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 PPC, 256M is reserved and only when you have memory > 4G.
> +
> config CRASH_DUMP
> bool "Build a kdump crash kernel"
> depends on PPC64 || 6xx

Acked-by: Neil Horman <nhorman@tuxdriver.com>


\
 
 \ /
  Last update: 2009-08-05 15:53    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site