vfio-pci cleanup and fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | vfio-pci: Update slow path INTx algorithmhw/ hw/ | +44 | 0 replies | |
| 2/11 | vfio-pci: Re-order map/unmaphw/ | +18 | 0 replies | |
| 3/11 | vfio-pci: Unmap and retry DMA mappinghw/ | +11 | 0 replies | |
| 4/11 | vfio-pci: Rework MSIX setup/teardownhw/ | +55 | 0 replies | |
| 5/11 | vfio-pci: No spurious MSIshw/ | +0 | 0 replies | |
| 6/11 | vfio-pci: Roll the header into the .c filehw/ hw/ | +96 | 0 replies | |
| 7/11 | vfio-pci: Don't peak at msi_supportedhw/ | +6 | 0 replies | |
| 8/11 | vfio-pci: Use uintptr_t for void* casthw/ | +1 | 0 replies | |
| 9/11 | vfio-pci: Remove setting of MSI qsizehw/ | +0 | 0 replies | |
| 10/11 | vfio-pci: Extend resethw/ | +22 | 0 replies | |
| 11/11 | vfio-pci: Cleanup on INTx setup failurehw/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 00/11] vfio-pci cleanup and fixes
I've been accumulating a backlog of vfio-pci changes while we've been getting the first implementation accepted. This series includes a new algorithm for dealing with INTx that should avoid users needing to know about experimental parameters, a re-try mechanism for mappings that avoids common errors users might see trying to use vfio-pci, a rework of MSIX setup and teardown that fixes a corner case for MSIX being enabled but not used, a more robust device reset that re-inits interrupts much like pci-assign, a missing INTx setup failure cleanup, and addresses a few comments collected during initial review.
Comments welcome. If there are no changes or objections I'll send a pull request for this next week. Thanks,
Alex
---
Alex Williamson (11):
vfio-pci: Cleanup on INTx setup failure
vfio-pci: Extend reset
vfio-pci: Remove setting of MSI qsize
vfio-pci: Use uintptr_t for void* cast
vfio-pci: Don't peak at msi_supported
vfio-pci: Roll the header into the .c file
vfio-pci: No spurious MSIs
vfio-pci: Rework MSIX setup/teardown
vfio-pci: Unmap and retry DMA mapping
vfio-pci: Re-order map/unmap
vfio-pci: Update slow path INTx algorithm
hw/vfio_pci.c | 395 +++++++++++++++++++++++++++++++++-------------------- hw/vfio_pci_int.h | 114 --------------- 2 files changed, 246 insertions(+), 263 deletions(-) delete mode 100644 hw/vfio_pci_int.h