msi: Small cleanups and fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest9 patches 20 repliesIn review
- v17 patches 10 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | msi: Fix copy&paste mistake in msi_uninithw/ | +1 | 0 replies | |
| 2/9 | msi: Guard msi/msix_write_config with msi_presenthw/ hw/ | +3 | 0 replies | |
| 3/9 | msi: Guard msi_reset with msi_presenthw/ | +4 | 0 replies | |
| 4/9 | msi: Use msi/msix_present more consistentlyhw/ hw/ | +9 | 0 replies | |
| 5/9 | msi: Invoke msi/msix_reset from PCI corehw/ hw/ hw/ +3 more | +11 | 2 replies | |
| 6/9 | msi: Invoke msi/msix_write_config from PCI corehw/ hw/ hw/ +5 more | +4 | 0 replies | |
| 7/9 | msi: Invoke msi/msix_uninit from PCI corehw/ hw/ hw/ +4 more | +8 | 0 replies | |
| 8/9 | msix: Align MSI-X constants to libpci definitions and extend themhw/ hw/ | +19 | 8 replies | |
| 9/9 | msi: Move PCI_MSI_PENDING_32/64 into pci_regs.hhw/ hw/ | +2 | 10 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [Qemu-devel] [PATCH v2 0/9] msi: Small cleanups and fixes
A few patches to the MSI and MSI-X layer that clean up the interfaces and fix reset issues. They are from my MSI rework to prepare it for KVM's requirements (in-kernel irqchip).
In contrast to the previous version, this one moves msi[x]_reset, msi[x]_write_config and msi[x]_uninit into the PCI core, avoiding related bugs and reducing boilerplate code on device side.
Jan Kiszka (9):
msi: Fix copy&paste mistake in msi_uninit
msi: Guard msi/msix_write_config with msi_present
msi: Guard msi_reset with msi_present
msi: Use msi/msix_present more consistently
msi: Invoke msi/msix_reset from PCI core
msi: Invoke msi/msix_write_config from PCI core
msi: Invoke msi/msix_uninit from PCI core
msix: Align MSI-X constants to libpci definitions and extend them
msi: Move PCI_MSI_PENDING_32/64 into pci_regs.h
hw/ide/ich.c | 9 --------- hw/intel-hda.c | 13 ------------- hw/ioh3420.c | 8 ++------ hw/msi.c | 17 +++++++++-------- hw/msix.c | 39 ++++++++++++++++++++------------------- hw/pci.c | 10 ++++++++++ hw/pci_bridge.c | 4 ++++ hw/pci_regs.h | 16 ++++++++++------ hw/virtio-pci.c | 14 +++----------- hw/xio3130_downstream.c | 8 ++------ hw/xio3130_upstream.c | 7 +------ 11 files changed, 61 insertions(+), 84 deletions(-)