]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Do not spuriously re-enable disabled io_apic pin on EOI for some configurations.
authorkib <kib@FreeBSD.org>
Wed, 18 Mar 2020 21:34:52 +0000 (21:34 +0000)
committerkib <kib@FreeBSD.org>
Wed, 18 Mar 2020 21:34:52 +0000 (21:34 +0000)
commit566a1702629bd1a69292f3938f4303d24e6aab7c
treee148b68aae6bb57eb47ba5cf3502c1b9463df329
parenta07c223d6ddbb71a507d5b49bc7916827b69b5fb
Do not spuriously re-enable disabled io_apic pin on EOI for some configurations.

If EOI suppression is supported but reported ioapic version is so old
that it does not has EOI register (weird virtualization setup), fix
Intel trick of eoi-ing by flipping pin type (edge/level) to account
for the disabled pin.

Reported by: Juniper
Reviewed by: jhb
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Differential revision: https://reviews.freebsd.org/D23965
sys/x86/x86/io_apic.c