Page MenuHomeFreeBSD

pcib: Refine handling of resources allocated from bridge windows
ClosedPublic

Authored by jhb on Jan 31 2024, 7:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 11, 11:09 PM
Unknown Object (File)
Thu, Sep 25, 5:39 PM
Unknown Object (File)
Sep 14 2025, 6:33 PM
Unknown Object (File)
Sep 9 2025, 1:36 PM
Unknown Object (File)
Aug 17 2025, 9:00 PM
Unknown Object (File)
Aug 15 2025, 12:04 AM
Unknown Object (File)
Aug 9 2025, 4:49 PM
Unknown Object (File)
Aug 3 2025, 4:50 AM
Subscribers
None

Details

Summary

Fix a long-standing layering violation in the original NEW_PCIB code
by not passing suballocated resources up to the parent bus for
activation and mapping. Instead, handle activation and mapping of
sub-allocated resources in this driver. When mapping resources,
request a mapping from a suitable sub-region of the resource allocated
from the parent bus for the associated bridge window.

Note that this does require passing RF_ACTIVE (with RF_UNMAPPED) when
allocating bridge window resources from the parent.

Diff Detail

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