freebsd-skq/sys/x86
John Baldwin 4fae28a084 Reprogram I/O APIC interrupt pins when registering an I/O APIC.
All I/O APIC pins are masked when an I/O APIC is first probed.  The
APIC enumerator (MP Table or MADT) then parses its associated tables to
configure individual pins to set custom delivery modes or alternate
routing (e.g. routing IRQ 0 to intpin 2).  Pins for regular interrupt
pins are left masked until the first interrupt is assigned.  However,
pins with unusual settings (e.g. NMI or SMI) are never assigned an
interrupt and thus never re-programmed.  The I/O APIC code used to
reprogram all interrupt pins during registration but this was lost in
r151979.

In theory, this is mostly a no-op as the ACPI APIC table does not
include a way to enumerate NMI or SMI pins for the I/O APIC, so only
systems using an MP Table would be affected.

Reported by:	avg
MFC after:	1 month
2016-10-14 21:51:50 +00:00
..
acpica Merge ACPICA 20160930. 2016-10-04 20:27:15 +00:00
bios
cpufreq sys: replace comma with semicolon when pertinent. 2016-08-09 19:42:20 +00:00
include Re-apply r306516 (by cem): 2016-10-04 17:01:24 +00:00
iommu Add additional constants. 2016-08-09 19:02:14 +00:00
isa Add an EARLY_AP_STARTUP option to start APs earlier during boot. 2016-05-14 18:22:52 +00:00
pci
x86 Reprogram I/O APIC interrupt pins when registering an I/O APIC. 2016-10-14 21:51:50 +00:00
xen Merge ACPICA 20160930. 2016-10-04 20:27:15 +00:00