Page MenuHomeFreeBSD

pci_host_generic: Properly handle bus_release_resource of IRQ resources
ClosedPublic

Authored by jhb on Feb 16 2024, 12:03 AM.
Tags
None
Referenced Files
F102045577: D43925.diff
Wed, Nov 6, 10:34 PM
Unknown Object (File)
Wed, Oct 23, 1:31 AM
Unknown Object (File)
Mon, Oct 21, 5:19 PM
Unknown Object (File)
Sat, Oct 19, 1:15 PM
Unknown Object (File)
Sep 16 2024, 12:24 PM
Unknown Object (File)
Sep 15 2024, 6:03 PM
Unknown Object (File)
Sep 4 2024, 12:20 PM
Unknown Object (File)
Aug 31 2024, 1:31 PM
Subscribers

Details

Summary

Unlike other bus methods updated to use bus_generic_rman_* in commit
d79b6b8ec267, the bus_release_resource method was using
bus_generic_rman_release_resource for all types other than
PCI_RES_BUS. Instead, bus_generic_rman_* should only be used for
memory and I/O port resources for this driver.

Reported by: cperciva
Fixes: d79b6b8ec267 pci_host_generic: Don't rewrite resource start address for translation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 56053
Build 52942: arc lint + arc unit