Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757762Ab3CGOGv (ORCPT ); Thu, 7 Mar 2013 09:06:51 -0500 Received: from g6t0184.atlanta.hp.com ([15.193.32.61]:4937 "EHLO g6t0184.atlanta.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751736Ab3CGOGt (ORCPT ); Thu, 7 Mar 2013 09:06:49 -0500 Subject: [RFC PATCH 5/5] crash dump bitmap: workaround for kernel 3.9-rc1 kdump issue To: linux-kernel@vger.kernel.org From: Jingbai Ma Date: Thu, 07 Mar 2013 22:06:45 +0800 Message-ID: <20130307140643.28557.26849.stgit@k.asiapacific.hpqcorp.net> In-Reply-To: <20130307140546.28557.92853.stgit@k.asiapacific.hpqcorp.net> References: <20130307140546.28557.92853.stgit@k.asiapacific.hpqcorp.net> User-Agent: StGit/0.16 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1100 Lines: 30 Linux kernel 3.9-rc1 allows crashkernel above 4GB, but current kexec-tools doesn't support it yet. This patch is only a workaround to make kdump work again. This patch should be removed after kexec-tools 2.0.4 release. Signed-off-by: Jingbai Ma --- arch/x86/kernel/setup.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index 165c831..15321d6 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c @@ -506,7 +506,8 @@ static void __init memblock_x86_reserve_range_setup_data(void) #ifdef CONFIG_X86_32 # define CRASH_KERNEL_ADDR_MAX (512 << 20) #else -# define CRASH_KERNEL_ADDR_MAX MAXMEM +/* # define CRASH_KERNEL_ADDR_MAX MAXMEM */ +# define CRASH_KERNEL_ADDR_MAX (896 << 20) #endif static void __init reserve_crashkernel_low(void) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/