[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/5] qtest: pci and e1000e/igb msix fixes
From: |
Nicholas Piggin |
Subject: |
[PATCH v2 0/5] qtest: pci and e1000e/igb msix fixes |
Date: |
Thu, 16 Jan 2025 01:01:06 +1000 |
This series fixes some iomap balance issues and enables msix
sharing bar0, which will be required for some future XHCI
test cases.
It also removes the invalid write to msix PBA memory by
qtest, and fixes that properly by unmasking and taking
delivery of the msix interrupt in e1000e and igb tests, as
other test cases do.
Since v1:
- Patch 4 update comments as suggested by Akihiko Odaki.
- Patch 5 significantly rework and simplify also suggested
by Akihiko Odaki. In particular the msi vectors are always
unmasked to avoid the extra case of handling masked.
Thanks,
Nick
Nicholas Piggin (5):
qtest/pci: Enforce balanced iomap/unmap
qtest/libqos/pci: Fix qpci_msix_enable sharing bar0
qtest/libqos/pci: Do not write to PBA memory
qtest/e1000e|igb: Clear interrupt-cause bits after irq
qtest/e1000e|igb: Fix msix to re-trigger interrupts
tests/qtest/libqos/ahci.h | 1 +
tests/qtest/libqos/e1000e.h | 11 ++++-
tests/qtest/libqos/pci.h | 3 ++
tests/qtest/libqos/virtio-pci.h | 1 +
tests/qtest/ahci-test.c | 2 +
tests/qtest/e1000e-test.c | 4 ++
tests/qtest/igb-test.c | 4 ++
tests/qtest/libqos/ahci.c | 6 +++
tests/qtest/libqos/e1000e.c | 87 +++++++++++++++++++++++++++++++--
tests/qtest/libqos/igb.c | 9 ++++
tests/qtest/libqos/pci.c | 74 ++++++++++++++++++++++++----
tests/qtest/libqos/virtio-pci.c | 6 ++-
12 files changed, 193 insertions(+), 15 deletions(-)
--
2.45.2
- [PATCH v2 0/5] qtest: pci and e1000e/igb msix fixes,
Nicholas Piggin <=
- [PATCH v2 1/5] qtest/pci: Enforce balanced iomap/unmap, Nicholas Piggin, 2025/01/15
- [PATCH v2 2/5] qtest/libqos/pci: Fix qpci_msix_enable sharing bar0, Nicholas Piggin, 2025/01/15
- [PATCH v2 3/5] qtest/libqos/pci: Do not write to PBA memory, Nicholas Piggin, 2025/01/15
- [PATCH v2 4/5] qtest/e1000e|igb: Clear interrupt-cause bits after irq, Nicholas Piggin, 2025/01/15
- [PATCH v2 5/5] qtest/e1000e|igb: Fix msix to re-trigger interrupts, Nicholas Piggin, 2025/01/15