Received: from eggs.gnu.org ([2001:4830:134:3::10]:58382) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwTUW-0006sM-B0 for qemu-devel@nongnu.org; Sun, 24 May 2015 06:50:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YwTUS-0008UM-D3 for qemu-devel@nongnu.org; Sun, 24 May 2015 06:50:48 -0400 Received: from mail-la0-f44.google.com ([209.85.215.44]:35384) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwTUS-0008UH-5u for qemu-devel@nongnu.org; Sun, 24 May 2015 06:50:44 -0400 Received: by labbd9 with SMTP id bd9so35130242lab.2 for ; Sun, 24 May 2015 03:50:43 -0700 (PDT) From: Christoffer Dall Date: Sun, 24 May 2015 12:51:02 +0200 Message-Id: <1432464666-4825-1-git-send-email-christoffer.dall@linaro.org> Subject: [Qemu-devel] [PATCH v3 0/4] Add support for for GICv2m and MSIs to arm-virt List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kvmarm@lists.cs.columbia.edu, Christoffer Dall , eric.auger@linaro.org 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. See the individual patches for changelogs. Christoffer Dall (3): target-arm: Add GIC phandle to VirtBoardInfo arm_gicv2m: Add GICv2m widget to support MSIs target-arm: Add the GICv2m to the virt board Shanker Donthineni (1): target-arm: Extend the gic node properties hw/arm/virt.c | 81 +++++++++++++++------ hw/intc/Makefile.objs | 1 + hw/intc/arm_gicv2m.c | 190 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 252 insertions(+), 20 deletions(-) create mode 100644 hw/intc/arm_gicv2m.c -- 2.1.2.330.g565301e.dirty