From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YM7Qg-0001aA-TZ for qemu-devel@nongnu.org; Thu, 12 Feb 2015 23:00:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YM7Qc-0007uW-AT for qemu-devel@nongnu.org; Thu, 12 Feb 2015 23:00:34 -0500 Received: from mail-we0-f175.google.com ([74.125.82.175]:45780) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YM7Qc-0007uO-4a for qemu-devel@nongnu.org; Thu, 12 Feb 2015 23:00:30 -0500 Received: by mail-we0-f175.google.com with SMTP id x3so14199049wes.6 for ; Thu, 12 Feb 2015 20:00:29 -0800 (PST) From: Eric Auger Date: Fri, 13 Feb 2015 04:00:17 +0000 Message-Id: <1423800020-10940-1-git-send-email-eric.auger@linaro.org> Subject: [Qemu-devel] [RFC 0/3] VFIO Platform device featuring IRQ forwarding List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: eric.auger@st.com, eric.auger@linaro.org, christoffer.dall@linaro.org, qemu-devel@nongnu.org, alex.williamson@redhat.com, peter.maydell@linaro.org, agraf@suse.de, b.reynal@virtualopensystems.com, feng.wu@intel.com Cc: kim.phillips@freescale.com, patches@linaro.org, a.rigo@virtualopensystems.com, afaerber@suse.de, Bharat.Bhushan@freescale.com, a.motakis@virtualopensystems.com, pbonzini@redhat.com, kvmarm@lists.cs.columbia.edu This series adds IRQ forwarding support in the VFIO platform device. The VFIO platform device uses the KVM-VFIO device to enable IRQ forwarding. Dependency List: - KVM platform device passthrough PATCH v10 and all its dependencies + following kernel dependencies: - [RFC PATCH 0/9] ARM: Forwarding physical interrupts to a guest VM http://lwn.net/Articles/603514/ - [RFC v2 0/4] chip/vgic adaptations for forwarded irq http://permalink.gmane.org/gmane.comp.emulators.kvm.devel/132731 - [RFC v4 00/13] KVM-VFIO IRQ forward control http://www.spinics.net/lists/arm-kernel/msg398183.html Repos: - kernel pieces can be found at: http://git.linaro.org/people/eric.auger/linux.git (branch irqfd_integ_v9) - QEMU pieces can be found at: http://git.linaro.org/people/eric.auger/qemu.git (branch vfio_integ_v10) The patch series was tested on Calxeda Midway (ARMv7) where one xgmac is assigned to KVM host while the second one is assigned to the guest. Reworked PCI device is not tested. Wiki for Calxeda Midway setup: https://wiki.linaro.org/LEG/Engineering/Virtualization/Platform_Device_Passthrough_on_Midway History: - that code originally was in KVM platform device passthrough series (v8), now moved in a separate RFC since dependent on many RFCs. Best Regards Eric Eric Auger (3): linux-headers: Update KVM header for KVM-VFIO FORWARD/UNFORWARD hw/vfio/common: vfio_kvm_device_fd moved in the common header hw/vfio/platform: add forwarded irq support hw/vfio/common.c | 3 +- hw/vfio/platform.c | 64 +++++++++++++++++++++++++++++++++++++++++ include/hw/vfio/vfio-common.h | 5 ++++ include/hw/vfio/vfio-platform.h | 3 ++ linux-headers/linux/kvm.h | 23 ++++++++------- trace-events | 1 + 6 files changed, 87 insertions(+), 12 deletions(-) -- 1.8.3.2