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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8763zhrqwt.fsf_-_@duaron.myhome.or.jp>
Date:	Mon, 03 Dec 2007 01:40:34 +0900
From:	OGAWA Hirofumi <hirofumi@...l.parknet.co.jp>
To:	Ingo Molnar <mingo@...e.hu>
Cc:	Linus Torvalds <torvalds@...ux-foundation.org>,
	linux-kernel@...r.kernel.org, Thomas Gleixner <tglx@...utronix.de>,
	"H. Peter Anvin" <hpa@...or.com>
Subject: [PATCH] x86: disable hpet legacy replacement for kdump

OGAWA Hirofumi <hirofumi@...l.parknet.co.jp> 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 <hirofumi@...l.parknet.co.jp>


    [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 <hirofumi@...l.parknet.co.jp>
---

 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 <asm/nmi.h>
 #include <asm/hw_irq.h>
 #include <asm/apic.h>
+#include <asm/hpet.h>
 #include <linux/kdebug.h>
 #include <asm/smp.h>
 
@@ -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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ