Re: [Qemu-devel] [PATCH 12/15] ebus: wire up OBIO interrupts to APB pbm via qdev GPIOs

2017-11-20 Thread Mark Cave-Ayland
On 20/11/17 01:02, Philippe Mathieu-Daudé wrote: > Hi Mark, > > On 11/17/2017 10:42 AM, Mark Cave-Ayland wrote: >> This enables us to remove the static array mapping in the ISA IRQ >> handler (and the embedded reference to the APB device) by formalising >> the interrupt wiring via the qdev GPIO

Re: [Qemu-devel] [PATCH 12/15] ebus: wire up OBIO interrupts to APB pbm via qdev GPIOs

2017-11-19 Thread Philippe Mathieu-Daudé
Hi Mark, On 11/17/2017 10:42 AM, Mark Cave-Ayland wrote: > This enables us to remove the static array mapping in the ISA IRQ > handler (and the embedded reference to the APB device) by formalising > the interrupt wiring via the qdev GPIO API. > > For more clarity we replace the APB OBIO

Re: [Qemu-devel] [PATCH 12/15] ebus: wire up OBIO interrupts to APB pbm via qdev GPIOs

2017-11-17 Thread Artyom Tarasenko
On Fri, Nov 17, 2017 at 2:42 PM, Mark Cave-Ayland wrote: > This enables us to remove the static array mapping in the ISA IRQ > handler (and the embedded reference to the APB device) by formalising > the interrupt wiring via the qdev GPIO API. > > For more clarity we

[Qemu-devel] [PATCH 12/15] ebus: wire up OBIO interrupts to APB pbm via qdev GPIOs

2017-11-17 Thread Mark Cave-Ayland
This enables us to remove the static array mapping in the ISA IRQ handler (and the embedded reference to the APB device) by formalising the interrupt wiring via the qdev GPIO API. For more clarity we replace the APB OBIO interrupt numbers with constants designating the interrupt source, and