Page MenuHomeFreeBSD

pcib: Only apply ARI translation to a bridge's own secondary bus
ClosedPublic

Authored by ojanerif_amd.com on Fri, Sep 25, 8:31 PM.
Tags
None
Referenced Files
F176569695: D60033.id187710.diff
Mon, Oct 19, 10:22 PM
Unknown Object (File)
Sun, Oct 18, 10:45 PM
Unknown Object (File)
Sun, Oct 18, 3:43 PM
Unknown Object (File)
Fri, Oct 16, 11:40 AM
Unknown Object (File)
Thu, Oct 15, 6:01 PM
Unknown Object (File)
Wed, Oct 14, 2:28 PM
Unknown Object (File)
Wed, Oct 14, 2:25 PM
Unknown Object (File)
Tue, Oct 13, 10:37 PM
Subscribers

Details

Summary

ARI changes RID interpretation only for the device on a downstream
port's secondary bus. pcib_xlate_ari() applied that translation to
every config access through an ARI-enabled bridge, including cycles
forwarded to a subordinate bus.

A non-zero slot on a subordinate bus then panics an INVARIANTS kernel
and is misrouted otherwise. Translate only when the access targets
this bridge's secondary bus.

Sponsored by: AMD

Diff Detail

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