tests/qtest: pci and MSI-X fixes
Get series with b4
b4 am [email protected]Versions newest first
- v7 Latest10 patches 3 repliesIn review
Changes in v7 from the cover letter
(https://lore.kernel.org/qemu-devel/[email protected]/)
- Add patch 4: Fix endianness of NVMe queue structures in nvme-test.
- qpci_msix_test_interrupt(): Make msix_entry parameter to uint16_t to match other MSI-X helpers and validate it against qpci_msix_table_size() to catch uninitialized vectors instead of checking for != -1. (Patch 3/10)
- nvme-test migrate: use qpci_migrate_fixup() to carry the BAR mapping over to the destination device instead of unmapping the source BAR and mapping BAR0 again. (PATCH 7/10)
Patches in v7 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | tests/qtest: Enforce zero for the "un-fired" msix message valuetests/ tests/ | +17 | 0 replies | |
| 2/10 | tests/qtest: Fix virtio msix message endiannesstests/ tests/ | +9 | 0 replies | |
| 3/10 | tests/qtest: Add libqos function for testing MSI-X interrupt statustests/ tests/ tests/ +1 more | +67 | 0 replies | |
| 4/10 | tests/qtest/nvme-test: fix NVMe struct field endiannesstests/ | +16 | 0 replies | |
| 5/10 | tests/qtest: Enable spapr dma with linear iommuhw/ tests/ tests/ +8 more | +13 | 0 replies | |
| 6/10 | tests/qtest/ahci: unmap pci bar before reusing devicetests/ tests/ tests/ | +19 | 0 replies | |
| 7/10 | tests/qtest/libquos/pci: Add migration fixup helper for pci devicestests/ tests/ tests/ +1 more | +7 | 0 replies | |
| 8/10 | qtest/libqos/pci: Enforce balanced iomap/unmaptests/ tests/ tests/ | +64 | 3 replies | |
| 9/10 | qtest/libqos/pci: Fix qpci_msix_enable sharing bar0tests/ tests/ | +35 | 0 replies | |
| 10/10 | qtest/libqos/pci: Factor msix entry helpers into pci common codetests/ tests/ tests/ | +57 | 0 replies |
Reviews trailers per patch
9 of 10 patches have a Reviewed-by or Acked-by.
| Patch | Philippe Mathieu-Daudé | Fabiano Rosas | Akihiko Odaki |
|---|---|---|---|
| 1/10 | R-b | R-b | |
| 2/10 | R-b | R-b | |
| 3/10 | R-b | ||
| 4/10 | |||
| 5/10 | R-b | ||
| 6/10 | R-b | R-b | |
| 7/10 | R-b | ||
| 8/10 | R-b | R-b | |
| 9/10 | R-b | R-b | |
| 10/10 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v7 00/10] tests/qtest: pci and MSI-X fixes
From: Utkarsh Verma <[email protected]>
This series fixes a number of issues in the pci and MSI-X qtest infrastructure, and adds new functionality.
Nicholas Piggin is the original author of patches 1-3 and 5-10. Patch 4 is new in this version. This series takes Jishnu Warrier's v6 forward.
Changes since v6:
(https://lore.kernel.org/qemu-devel/[email protected]/)
- Add patch 4: Fix endianness of NVMe queue structures in nvme-test.
- qpci_msix_test_interrupt(): Make msix_entry parameter to uint16_t to match other MSI-X helpers and validate it against qpci_msix_table_size() to catch uninitialized vectors instead of checking for != -1. (Patch 3/10)
- nvme-test migrate: use qpci_migrate_fixup() to carry the BAR mapping over to the destination device instead of unmapping the source BAR and mapping BAR0 again. (PATCH 7/10)
Nicholas Piggin (9):
tests/qtest: Enforce zero for the "un-fired" msix message value tests/qtest: Fix virtio msix message endianness tests/qtest: Add libqos function for testing MSI-X interrupt status tests/qtest: Enable spapr dma with linear iommu tests/qtest/ahci: unmap pci bar before reusing device tests/qtest/libquos/pci: Add migration fixup helper for pci devices qtest/libqos/pci: Enforce balanced iomap/unmap qtest/libqos/pci: Fix qpci_msix_enable sharing bar0 qtest/libqos/pci: Factor msix entry helpers into pci common code
Utkarsh Verma (1):
tests/qtest/nvme-test: fix NVMe struct field endianness
hw/ppc/spapr_iommu.c | 10 +- tests/qtest/ahci-test.c | 7 + tests/qtest/e1000e-test.c | 21 --- tests/qtest/igb-test.c | 21 --- tests/qtest/libqos/ahci.c | 12 ++ tests/qtest/libqos/ahci.h | 2 + tests/qtest/libqos/generic-pcihost.c | 1 - tests/qtest/libqos/pci-pc.c | 3 - tests/qtest/libqos/pci-spapr.c | 7 +- tests/qtest/libqos/pci.c | 217 ++++++++++++++++++++++--- tests/qtest/libqos/pci.h | 21 ++- tests/qtest/libqos/virtio-pci-modern.c | 30 +--- tests/qtest/libqos/virtio-pci.c | 86 ++-------- tests/qtest/nvme-test.c | 39 ++--- tests/qtest/vhost-user-blk-test.c | 6 - tests/qtest/virtio-blk-test.c | 12 -- 16 files changed, 280 insertions(+), 215 deletions(-)
Signature · 1 line
2.55.0