Re: [Qemu-devel] [PATCH v5 for-2.3 23/28] hw/pxb: add map_irq func

2015-03-16 Thread Michael S. Tsirkin
On Mon, Mar 16, 2015 at 02:11:45PM +0200, Marcel Apfelbaum wrote: > On 03/10/2015 06:43 PM, Michael S. Tsirkin wrote: > >On Tue, Mar 10, 2015 at 05:32:09PM +0200, Marcel Apfelbaum wrote: > >>The bios does not index the pxb slot number when > >>it computes the IRQ because it resides on bus 0 > >>and

Re: [Qemu-devel] [PATCH v5 for-2.3 23/28] hw/pxb: add map_irq func

2015-03-16 Thread Marcel Apfelbaum
On 03/10/2015 06:43 PM, Michael S. Tsirkin wrote: On Tue, Mar 10, 2015 at 05:32:09PM +0200, Marcel Apfelbaum wrote: The bios does not index the pxb slot number when it computes the IRQ because it resides on bus 0 and not on the current bus. However Qemu routes the irq through bus 0 and adds the

[Qemu-devel] [PATCH v5 for-2.3 23/28] hw/pxb: add map_irq func

2015-03-10 Thread Marcel Apfelbaum
The bios does not index the pxb slot number when it computes the IRQ because it resides on bus 0 and not on the current bus. However Qemu routes the irq through bus 0 and adds the pxb slot to the IRQ computation. Synchronize between bios and Qemu by canceling pxb's effect. Signed-off-by: Marcel A

Re: [Qemu-devel] [PATCH v5 for-2.3 23/28] hw/pxb: add map_irq func

2015-03-10 Thread Michael S. Tsirkin
On Tue, Mar 10, 2015 at 05:32:09PM +0200, Marcel Apfelbaum wrote: > The bios does not index the pxb slot number when > it computes the IRQ because it resides on bus 0 > and not on the current bus. > However Qemu routes the irq through bus 0 and adds > the pxb slot to the IRQ computation. > > Synch