]> git.baikalelectronics.ru Git - kernel.git/commit
x86: disable hpet on shutdown
authorOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Mon, 3 Dec 2007 16:17:10 +0000 (17:17 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 3 Dec 2007 16:17:10 +0000 (17:17 +0100)
commitafcc6c6198e1662ab030b7c89bfc1f18a73cf0f8
tree310d217b4b2e582d84798e65dac309f1d173f1ad
parent01e16587aa26e05b6aec8d8ad143fde2777060d6
x86: disable hpet on shutdown

If HPET was enabled by pci quirks, we use i8253 as initial clockevent
because pci quirks doesn't run until pci is initialized.

The above means the kernel (or something) is assuming HPET legacy
replacement is disabled and can use i8253 at boot.

If we used kexec, it isn't true. So, this patch disables HPET legacy
replacement for kexec in machine_shutdown().

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Acked-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/hpet.c
arch/x86/kernel/reboot_32.c
arch/x86/kernel/reboot_64.c
include/asm-x86/hpet.h