1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-21 07:15:49 +00:00
freebsd/sys/dev
Andrew Turner a1330a71d2 acpi: Handle multiple interrupts
When multiple IRQs are specified in a single resource then we only
check the first. Change this to check all interrupts for the value
we expect to find.

Without this we may still enable the interrupt, but it can have the
wrong polatiry or trigger. This can cause an interrupt storm if the
interrupt was configured with a level trigger when it should have
been an edge.

PR:		282241
Reported by:	trasz
Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D47487
2024-11-19 17:14:42 +00:00
..
aac newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
aacraid newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
acpi_support acpi_sbl_wmi: add a driver to trigger SBL firmware updates 2024-10-15 16:29:11 +02:00
acpica acpi: Handle multiple interrupts 2024-11-19 17:14:42 +00:00
adb Use bus_generic_detach directly instead of a wrapper 2024-11-04 20:30:13 -05:00
adlink
ae ae(4): Stop checking for failures from taskqueue_create_fast(M_WAITOK) 2024-09-03 18:25:34 +08:00
age age(4): Stop checking for failures from taskqueue_create_fast(M_WAITOK) 2024-09-03 18:25:35 +08:00
agp agp: Set the driver-specific field correctly 2024-08-29 13:12:19 +00:00
ahci newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
aic7xxx
al_eth al_eth: improve TCP LRO 2024-09-05 17:35:40 +02:00
alc alc(4): Stop checking for failures from taskqueue_create_fast(M_WAITOK) 2024-09-03 18:25:35 +08:00
ale ale(4): Stop checking for failures from taskqueue_create_fast(M_WAITOK) 2024-09-03 18:25:35 +08:00
alpm newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
altera altera: Stop checking for failures from malloc(M_WAITOK) 2024-09-03 18:25:24 +08:00
amd_ecc_inject
amdgpio
amdpm newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
amdsbwd newbus: replace -1 in BUS_ADD_CHILD(...-1) with DEVICE_UNIT_ANY 2024-07-24 22:23:02 -06:00
amdsmb newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
amdsmn amdsmn: add support for AMD Family 19h Models 40h-4Fh 2024-10-13 13:20:01 +00:00
amdtemp amdtemp: add support for AMD Family 19h Models 40h-4Fh 2024-10-13 13:21:19 +00:00
arcmsr
asmc asmc: Add support for MacbookPro11,4 2024-08-26 14:27:58 +00:00
ata newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
ath net80211: add IEEE80211_IS_QOS_NULL() 2024-11-18 20:50:17 -08:00
atkbdc
atopcase
axgbe axgbe: Fix setting promisc mode 2024-10-12 21:56:56 +08:00
backlight
bce net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
beri bhyve: avoid TOCTOU on iov_len in virtio_vq_recordon() 2024-09-27 10:20:53 -04:00
bfe net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
bge bge(4): Stop checking for failures from taskqueue_create_fast(M_WAITOK) 2024-09-03 18:25:36 +08:00
bhnd newbus: replace -1 in BUS_ADD_CHILD(...-1) with DEVICE_UNIT_ANY 2024-07-24 22:23:02 -06:00
bnxt bnxt: Use IfAPI accessors where able 2024-11-13 14:30:58 -05:00
bwi
bwn Deprecate contigfree(9) in favour of free(9) 2024-07-26 10:45:01 +00:00
bxe ifnet: Remove if_getamcount() 2024-09-04 14:28:28 +00:00
cadence net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
cardbus newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
cas cas(4): Stop checking for failures from taskqueue_create_fast(M_WAITOK) 2024-09-03 18:25:37 +08:00
cesa
cfe newbus: replace -1 in BUS_ADD_CHILD(...-1) with DEVICE_UNIT_ANY 2024-07-24 22:23:02 -06:00
cfi newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
chromebook_platform newbus: replace -1 in BUS_ADD_CHILD(...-1) with DEVICE_UNIT_ANY 2024-07-24 22:23:02 -06:00
ciss ciss: Don't panic on null CR ciss_dequeue_notify 2024-10-13 23:37:46 -06:00
clk riscv: Allwinner D1 clock and reset driver 2024-11-16 15:04:04 -04:00
coretemp
cpuctl
cpufreq
cxgb cxgb(4): Register ifmedia callbacks before ether_ifattach. 2024-10-28 16:10:05 -07:00
cxgbe mbuf: Don't force all M_EXTPG mbufs to be read-only 2024-10-31 16:32:31 -04:00
cyapa
dc net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
dcons Deprecate contigfree(9) in favour of free(9) 2024-07-26 10:45:01 +00:00
dialog/da9063
dpaa net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
dpaa2 dpaa2: Fix kernel built with ACPI_DEBUG 2024-11-19 16:49:04 +01:00
dpms
drm2 drm2: Stop checking for failures from malloc(M_WAITOK) 2024-09-03 18:25:26 +08:00
dwc
dwwdt Check for errors when detaching children first, not last 2024-11-04 20:30:33 -05:00
e1000 e1000: Improve igb(4) SFP support 2024-11-06 23:10:14 -07:00
efidev
ena Check for errors when detaching children first, not last 2024-11-04 20:30:33 -05:00
enetc
enic enic: Remove a stray semicolon 2024-10-24 23:04:49 +08:00
eqos eqos: Fix group address filtering. 2024-10-16 18:20:30 +11:00
et net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
etherswitch etherswitch: Stop checking for failures from malloc(M_WAITOK) 2024-09-03 18:25:27 +08:00
evdev
exca newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
fb
fdc
fdt Check for errors when detaching children first, not last 2024-11-04 20:30:33 -05:00
ffec if_ffec: fix MAC address bootverbose print 2024-10-27 20:27:18 -07:00
filemon
firewire fwip(4): Stop checking for failures from malloc(M_WAITOK) 2024-09-03 18:25:28 +08:00
firmware sys: Use the new arm_smccc_invoke macros 2024-10-15 18:24:41 +01:00
flash flexspi: Stop checking for failures from malloc(M_WAITOK) 2024-09-03 18:25:27 +08:00
ftgpio
ftwd
fxp net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
gem net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
glxiic
glxsb
goldfish
gpio gpiospi: Fix module dependencies. 2024-11-15 06:55:14 +01:00
gve gve: Fix TX livelock 2024-11-06 15:06:41 +00:00
hdmi
hid hidraw(4): update hgd_actlen in HIDRAW_GET_REPORT ioctl 2024-11-18 07:31:39 +03:00
hifn hifn/safe: Remove dummy calls to bus_generic_detach 2024-11-04 20:31:30 -05:00
hpt27xx hpt27xx(4): Stop checking for failures from malloc(M_WAITOK) 2024-09-03 18:25:28 +08:00
hptiop hptiop: Use device_set_descf() 2024-07-14 14:29:15 -04:00
hptmv Deprecate contigfree(9) in favour of free(9) 2024-07-26 10:45:01 +00:00
hptnr hptnr(4): Stop checking for failures from malloc(M_WAITOK) 2024-09-03 18:25:29 +08:00
hptrr hptrr(4): Stop checking for failures from malloc(M_WAITOK) 2024-09-03 18:25:29 +08:00
hwpmc
hwreset
hyperv sys: Use the new arm_smccc_invoke macros 2024-10-15 18:24:41 +01:00
iavf iavf(4): Get MSI-X BAR index at runtime instead of hardcoding it 2024-10-31 09:50:48 -07:00
ic
ice ice(4): properly use kernel option RSS 2024-11-04 11:01:37 -04:00
ichiic ig4(4): Add Meteor Lake PCI IDs 2024-11-09 08:11:09 +03:00
ichsmb Add smbus and i2c device IDs for Meteor Lake 2024-08-13 20:52:19 +08:00
ichwd
ida newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
igc igc: Remove a bogus register write in igc_if_queues_free() 2024-10-26 21:05:40 +00:00
iicbus iichid(4): Do not power down opened device in attach handler 2024-11-09 08:11:09 +03:00
imcsmb newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
intel newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
intpm newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
io
ioat Deprecate contigfree(9) in favour of free(9) 2024-07-26 10:45:01 +00:00
iommu iommu: eliminate iommu_free_ctx() 2024-11-03 21:38:19 +02:00
ipmi ipmi: fix powerpc build 2024-10-18 13:30:44 -07:00
ips newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
ipw net80211: migrate FC0_TYPE_MASK / FC0_SUBTYPE_MASK frame type checks to macros 2024-11-17 09:53:04 -08:00
irdma
isci Fix enum warning in isci 2024-07-31 21:31:50 +02:00
iscsi mbuf: Don't force all M_EXTPG mbufs to be read-only 2024-10-31 16:32:31 -04:00
iser iser(4): Stop checking for failures from malloc(M_WAITOK) 2024-09-03 18:25:30 +08:00
isl newbus: replace -1 in BUS_ADD_CHILD(...-1) with DEVICE_UNIT_ANY 2024-07-24 22:23:02 -06:00
ismt
isp
ispfw
itwd
iwi
iwm
iwn net80211: migrate FC0_TYPE_MASK / FC0_SUBTYPE_MASK frame type checks to macros 2024-11-17 09:53:04 -08:00
ixgbe ixgbe: Add support for 1Gbit DAC links 2024-11-14 00:11:08 -07:00
ixl Revert "ixl: Increase tx/rx ring size to 8160" 2024-09-24 03:58:50 -07:00
jedec_dimm
jme jme(4): Stop checking for failures from taskqueue_create_fast(M_WAITOK) 2024-09-03 18:25:38 +08:00
kbd
kbdmux
ksyms
kvm_clock
le net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
led
lge Deprecate contigfree(9) in favour of free(9) 2024-07-26 10:45:01 +00:00
liquidio ifnet: Remove if_getamcount() 2024-09-04 14:28:28 +00:00
mailbox/arm
malo net80211: migrate FC0_TYPE_MASK / FC0_SUBTYPE_MASK frame type checks to macros 2024-11-17 09:53:04 -08:00
mana Check for errors when detaching children first, not last 2024-11-04 20:30:33 -05:00
mbox
md md(4): always trim the last partial sector 2024-10-14 11:08:21 +03:00
mdio Use bus_generic_detach directly instead of a wrapper 2024-11-04 20:30:13 -05:00
mem
mfi mfi: Correct a struct member name 2024-09-20 16:22:43 -06:00
mgb Canonicalize the name of the FreeBSD Foundation 2024-10-24 05:03:07 +08:00
mge newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
mii miibus: Use a bus_child_deleted method to free ivars for children 2024-11-01 10:10:01 -04:00
mlx mlx(4): Stop checking for failures from malloc(M_WAITOK) 2024-09-03 18:25:31 +08:00
mlx4 mlx4: use is_power_of_2 2024-09-28 16:23:17 -05:00
mlx5 mlx5en: improve reporting of kernel TLS, IPSEC offload, and ratelimit caps 2024-11-14 00:56:11 +02:00
mlxfw
mmc geom_flashmap: Rename the kernel module 2024-10-29 15:11:12 +00:00
mmcnull
mpi3mr mpi3mr: Remove a stray semicolon 2024-10-24 23:04:50 +08:00
mpr mps/mpr: Add workaround for firmware not responding to IOC_FACTS or IOC_INIT 2024-10-13 15:38:01 -06:00
mps mps/mpr: Add workaround for firmware not responding to IOC_FACTS or IOC_INIT 2024-10-13 15:38:01 -06:00
mpt
mrsas mrsas(4): Stop checking for failures from malloc(M_WAITOK) 2024-09-03 18:25:32 +08:00
msk msk/sk: Use a bus_child_deleted method to free ivars for children 2024-11-01 10:09:01 -04:00
mthca
mvs newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
mwl net80211: migrate FC0_TYPE_MASK / FC0_SUBTYPE_MASK frame type checks to macros 2024-11-17 09:53:04 -08:00
mxge mxge(4): Stop checking for failures from taskqueue_create(M_WAITOK) 2024-09-03 18:25:38 +08:00
my net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
nctgpio
ncthwm
neta neta: improve TCP LRO 2024-09-05 17:31:31 +02:00
netmap netmap: Make memory pools NUMA-aware 2024-10-14 13:33:33 +00:00
nfe net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
nfsmb newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
nge net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
nmdm
ntb newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
null
nvd
nvdimm nvdimm: Use a bus_child_deleted method to free ivars for children 2024-11-01 10:08:44 -04:00
nvme nvme: Pass malloc flags to request allocation functions 2024-11-09 17:34:12 +00:00
nvmem
nvmf nvmf: Track SQ flow control 2024-11-11 11:39:05 -05:00
nvram
oce net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
ocs_fc ocs_fc: Remove a stray semicolon 2024-10-24 23:04:50 +08:00
ofw newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
otus net80211: migrate FC0_TYPE_MASK / FC0_SUBTYPE_MASK frame type checks to macros 2024-11-17 09:53:04 -08:00
ow ow: Use a bus_child_deleted method to free ivars for children 2024-11-01 10:08:52 -04:00
p2sb
pbio
pccard
pccbb newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
pcf
pci vga_pci: Use bus_generic_* directly instead of wrappers 2024-11-19 10:26:32 -05:00
phy
pms pms(4): Stop checking for failures from malloc(M_WAITOK) 2024-09-03 18:25:32 +08:00
powermac_nvram
ppbus lpt: check readiness with predefined macros 2024-10-12 14:40:24 -06:00
ppc newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
proto
psci sys: Add an SMCCC Random Number Generator driver 2024-10-15 18:24:42 +01:00
pst Deprecate contigfree(9) in favour of free(9) 2024-07-26 10:45:01 +00:00
pty
puc newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
pwm newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
qat qat(4): Stop checking for failures from malloc(M_WAITOK) 2024-09-03 18:25:32 +08:00
qat_c2xxx
qcom_clk
qcom_dwc3
qcom_gcc
qcom_mdio
qcom_qup
qcom_rnd
qcom_tcsr
qcom_tlmm
qlnx qlnx: Convert recent changes to IfAPI 2024-11-13 14:30:59 -05:00
qlxgb net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
qlxgbe net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
qlxge net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
quicc newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
ral net80211: migrate FC0_TYPE_MASK / FC0_SUBTYPE_MASK frame type checks to macros 2024-11-17 09:53:04 -08:00
random sys: Add an SMCCC Random Number Generator driver 2024-10-15 18:24:42 +01:00
rccgpio
re net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
regulator
rl net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
rndtest
rtsx newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
rtwn rtwn: ensure TX work isn't scheduled during reset / abort 2024-11-08 08:26:05 -08:00
safe hifn/safe: Remove dummy calls to bus_generic_detach 2024-11-04 20:31:30 -05:00
safexcel
sbni net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
scc newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
sdhci sdhci: Add sysctl to report quirks on the slot 2024-09-26 09:58:54 -04:00
sdio sdiodevs: add more vendors and devices 2024-08-31 21:38:57 +00:00
sec
sff Remove bogus detach routines 2024-11-04 20:31:16 -05:00
sfxge net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
sge net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
siis newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
sis net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
sk msk/sk: Use a bus_child_deleted method to free ivars for children 2024-11-01 10:09:01 -04:00
smartpqi
smbios smbios: Add length sanity checking 2024-07-24 23:09:57 -06:00
smbus smbus: Use a bus_child_deleted method to free ivars for children 2024-11-01 10:10:10 -04:00
smc net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
snp
sound sound: Include ai2s and davbus for PowerPC 2024-11-10 02:44:14 +00:00
speaker
spibus spibus: Use a bus_child_deleted method to free ivars for children 2024-11-01 10:10:19 -04:00
sram
ste net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
stge net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
sume sume(4): Stop checking for failures from malloc(M_WAITOK) 2024-09-03 18:25:33 +08:00
superio superio: Use a bus_child_deleted method to free ivars for children 2024-11-01 10:09:21 -04:00
sym
syscon
syscons
tcp_log
tdfx
ti net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
tpm tpm: Register TPM as entropy source 2024-08-31 10:53:02 -07:00
tsec net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
tws
uart uart: Implement SPCR rev 3 and 4 for PreciseBaudrate and UartClkFreq 2024-10-15 05:00:11 -06:00
usb uath: flush data/commands to the firmware before changing channel / state 2024-11-18 20:50:41 -08:00
veriexec
vge net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
viapm newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
viawd
video
videomode
virtio virtio_p9fs: Simplify vt9p_req_wait() a bit 2024-10-25 17:54:39 +00:00
vkbd
vmd newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
vmgenc
vmm vmm: Add a device file interface for creating and destroying VMs 2024-11-05 01:40:41 +00:00
vmware Deprecate contigfree(9) in favour of free(9) 2024-07-26 10:45:01 +00:00
vnic newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
vr net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
vt vt: add comments for KDMKTONE ioctl implementation 2024-11-02 10:39:04 -04:00
vte net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
watchdog
wbwd
wdatwd
wg
wpi net80211: migrate the group/unicast key check into inline functions 2024-07-15 11:45:30 -07:00
wtap
xdma
xen xen/blk{front,back}: fix usage of sector sizes different than 512b 2024-10-08 09:29:13 +02:00
xilinx net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
xl net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
xz
zlib