Displaying 2 results from an estimated 2 matches for "hpet_disable".
2012 Mar 27
0
[PATCH 1/4] x86/hpet: disable before reboot or kexec
...cases where the secondary kernel might not come up because timer
interrupts don''t work.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
--- a/xen/arch/x86/crash.c
+++ b/xen/arch/x86/crash.c
@@ -96,6 +96,7 @@ static void nmi_shootdown_cpus(void)
#endif
disable_IO_APIC();
+ hpet_disable();
}
void machine_crash_shutdown(void)
--- a/xen/arch/x86/hpet.c
+++ b/xen/arch/x86/hpet.c
@@ -566,7 +566,7 @@ void hpet_broadcast_resume(void)
if ( !hpet_events )
return;
- hpet_resume();
+ hpet_resume(NULL);
cfg = hpet_read32(HPET_CFG);
@@ -704,10 +704,13 @@ int...
2012 Mar 27
0
[PATCH 2/4] x86/hpet: replace disabling of legacy broadcast
... by the call to hpet_disable() added in the immediately preceding
patch.
In order to retain the behavior intended by c/s 23776:0ddb4481f883,
implement one of the alternative options pointed out there: remove CPUs
from the online map in __stop_this_cpu() (and hence doing so in
stop_this_cpu() is no longer needed).
Signed-off-...