From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48798) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZgYi1-0006Ay-0J for qemu-devel@nongnu.org; Mon, 28 Sep 2015 09:43:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZgYhw-00074w-1L for qemu-devel@nongnu.org; Mon, 28 Sep 2015 09:43:12 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:51404) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZgYhv-00074c-O4 for qemu-devel@nongnu.org; Mon, 28 Sep 2015 09:43:07 -0400 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NVE00ARR3FT9I00@mailout1.w1.samsung.com> for qemu-devel@nongnu.org; Mon, 28 Sep 2015 14:43:05 +0100 (BST) From: Pavel Fedin Date: Mon, 28 Sep 2015 16:42:54 +0300 Message-id: Subject: [Qemu-devel] [RFC PATCH 0/6] vITS support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Diana Craciun , Paolo Bonzini , Shlomo Pongratz , Shlomo Pongratz , Peter Maydell This series introduces support for in-kernel GICv3 ITS emulation. It is based on kernel API which is not released yet, therefore i post it as an RFC. However, if respective maintainers think this is appropriate, infrastructure-related parts of this set (patch N1 and parts of patch N4) can be applied right now, in order to simplify future addition. Kernel patches which implement this functionality are: - [PATCH v2 00/15] KVM: arm64: GICv3 ITS emulation http://www.spinics.net/lists/arm-kernel/msg430724.html - [PATCH v3 0/7] KVM: arm/arm64: gsi routing support http://www.spinics.net/lists/kvm/msg119567.html Pavel Fedin (6): kvm: Make KVM_CAP_SIGNAL_MSI globally available hw/intc: Implement ITS base class Add vGICv3 ITS definitions kvm: Implement passing device ID to MSI routing functions kvm_arm: Implement support for ITS emulation by KVM arm/virt: Add ITS to the virt board hw/arm/virt.c | 47 ++++++++++++++--- hw/i386/kvm/pci-assign.c | 9 ++-- hw/intc/Makefile.objs | 2 + hw/intc/arm_gicv3_its_common.c | 96 ++++++++++++++++++++++++++++++++++ hw/intc/arm_gicv3_its_kvm.c | 88 +++++++++++++++++++++++++++++++ hw/vfio/pci.c | 11 ++-- hw/virtio/virtio-pci.c | 5 +- include/hw/intc/arm_gicv3_its_common.h | 63 ++++++++++++++++++++++ include/sysemu/kvm.h | 15 +++++- kvm-all.c | 27 ++++++---- kvm-stub.c | 5 +- linux-headers/asm-arm64/kvm.h | 1 + linux-headers/linux/kvm.h | 9 +++- target-arm/kvm_arm.h | 10 ++++ target-arm/machine.c | 16 ++++++ 15 files changed, 372 insertions(+), 32 deletions(-) create mode 100644 hw/intc/arm_gicv3_its_common.c create mode 100644 hw/intc/arm_gicv3_its_kvm.c create mode 100644 include/hw/intc/arm_gicv3_its_common.h -- 2.4.4