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)
Fri, Nov 21, 1:00 PM
Unknown Object (File)
Sun, Nov 9, 3:27 AM
Unknown Object (File)
Thu, Nov 6, 10:49 PM
Unknown Object (File)
Sat, Nov 1, 7:23 AM
Unknown Object (File)
Wed, Oct 29, 3:00 AM
Unknown Object (File)
Tue, Oct 28, 10:44 PM
Unknown Object (File)
Tue, Oct 28, 8:56 PM
Unknown Object (File)
Oct 18 2025, 5:07 PM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 55735
Build 52624: arc lint + arc unit