[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen stable-4.4] x86/apic: Disable the LAPIC later in smp_send_stop()
commit ab1cc71fa279ef157f08aaea2ac993886accd881 Author: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> AuthorDate: Thu Jun 18 09:33:51 2015 +0200 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Thu Jun 18 09:33:51 2015 +0200 x86/apic: Disable the LAPIC later in smp_send_stop() __stop_this_cpu() may reset the LAPIC mode back from x2apic to xapic, but will leave x2apic_enabled alone. This may cause disconnect_bsp_APIC() in disable_IO_APIC() to suffer a #GP fault. Disabling the LAPIC can safely be deferred to being the last action. Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> master commit: d639bdd9bbed8d003ad9be0b13535aca636b9d18 master date: 2015-06-03 09:25:43 +0200 --- xen/arch/x86/smp.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/xen/arch/x86/smp.c b/xen/arch/x86/smp.c index 0433f30..e828aca 100644 --- a/xen/arch/x86/smp.c +++ b/xen/arch/x86/smp.c @@ -321,9 +321,9 @@ void smp_send_stop(void) mdelay(1); local_irq_disable(); - __stop_this_cpu(); disable_IO_APIC(); hpet_disable(); + __stop_this_cpu(); local_irq_enable(); } -- generated by git-patchbot for /home/xen/git/xen.git#stable-4.4 _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |