Re: [Qemu-devel] [RFC PATCH] qemu spapr-pci: added IRQ list to PCIBus

2012-05-16 Thread Alexey Kardashevskiy
On 17/05/12 13:00, Benjamin Herrenschmidt wrote: > On Thu, 2012-05-17 at 12:16 +1000, Alexey Kardashevskiy wrote: > >>> It actually can change dynamically on x86 due to acpi interrupt links >>> which allow the guest a generic way to select from a set of possible >>> interrupt routing schemes. And

Re: [Qemu-devel] [RFC PATCH] qemu spapr-pci: added IRQ list to PCIBus

2012-05-16 Thread Alex Williamson
On Thu, 2012-05-17 at 13:00 +1000, Benjamin Herrenschmidt wrote: > On Thu, 2012-05-17 at 12:16 +1000, Alexey Kardashevskiy wrote: > > > > It actually can change dynamically on x86 due to acpi interrupt links > > > which allow the guest a generic way to select from a set of possible > > > interrupt

Re: [Qemu-devel] [RFC PATCH] qemu spapr-pci: added IRQ list to PCIBus

2012-05-16 Thread Benjamin Herrenschmidt
On Thu, 2012-05-17 at 12:16 +1000, Alexey Kardashevskiy wrote: > > It actually can change dynamically on x86 due to acpi interrupt links > > which allow the guest a generic way to select from a set of possible > > interrupt routing schemes. And of course a chipset driver could twiddle > > bits if

Re: [Qemu-devel] [RFC PATCH] qemu spapr-pci: added IRQ list to PCIBus

2012-05-16 Thread Alexey Kardashevskiy
On 17/05/12 06:39, Alex Williamson wrote: > On Mon, 2012-05-14 at 14:21 +1000, Alexey Kardashevskiy wrote: >> On 14/05/12 11:58, David Gibson wrote: >>> On Sat, May 12, 2012 at 05:29:53PM +1000, Alexey Kardashevskiy wrote: There is a need for a mechanism to obtain an IRQ line number to in

Re: [Qemu-devel] [RFC PATCH] qemu spapr-pci: added IRQ list to PCIBus

2012-05-16 Thread Alex Williamson
On Mon, 2012-05-14 at 14:21 +1000, Alexey Kardashevskiy wrote: > On 14/05/12 11:58, David Gibson wrote: > > On Sat, May 12, 2012 at 05:29:53PM +1000, Alexey Kardashevskiy wrote: > >> There is a need for a mechanism to obtain an IRQ line number to > >> initialize End-Of-Interrupt handler. > >> > >>

Re: [Qemu-devel] [RFC PATCH] qemu spapr-pci: added IRQ list to PCIBus

2012-05-13 Thread Alexey Kardashevskiy
On 14/05/12 11:58, David Gibson wrote: > On Sat, May 12, 2012 at 05:29:53PM +1000, Alexey Kardashevskiy wrote: >> There is a need for a mechanism to obtain an IRQ line number to >> initialize End-Of-Interrupt handler. >> >> There is another proposed solution (commit >> b7790763828b732059ad24ba0e64c

Re: [Qemu-devel] [RFC PATCH] qemu spapr-pci: added IRQ list to PCIBus

2012-05-13 Thread David Gibson
On Sat, May 12, 2012 at 05:29:53PM +1000, Alexey Kardashevskiy wrote: > There is a need for a mechanism to obtain an IRQ line number to > initialize End-Of-Interrupt handler. > > There is another proposed solution (commit > b7790763828b732059ad24ba0e64ce327563fe1a "pci: Add callbacks > to support

[Qemu-devel] [RFC PATCH] qemu spapr-pci: added IRQ list to PCIBus

2012-05-12 Thread Alexey Kardashevskiy
There is a need for a mechanism to obtain an IRQ line number to initialize End-Of-Interrupt handler. There is another proposed solution (commit b7790763828b732059ad24ba0e64ce327563fe1a "pci: Add callbacks to support retrieving and updating interrupts") which adds pci_get_irq callback to every PCI