Re: [PATCH 08/24] hw/arm/mps2-tz: Condition IRQ splitting on number of CPUs, not board type

2021-02-12 Thread Philippe Mathieu-Daudé
On 2/5/21 6:00 PM, Peter Maydell wrote: > In the mps2-tz board code, we handle devices whose interrupt lines > must be wired to all CPUs by creating IRQ splitter devices for the > AN521, because it has 2 CPUs, but wiring the device IRQ directly to > the SSE/IoTKit input for the AN505, which has

[PATCH 08/24] hw/arm/mps2-tz: Condition IRQ splitting on number of CPUs, not board type

2021-02-05 Thread Peter Maydell
In the mps2-tz board code, we handle devices whose interrupt lines must be wired to all CPUs by creating IRQ splitter devices for the AN521, because it has 2 CPUs, but wiring the device IRQ directly to the SSE/IoTKit input for the AN505, which has only 1 CPU. We can avoid making an explicit check