1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/sys/x86
John Baldwin e1070bf509 Drop the icu_lock spinlock while pausing briefly after masking the
interrupt in the I/O APIC before moving it to a different CPU.  If the
interrupt had been triggered by the I/O APIC after locking icu_lock but
before we masked the pin in the I/O APIC, then this could cause the
interrupt to be pending on the "old" CPU and it would finally trigger
after we had moved the interrupt to the new CPU.  This could cause us to
panic as there was no interrupt source associated with the old IDT vector
on the old CPU.  Dropping the lock after the interrupt is masked but
before it is moved allows the interrupt to fire and be handled in this
case before it is moved.

Tested by:	Daniel Braniss  danny of cs huji ac il
MFC after:	1 week
2010-12-23 15:17:28 +00:00
..
acpica Make APM emulation look more closer to its origin. Use device_get_softc(9) 2010-11-10 18:50:12 +00:00
bios
cpufreq hwpstate: use CPU_FOREACH when binding to all available processors 2010-11-16 12:43:45 +00:00
include Merge amd64 and i386 bus.h and move the resulting header to x86. Replace 2010-12-20 16:39:43 +00:00
isa Small style fixes: 2010-12-16 17:05:28 +00:00
pci Each processor socket in a QPI system has a special PCI bus for the 2010-09-07 13:50:02 +00:00
x86 Drop the icu_lock spinlock while pausing briefly after masking the 2010-12-23 15:17:28 +00:00