diff options
| author | Jason Chien <jason.chien@sifive.com> | 2023-08-09 10:22:50 +0000 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2023-08-11 12:15:24 -0400 |
| commit | 3d449bc6030904ead784a4e4644c9640c2152796 (patch) | |
| tree | f4ada440886488ffdd26979872502d53876e74a8 /hw/m68k/virt.c | |
| parent | 15b11a1da6a4b7c6b8bb37883f52b544dee2b8fd (diff) | |
| download | focaccia-qemu-3d449bc6030904ead784a4e4644c9640c2152796.tar.gz focaccia-qemu-3d449bc6030904ead784a4e4644c9640c2152796.zip | |
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 <<a href="mailto:jason.chien@sifive.com" target="_blank">jason.chien@sifive.com</a>><br>
Diffstat (limited to 'hw/m68k/virt.c')
0 files changed, 0 insertions, 0 deletions