From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33846) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHc0P-00041l-20 for qemu-devel@nongnu.org; Thu, 05 Sep 2013 12:02:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHc0J-00021u-1z for qemu-devel@nongnu.org; Thu, 05 Sep 2013 12:02:00 -0400 Sender: Paolo Bonzini Message-ID: <5228AAE5.3030002@redhat.com> Date: Thu, 05 Sep 2013 18:01:41 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1378195705-5143-1-git-send-email-aik@ozlabs.ru> <20130903081726.GB18901@redhat.com> In-Reply-To: <20130903081726.GB18901@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v6] kvm irqfd: support direct msimessage to irq translation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: Alexey Kardashevskiy , Paul Mackerras , qemu-ppc@nongnu.org, qemu-devel@nongnu.org, "Michael S. Tsirkin" Il 03/09/2013 10:17, Michael S. Tsirkin ha scritto: >> On PPC64 systems MSI Messages are translated to system IRQ in a PCI >> > host bridge. This is already supported for emulated MSI/MSIX but >> > not for irqfd where the current QEMU allocates IRQ numbers from >> > irqchip and maps MSIMessages to IRQ in the host kernel. >> > >> > This adds a new direct mapping flag which tells >> > the kvm_irqchip_add_msi_route() function that a new VIRQ >> > should not be allocated, instead the value from MSIMessage::data >> > should be used. It is up to the platform code to make sure that >> > this contains a valid IRQ number as sPAPR does in spapr_pci.c. >> > >> > Signed-off-by: Alexey Kardashevskiy > Fine with me > > Acked-by: Michael S. Tsirkin > Alex, are you picking this one? Paolo