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)
Wed, Jan 15, 11:02 PM
Unknown Object (File)
Dec 12 2024, 10:40 PM
Unknown Object (File)
Nov 28 2024, 3:20 AM
Unknown Object (File)
Nov 21 2024, 9:57 PM
Unknown Object (File)
Oct 15 2024, 7:32 AM
Unknown Object (File)
Sep 19 2024, 12:42 AM
Unknown Object (File)
Sep 18 2024, 1:58 PM
Unknown Object (File)
Sep 16 2024, 9:15 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.