What were you trying to do that didn't work?
Guest failed to boot with pcie-expander-bus and pcie-switch-upstream-port
Please provide the package NVR for which the bug is seen:
edk2-aarch64-20241117-2.el10.noarch
qemu-kvm-9.1.0-10.el10.aarch64
How reproducible is this bug?:
100%
Steps to reproduce
1. Boot guest with pcie-expander-bus -> pcie-root-port -> pcie-switch-upstream-port
<controller type='pci' index='2' model='pcie-expander-bus'>
<model name='pxb-pcie'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</controller>
<controller type='pci' index='3' model='pcie-root-port'>
<model name='pcie-root-port'/>
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
</controller>
<controller type='pci' model='pcie-switch-upstream-port'>
<model name='x3130-upstream'/>
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
</controller>
2. Boot fail
UEFI Interactive Shell v2.2
EDK II
UEFI v2.70 (EDK II, 0x00010000)
map: No mapping found.
Press ESC in 1 seconds to skip startup.nsh or any other key to continue.
Shell>
3. If I remove x3130-upstream , the guest can be booted.
<controller type='pci' model='pcie-switch-upstream-port'>
<model name='x3130-upstream'/>
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
</controller>
Expected results
Guest is booted
Actual results
Guest failed to boot