ff08349df5
Programming the low bits has a side-effect if unmasking the pin if it is not disabled. So if an interrupt was pending then it would be delivered with the correct new vector but to the incorrect old LAPIC. This fix could be made clearer by preserving the mask bit while programming the low bits and then explicitly resetting the mask bit after all the programming is done. Probability to trip over the fixed bug could be increased by bootverbose because printing of the interrupt information in ioapic_assign_cpu lengthened the time window during which an interrupt could arrive while a pin is masked. Reported by: Andreas Longwitz <longwitz@incore.de> Tested by: Andreas Longwitz <longwitz@incore.de> MFC after: 12 days |
||
---|---|---|
.. | ||
busdma_machdep.c | ||
dump_machdep.c | ||
intr_machdep.c | ||
io_apic.c | ||
legacy.c | ||
local_apic.c | ||
mca.c | ||
mptable_pci.c | ||
mptable.c | ||
msi.c | ||
nexus.c | ||
tsc.c |