qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v4 0/4] Add support for for GICv2m and MSIs to arm-virt
@ 2015-05-29 11:01 Christoffer Dall
  2015-05-29 11:01 ` [Qemu-devel] [PATCH v4 1/4] target-arm: Add GIC phandle to VirtBoardInfo Christoffer Dall
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Christoffer Dall @ 2015-05-29 11:01 UTC (permalink / raw)
  To: qemu-devel; +Cc: Christoffer Dall, kvmarm, shankerd, eric.auger

Now when we have a host generic PCIe controller in the virt board, it
would be nice to be able to use MSIs so that we can eventually enable
VHOST with KVM.

With these patches you can use MSIs with TCG and with KVM, but you still
need some fixes for the mapping of the IRQ index to the GSI number for
IRQFD to work.  A separate series that enables IRQFD and vhost
is available: "ARM adaptations for vhost irqfd setup"
https://lists.gnu.org/archive/html/qemu-devel/2015-04/msg01054.html)

Tested with KVM on XGene and with TCG by configuring a virtio-pci
network adapter for the guest and verifying MSIs going through as
expected.

Rebased on target-arm.next, see the individual patches for detailed
changelogs.

Christoffer Dall (4):
  target-arm: Add GIC phandle to VirtBoardInfo
  arm_gicv2m: Add GICv2m widget to support MSIs
  target-arm: Extend the gic node properties
  target-arm: Add the GICv2m to the virt board

 hw/arm/virt.c         |  73 ++++++++++++++-----
 hw/intc/Makefile.objs |   1 +
 hw/intc/arm_gicv2m.c  | 190 ++++++++++++++++++++++++++++++++++++++++++++++++++
 include/hw/arm/virt.h |   2 +
 4 files changed, 248 insertions(+), 18 deletions(-)
 create mode 100644 hw/intc/arm_gicv2m.c

-- 
2.1.2.330.g565301e.dirty

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-06-01 17:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-29 11:01 [Qemu-devel] [PATCH v4 0/4] Add support for for GICv2m and MSIs to arm-virt Christoffer Dall
2015-05-29 11:01 ` [Qemu-devel] [PATCH v4 1/4] target-arm: Add GIC phandle to VirtBoardInfo Christoffer Dall
2015-05-29 11:01 ` [Qemu-devel] [PATCH v4 2/4] arm_gicv2m: Add GICv2m widget to support MSIs Christoffer Dall
2015-05-29 11:01 ` [Qemu-devel] [PATCH v4 3/4] target-arm: Extend the gic node properties Christoffer Dall
2015-05-29 11:01 ` [Qemu-devel] [PATCH v4 4/4] target-arm: Add the GICv2m to the virt board Christoffer Dall
2015-06-01 17:15 ` [Qemu-devel] [PATCH v4 0/4] Add support for for GICv2m and MSIs to arm-virt Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).