Re: [PATCH 1/2] hw/intc/allwinner-a10-pic: Handle IRQ levels other than 0 or 1

2023-06-06 Thread Guenter Roeck
On Tue, Jun 06, 2023 at 11:46:08AM +0100, Peter Maydell wrote: > In commit 2c5fa0778c3b430 we fixed an endianness bug in the Allwinner > A10 PIC model; however in the process we introduced a regression. > This is because the old code was robust against the incoming 'level' > argument being somethin

[PATCH 1/2] hw/intc/allwinner-a10-pic: Handle IRQ levels other than 0 or 1

2023-06-06 Thread Peter Maydell
In commit 2c5fa0778c3b430 we fixed an endianness bug in the Allwinner A10 PIC model; however in the process we introduced a regression. This is because the old code was robust against the incoming 'level' argument being something other than 0 or 1, whereas the new code was not. In particular, the