Skip to content

msi: Small refactoring

Jan Kiszka qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6msi: Guard msi/msix_write_config with msi_presenthw/msi.c hw/msix.c+3 -20 replies
2/6msi: Guard msi_reset with msi_presenthw/msi.c+4 -00 replies
3/6msi: Use msi/msix_present more consistentlyhw/msi.c hw/msix.c+9 -60 replies
4/6msi: Invoke msi/msix_reset from PCI corehw/ioh3420.c hw/pci.c hw/pci_bridge.c +3 more+11 -44 replies
5/6msi: Invoke msi/msix_write_config from PCI corehw/ide/ich.c hw/intel-hda.c hw/ioh3420.c +5 more+4 -260 replies
6/6msi: Generalize msix_supported to msi_supportedhw/msi.c hw/msi.h hw/msix.c +2 more+16 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/6] msi: Small refactoring

Collection of patches to improve MSI[X] usability in device models, clean up some minor bits, and help kvm irqchip introduction.

CC Alexander Graf <[email protected]>
CC Gerd Hoffmann <[email protected]>
CC Isaku Yamahata <[email protected]>

Jan Kiszka (6):
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: Generalize msix_supported to msi_supported

 hw/ide/ich.c            |    8 --------
 hw/intel-hda.c          |   12 ------------
 hw/ioh3420.c            |    3 +--
 hw/msi.c                |   19 ++++++++++++++++---
 hw/msi.h                |    2 ++
 hw/msix.c               |   24 +++++++++++++-----------
 hw/msix.h               |    2 --
 hw/pc.c                 |    4 ++--
 hw/pci.c                |    8 ++++++++
 hw/pci_bridge.c         |    4 ++++
 hw/virtio-pci.c         |    3 ---
 hw/xio3130_downstream.c |    3 +--
 hw/xio3130_upstream.c   |    2 --
 13 files changed, 47 insertions(+), 47 deletions(-)
Signature · 1 line
1.7.3.4