Page MenuHomeFreeBSD

pci_host_generic: Don't rewrite resource start address for translation
ClosedPublic

Authored by jhb on Feb 14 2024, 6:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 8, 7:49 AM
Unknown Object (File)
Dec 3 2024, 10:37 PM
Unknown Object (File)
Dec 3 2024, 10:37 PM
Unknown Object (File)
Dec 3 2024, 10:36 PM
Unknown Object (File)
Dec 3 2024, 10:17 PM
Unknown Object (File)
Nov 21 2024, 5:56 PM
Unknown Object (File)
Oct 22 2024, 12:06 AM
Unknown Object (File)
Oct 21 2024, 11:51 PM
Subscribers

Details

Summary

Allocate resources from the parent device for decoded physical address
ranges. When child resources suballocated from rman's are mapped,
translate those mapping requests into a mapping request of the
associated physical address range in a bus_map_resource method.

While here, convert generic_pcie_rman to a bus_get_rman method and use
bus_generic_rman_* for operations on child resources.

Factor out a generic_pcie_containing_range to share logic between
bus_translate_resource and bus_*map_resource.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable