Files
freebsd/sys/dev
Osvaldo Janeri Filho 983f7f9f50 pcib: Only apply ARI translation to a bridge's own secondary bus
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.

Reviewed by:	kib, jhb
Fixes:		55d3ea1731 ("Add support for PCIe ARI")
Sponsored by:	AMD
Differential Revision:	https://reviews.freebsd.org/D60033
(cherry picked from commit 10409ee40b)
2026-10-08 14:57:47 -04:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2026-09-14 10:32:22 -04:00
…
…
…
…
…
2026-08-01 15:12:05 +00:00
…
2026-08-06 18:51:31 -05:00
…
…
…
…
…
…
…
…
…
…
2026-10-06 15:48:37 -03:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2026-05-11 08:29:49 +00:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2026-07-28 11:22:35 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…