]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Initialize x2APIC mode on the resume path before accessing LAPIC.
authorkib <kib@FreeBSD.org>
Mon, 16 Feb 2015 21:56:19 +0000 (21:56 +0000)
committerkib <kib@FreeBSD.org>
Mon, 16 Feb 2015 21:56:19 +0000 (21:56 +0000)
commit7a89c3df60c118e7db4f53fb2e76d3775e0d3097
tree163f584d88408adb3a7b1e627db29a6e013208c6
parent16f1b2f354a4bd6baf5198f2e5665062dd993c1f
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