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
Unknown Object (File)
Wed, Dec 11, 9:05 AM
Unknown Object (File)
Dec 3 2024, 11:02 PM
Unknown Object (File)
Nov 7 2024, 12:45 AM
Unknown Object (File)
Nov 7 2024, 12:31 AM
Unknown Object (File)
Nov 6 2024, 10:34 PM
Unknown Object (File)
Oct 23 2024, 1:31 AM
Unknown Object (File)
Oct 21 2024, 5:19 PM
Unknown Object (File)
Oct 19 2024, 1:15 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 Not Applicable
Unit
Tests Not Applicable