HardenedBSD/sys/x86
Ed Maste cbf845052f msi: report error for attempt to use APIC ID > 255
The MSI/MSI-X address includes 8 bits to encode the Destination ID.
Previously IDs over 255 overlapped with the fixed portion of the
address, resulting in an invalid value (and a nonfunctional interrupt).

Instead, print an error message and return EINVAL.  The interrupt will
still not work, but the user will have a clue as to why.

PR:		273022
Reviewed by:	jhb
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D41395
2023-08-09 13:52:43 -04:00
..
acpica
bios
conf
cpufreq
include x86: remove intr_bind 2023-08-03 17:01:56 -04:00
iommu
isa
linux
pci
x86 msi: report error for attempt to use APIC ID > 255 2023-08-09 13:52:43 -04:00
xen