search for: hvm_cpu_down

Displaying 2 results from an estimated 2 matches for "hvm_cpu_down".

2007 Sep 08
4
[PATCH] Unified shutdown code
...* other OSs see a clean IRQ state. */ - smp_send_stop(); - disable_IO_APIC(); + printk("num_online_cpus=%d\n", num_online_cpus()); + if ( num_online_cpus() > 1 ) + smp_send_stop(); + + if ( type != TEARDOWN_TYPE_EARLY ) + disable_IO_APIC(); + hvm_cpu_down(); + + /* BSP needs to wait until all APs have gone through shutdown (disabled */ + /* VMX, etc.) before TXT teardown else will hang; but also a good */ + /* practice even for non-TXT shutdown */ + while ( num_online_cpus() > 1 && timeout > 0 ) { + /* TBD: determine...
2009 Sep 30
0
[PATCH] Disable HPET broadcast mode on kexec
...e <asm/hvm/support.h> +#include <asm/hpet.h> static atomic_t waiting_for_crash_ipi; static unsigned int crashing_cpu; @@ -83,6 +84,9 @@ nmi_shootdown_cpus(); + if ( hpet_broadcast_is_available() ) + hpet_disable_legacy_broadcast(); + disable_IO_APIC(); hvm_cpu_down(); diff -r 6472342c8ab0 -r 5215da46d60f xen/arch/x86/hpet.c --- a/xen/arch/x86/hpet.c Wed Sep 30 08:51:21 2009 +0100 +++ b/xen/arch/x86/hpet.c Wed Sep 30 08:20:55 2009 +0000 @@ -604,8 +604,9 @@ void hpet_disable_legacy_broadcast(void) { u32 cfg; + unsigned long flags; - spin_lock_irq...