Re: [Qemu-devel] [PATCH] sPAPR: implement route_intx_to_irq to get gsi of pci device.

2013-09-22 Thread liu ping fan
On Mon, Sep 23, 2013 at 9:59 AM, Alexey Kardashevskiy wrote: > On 09/22/2013 09:47 PM, Liu Ping Fan wrote: >> This is useful when pci assignment happens on sPAPR. > > > I have almost the same patch in my queue already, it will enable irqfd for > both INTX and MSI, I am just waiting till in-kernel

Re: [Qemu-devel] [PATCH] sPAPR: implement route_intx_to_irq to get gsi of pci device.

2013-09-22 Thread Alexey Kardashevskiy
On 09/22/2013 09:47 PM, Liu Ping Fan wrote: > This is useful when pci assignment happens on sPAPR. I have almost the same patch in my queue already, it will enable irqfd for both INTX and MSI, I am just waiting till in-kernel XICS patchset gets in upstream and then I'll post it. > Signed-off-by

Re: [Qemu-devel] [PATCH] sPAPR: implement route_intx_to_irq to get gsi of pci device.

2013-09-22 Thread liu ping fan
On Mon, Sep 23, 2013 at 4:02 AM, Alexander Graf wrote: > > Am 22.09.2013 um 13:47 schrieb Liu Ping Fan : > >> This is useful when pci assignment happens on sPAPR. > > This patch doesn't sound useful on its own to me, thus probably belongs in a > greater patch set. > Yes, I think, it will be appli

Re: [Qemu-devel] [PATCH] sPAPR: implement route_intx_to_irq to get gsi of pci device.

2013-09-22 Thread Alexander Graf
Am 22.09.2013 um 13:47 schrieb Liu Ping Fan : > This is useful when pci assignment happens on sPAPR. This patch doesn't sound useful on its own to me, thus probably belongs in a greater patch set. And without even a clear commit message that explains why exactly this is going to be "useful" e

[Qemu-devel] [PATCH] sPAPR: implement route_intx_to_irq to get gsi of pci device.

2013-09-22 Thread Liu Ping Fan
This is useful when pci assignment happens on sPAPR. Signed-off-by: Liu Ping Fan --- This patch will apply on patches which enable xics in kernel. --- hw/intc/xics.c| 5 + hw/ppc/spapr_pci.c| 14 ++ include/hw/ppc/xics.h | 1 + 3 files changed, 20 insertions(+) dif