Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756506AbXLBQkw (ORCPT ); Sun, 2 Dec 2007 11:40:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754107AbXLBQkp (ORCPT ); Sun, 2 Dec 2007 11:40:45 -0500 Received: from mail.parknet.ad.jp ([210.171.162.6]:57664 "EHLO mail.officemail.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752710AbXLBQko (ORCPT ); Sun, 2 Dec 2007 11:40:44 -0500 From: OGAWA Hirofumi To: Ingo Molnar Cc: Linus Torvalds , linux-kernel@vger.kernel.org, Thomas Gleixner , "H. Peter Anvin" Subject: [PATCH] x86: disable hpet legacy replacement for kdump References: <20071126193353.GA1676@elte.hu> <87sl2s4ran.fsf@duaron.myhome.or.jp> Date: Mon, 03 Dec 2007 01:40:34 +0900 In-Reply-To: <87sl2s4ran.fsf@duaron.myhome.or.jp> (OGAWA Hirofumi's message of "Tue, 27 Nov 2007 06:42:40 +0900") Message-ID: <8763zhrqwt.fsf_-_@duaron.myhome.or.jp> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Anti-Virus: Kaspersky Anti-Virus for MailServers 5.5.10/RELEASE, bases: 24052007 #308098, status: clean Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1454 Lines: 46 OGAWA Hirofumi writes: > This seems to introduced after 2.6.23, so if possible, I'd like to fix > before 2.6.24. What do you think the following? The following patch fixes the kdump path. Please apply. -- OGAWA Hirofumi [PATCH] x86: disable hpet legacy replacement for kexec Like the above patch, we should also add hpet_disable() for kdump. Signed-off-by: OGAWA Hirofumi --- arch/x86/kernel/crash.c | 4 ++++ 1 file changed, 4 insertions(+) diff -puN arch/x86/kernel/crash.c~kdump-need-to-disable-hpet arch/x86/kernel/crash.c --- linux-2.6/arch/x86/kernel/crash.c~kdump-need-to-disable-hpet 2007-11-29 12:21:55.000000000 +0900 +++ linux-2.6-hirofumi/arch/x86/kernel/crash.c 2007-11-29 12:34:21.000000000 +0900 @@ -22,6 +22,7 @@ #include #include #include +#include #include #include @@ -140,5 +141,8 @@ void machine_crash_shutdown(struct pt_re #if defined(CONFIG_X86_IO_APIC) disable_IO_APIC(); #endif +#ifdef CONFIG_HPET_TIMER + hpet_disable(); +#endif crash_save_cpu(regs, safe_smp_processor_id()); } _ -- 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/