opnsense-src/sys/dev/pci
Osvaldo Janeri Filho 86ceb5a41b 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 10409ee40baf593b810cd0140f3c2f0d737c1a65)
2026-10-09 08:13:27 +02:00
..
controller pci/n1sdp: Disable HotPlug 2026-01-13 14:06:19 +00:00
fixup_pci.c chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-25 09:46:07 -07:00
hostb_pci.c chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-25 09:46:07 -07:00
ignore_pci.c chore: replace {0, 0} with {DEV,KOBJ}METHOD_END 2026-04-25 09:46:07 -07:00
isa_pci.c
pci.c pci: Expose PME support by power state 2026-09-23 12:01:02 +02:00
pci_dw.c
pci_dw.h
pci_dw_if.m
pci_dw_mv.c
pci_host_generic.c pci: pci_host_generic: provide cleanup methods outside of detach 2026-09-23 10:52:48 +02:00
pci_host_generic.h pci: pci_host_generic: provide cleanup methods outside of detach 2026-09-23 10:52:48 +02:00
pci_host_generic_acpi.c
pci_host_generic_acpi.h
pci_host_generic_den0115.c
pci_host_generic_fdt.c pci: pci_host_generic: provide cleanup methods outside of detach 2026-09-23 10:52:48 +02:00
pci_host_generic_fdt.h pci: pci_host_generic: provide cleanup methods outside of detach 2026-09-23 10:52:48 +02:00
pci_if.m
pci_iov.c pci: Expose a VF's owning PF to bus subclasses 2026-09-23 12:01:02 +02:00
pci_iov.h
pci_iov_if.m
pci_iov_private.h pci_iov: Support dynamic subordinate bus growth during VF creation 2025-07-29 15:09:53 -04:00
pci_iov_schema.c
pci_pci.c pcib: Only apply ARI translation to a bridge's own secondary bus 2026-10-09 08:13:27 +02:00
pci_private.h pci: Expose a VF's owning PF to bus subclasses 2026-09-23 12:01:02 +02:00
pci_subr.c
pci_user.c pci: Export bus numbers for bridge devices in struct pci_conf 2026-04-24 13:33:53 -04:00
pcib_if.m
pcib_private.h
pcib_support.c
pcireg.h pci: Add L1 PM definitions 2026-09-23 12:01:00 +02:00
pcivar.h pci: Expose PME support by power state 2026-09-23 12:01:02 +02:00
schema_private.h
vga_pci.c sys: Use is_pci_device instead of direct comparisons to devclasses 2026-09-23 11:30:15 +02:00