From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44213) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VGsfB-0004VD-PI for qemu-devel@nongnu.org; Tue, 03 Sep 2013 11:37:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VGsf5-0005Y2-IX for qemu-devel@nongnu.org; Tue, 03 Sep 2013 11:37:05 -0400 Message-ID: <52260218.9090405@suse.de> Date: Tue, 03 Sep 2013 17:36:56 +0200 From: Alexander Graf 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; format=flowed 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: "Michael S. Tsirkin" Cc: Alexey Kardashevskiy , qemu-ppc@nongnu.org, Paul Mackerras , qemu-devel@nongnu.org, Paolo Bonzini On 09/03/2013 10:17 AM, Michael S. Tsirkin wrote: > On Tue, Sep 03, 2013 at 06:08:25PM +1000, Alexey Kardashevskiy wrote: >> 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 Thanks, applied to ppc-next. Alex