]> xenbits.xensource.com Git - xen.git/commit
x86/apic: Disable the LAPIC later in smp_send_stop()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 3 Jun 2015 07:25:43 +0000 (09:25 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 3 Jun 2015 07:25:43 +0000 (09:25 +0200)
commitd639bdd9bbed8d003ad9be0b13535aca636b9d18
treec99a354d699850e02ae9c52123192d70fa4bd9d6
parent1dca74c331194fff91d899ea857e348626d853de
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@citrix.com>
xen/arch/x86/smp.c