]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Initialize x2APIC mode on the resume path before accessing LAPIC.
authorKonstantin Belousov <kib@FreeBSD.org>
Mon, 16 Feb 2015 21:56:19 +0000 (21:56 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Mon, 16 Feb 2015 21:56:19 +0000 (21:56 +0000)
commit5f674c4cbde2d44ba622005cd438ff7ec284fc41
tree163f584d88408adb3a7b1e627db29a6e013208c6
parent8dc98c2a369bf0539bf05dfde9de732848b5e92b
Initialize x2APIC mode on the resume path before accessing LAPIC.

Remove unneeded disable of LAPIC in the native_lapic_xapic_mode().  We
attempt to send wakeup IPI on the resume path right after BSP wakeup,
so disabling is wrong.

Reported and tested by: glebius, "Ranjan1018 ." <214748mv@gmail.com>
Sponsored by: The FreeBSD Foundation
MFC after: 2 months
sys/amd64/amd64/mp_machdep.c
sys/i386/i386/mp_machdep.c
sys/x86/acpica/acpi_wakeup.c
sys/x86/x86/local_apic.c