]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r306899, r307059, r307151
authorgonzo <gonzo@FreeBSD.org>
Sun, 6 Nov 2016 18:40:12 +0000 (18:40 +0000)
committergonzo <gonzo@FreeBSD.org>
Sun, 6 Nov 2016 18:40:12 +0000 (18:40 +0000)
commitb82022461caea290c7bce683816b76f5bad5d78d
tree4a04888a8377ec5623ae862e2b374ecdf586d221
parent476fa99d66ff006a890ec0755cee69ff5fb89759
MFC r306899, r307059, r307151

r306899:
Fix release MSI method for ARM GIC

r307059:
INTRNG - fix MSI/MSIX release path

Use isrc in attached MSI data structure instead of using map's
isrc directly. map's isrc is set to NULL on IRQ deactivation
which happens prior to pci_release_msi so MSI_RELEASE_MSI
receives array of NULLs

Reviewed by: mmel
Differential Revision: https://reviews.freebsd.org/D8206

r307151:
INTRNG: Propagate IRQ activation error to API consumer

Keep resource state consistent with INTRNG state - if intr_activate_irq
fails - deactivate resource and propagate error to calling function

Reviewed by: mmel
sys/arm/arm/gic.c
sys/arm/arm/nexus.c
sys/arm64/arm64/nexus.c
sys/kern/subr_intr.c
sys/mips/mips/nexus.c