]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Handle X2APIC entries in the MADT for APICs with an ID < 255. At least one
authorjhb <jhb@FreeBSD.org>
Tue, 9 Jun 2015 10:49:40 +0000 (10:49 +0000)
committerjhb <jhb@FreeBSD.org>
Tue, 9 Jun 2015 10:49:40 +0000 (10:49 +0000)
commit8d7fa71fca50afb21d91c5dff2c41a862513efe2
tree56c3f1f9d258b09b5451779b2f53b84e55a4fbe8
parent3259f3f35f305b53c284808724fe23d22697f8cb
Handle X2APIC entries in the MADT for APICs with an ID < 255.  At least one
BIOS has been seen to include such entries even though the relevant specs
require that X2APIC entries only be used for CPUs with an APIC ID >= 255.

This was tested on a system with "plain" local APIC entries in the MADT
to ensure no regressions, but it has not yet been tested on a system with
X2APIC entries in the MADT.  Currently such systems do not boot at all,
and with this change they might now boot correctly.

Differential Revision: https://reviews.freebsd.org/D2521
Reviewed by: kib
MFC after: 2 weeks
sys/x86/acpica/madt.c