hw/pci-bus: Fix PCI bus regression on several archs
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | tests/prom-env-test: increase the test timeouttests/ | +1 | 3 replies | |
| 2/7 | hw/alpha: fix PCI bus initializationhw/ | +1 | 0 replies | |
| 3/7 | hw/mips: fix PCI bus initializationhw/ | +1 | 1 reply | |
| 4/7 | hw/apb: fix PCI bus initializationhw/ | +7 | 0 replies | |
| 5/7 | hw/grackle: fix PCI bus initializationhw/ | +1 | 0 replies | |
| 6/7 | hw/prep: realize the PCI root bus as part of the prep inithw/ | +1 | 0 replies | |
| 7/7 | hw/versatile: realize the PCI root bus as part of the versatile inithw/ | +1 | 0 replies |
Reviews trailers per patch
1 of 7 patches has a Reviewed-by or Acked-by.
| Patch | Leon Alrae | Mark Cave-Ayland |
|---|---|---|
| Series | T-b | |
| 1/7 | ||
| 2/7 | ||
| 3/7 | A-b T-b | |
| 4/7 | ||
| 5/7 | ||
| 6/7 | ||
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH 0/7] hw/pci-bus: Fix PCI bus regression on several archs
Commit b86eacb (hw/pci: delay bus_master_enable_region initialization) delayed enabling the 'bus-master' region for PCI devices until 'machine-done' event. The event registration happens in the PCIBus realize function, however the PCI bus is not 'realized' *at all* for some machines.
It appears to be a hidden issue revealed by the above commit. Thanks Mark Cave-Ayland and Leon Alrae for reporting it!
For all the series:
Patch 1: Increase the timeout for the prom-env-test since I encountered random failures. Patch 2-7: Separate fix for each arch so it will be easier for maintainers to ack.
Thanks,
Marcel
Marcel Apfelbaum (7):
tests/prom-env-test: increase the test timeout
hw/alpha: fix PCI bus initialization
hw/mips: fix PCI bus initialization
hw/apb: fix PCI bus initialization
hw/grackle: fix PCI bus initialization
hw/prep: realize the PCI root bus as part of the prep init hw/versatile: realize the PCI root bus as part of the versatile init
hw/alpha/typhoon.c | 2 +- hw/mips/gt64xxx_pci.c | 2 +- hw/pci-host/apb.c | 15 +++++++-------- hw/pci-host/grackle.c | 2 +- hw/pci-host/prep.c | 1 + hw/pci-host/versatile.c | 1 + tests/prom-env-test.c | 2 +- 7 files changed, 13 insertions(+), 12 deletions(-)
Signature · 1 line
2.4.3