Page MenuHomeFreeBSD

INTRNG - fix MSI/MSIX release path
ClosedPublic

Authored by gonzo on Oct 9 2016, 8:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jul 7, 3:06 AM
Unknown Object (File)
Fri, Jul 4, 8:26 AM
Unknown Object (File)
Sun, Jun 29, 11:00 AM
Unknown Object (File)
Thu, Jun 26, 2:46 PM
Unknown Object (File)
Sat, Jun 21, 6:47 AM
Unknown Object (File)
Wed, Jun 18, 12:11 PM
Unknown Object (File)
Jun 11 2025, 5:38 PM
Unknown Object (File)
Jun 3 2025, 3:33 AM
Subscribers

Details

Summary

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

Test Plan

Use Tegra Jetson-TK1 for tests. Put if_iwn device in PCIe slot,
kldload if_iwn; kldunload if_iwn crashes kernel without this patch
and everything is OK with this patch

Diff Detail

Event Timeline

gonzo retitled this revision from to INTRNG - fix MSI/MSIX release path.
gonzo updated this object.
gonzo edited the test plan for this revision. (Show Details)
gonzo added reviewers: mmel, andrew.
mmel edited edge metadata.
This revision is now accepted and ready to land.Oct 10 2016, 4:58 PM
This revision was automatically updated to reflect the committed changes.