qemu-e2k/hw/pci-host
Jason Chien 3d449bc603 hw/pci-host: Allow extended config space access for Designware PCIe host
In pcie_bus_realize(), a root bus is realized as a PCIe bus and a non-root
bus is realized as a PCIe bus if its parent bus is a PCIe bus. However,
the child bus "dw-pcie" is realized before the parent bus "pcie" which is
the root PCIe bus. Thus, the extended configuration space is not accessible
on "dw-pcie". The issue can be resolved by adding the
PCI_BUS_EXTENDED_CONFIG_SPACE flag to "pcie" before "dw-pcie" is realized.

Signed-off-by: Jason Chien <jason.chien@sifive.com>
Message-Id: <20230809102257.25121-1-jason.chien@sifive.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Frank Chang <frank.chang@sifive.com>
Signed-off-by: Jason Chien &lt;<a href="mailto:jason.chien@sifive.com" target="_blank">jason.chien@sifive.com</a>&gt;<br>
2023-08-11 12:15:24 -04:00
..
bonito.c
designware.c hw/pci-host: Allow extended config space access for Designware PCIe host 2023-08-11 12:15:24 -04:00
dino.c
gpex-acpi.c
gpex.c
grackle.c
gt64120.c
i440fx.c hw/pci-host/i440fx: Resolve i440fx_init() 2023-07-10 16:29:17 -04:00
Kconfig
meson.build meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
mv643xx.h mv64361: Add dummy gigabit ethernet PHY access registers 2023-07-07 04:18:26 -03:00
mv64361.c mv64361: Add dummy gigabit ethernet PHY access registers 2023-07-07 04:18:26 -03:00
pam.c
pnv_phb3_msi.c
pnv_phb3_pbcq.c
pnv_phb3.c
pnv_phb4_pec.c
pnv_phb4.c ppc/pnv/pci: Clean up error messages 2023-06-25 22:41:30 +02:00
pnv_phb.c
pnv_phb.h
ppce500.c
q35.c hw/pci-host/q35: Make some property name macros reusable by i440fx 2023-07-10 16:29:17 -04:00
raven.c
remote.c
sabre.c hw/pci/pci: Remove multifunction parameter from pci_new_multifunction() 2023-07-10 18:59:32 -04:00
sh_pci.c
trace-events
trace.h
uninorth.c
versatile.c
xen_igd_pt.c
xilinx-pcie.c