HomeFreeBSD

pci_iov: Reuse downstream bridge bus window if it already covers VF bus

Description

pci_iov: Reuse downstream bridge bus window if it already covers VF bus

If the parent bridge's [secondary, subordinate] window already covers
the VF bus (e.g., programmed by BIOS or a prior PF), skip allocating
PCI_RES_BUS. This avoids a duplicate rman allocation in the multi-PF
case while still allocating when growth is actually needed.

Reviewed by: ssaxena
Differential Revision: https://reviews.freebsd.org/D52163
MFC After: 1 week

Details

Provenance
chandrakanth.patil_broadcom.comAuthored on Feb 10 2026, 9:23 AM
sumit.saxena_broadcom.comCommitted on Feb 10 2026, 9:30 AM
Differential Revision
D52163: pci_iov: Reuse downstream bridge bus window if it already covers VF bus
Parents
rG10f91d9ff7b8: rtw89: update Realtek's rtw89 driver
Branches
Unknown
Tags
Unknown