Re: [Qemu-devel] [PATCH] hw/intc/arm_gic: Fix NVIC assertion failure

2014-02-18 Thread Christoffer Dall
On 18 February 2014 09:55, Peter Maydell wrote: > Commit 40d225009ef accidentally changed the behaviour of > gic_acknowledge_irq() for the NVIC. The NVIC doesn't have SGIs, > so this meant we hit an assertion: > gic_acknowledge_irq: Assertion `s->sgi_pending[irq][cpu] != 0' failed. > > Return NV

[Qemu-devel] [PATCH] hw/intc/arm_gic: Fix NVIC assertion failure

2014-02-18 Thread Peter Maydell
Commit 40d225009ef accidentally changed the behaviour of gic_acknowledge_irq() for the NVIC. The NVIC doesn't have SGIs, so this meant we hit an assertion: gic_acknowledge_irq: Assertion `s->sgi_pending[irq][cpu] != 0' failed. Return NVIC acknowledge-irq to its previous behaviour, like 11MPCore.