diff options
| author | Bernhard Beschow <shentey@gmail.com> | 2025-02-23 12:46:52 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2025-02-25 15:32:58 +0000 |
| commit | faa2150a527b1919646316dba268b71ced8762a6 (patch) | |
| tree | 87fb257b28cb2b39b6f8418ae89bd5b5d4ad484e /include/hw/arm/fsl-imx8mp.h | |
| parent | b513766ee968dbfca31034b185f0a0fcf99f4269 (diff) | |
| download | focaccia-qemu-faa2150a527b1919646316dba268b71ced8762a6.tar.gz focaccia-qemu-faa2150a527b1919646316dba268b71ced8762a6.zip | |
hw/pci-host/designware: Prevent device attachment on internal PCIe root bus
On the real device, the PCIe root bus is only connected to a PCIe bridge and does not allow for direct attachment of devices. Doing so in QEMU results in no PCI devices being detected by Linux. Instead, PCI devices should plug into the secondary PCIe bus spawned by the internal PCIe bridge. Unfortunately, QEMU defaults to plugging devices into the PCIe root bus. To work around this, every PCI device created on the command line needs an extra `bus=dw-pcie` option which is error prone. Fix that by marking the PCIe root bus as full which makes QEMU decend into the child PCIe bus. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Bernhard Beschow <shentey@gmail.com> Message-id: 20250223114708.1780-3-shentey@gmail.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/arm/fsl-imx8mp.h')
0 files changed, 0 insertions, 0 deletions