Re: [PATCH 06/41] hw/intc/arm_gicv3_its: Factor out "is intid a valid LPI ID?"

2022-04-08 Thread Richard Henderson
On 4/8/22 07:15, Peter Maydell wrote: In process_mapti() we check interrupt IDs to see whether they are in the valid LPI range. Factor this out into its own utility function, as we're going to want it elsewhere too for GICv4. Signed-off-by: Peter Maydell --- hw/intc/arm_gicv3_its.c | 10 +

[PATCH 06/41] hw/intc/arm_gicv3_its: Factor out "is intid a valid LPI ID?"

2022-04-08 Thread Peter Maydell
In process_mapti() we check interrupt IDs to see whether they are in the valid LPI range. Factor this out into its own utility function, as we're going to want it elsewhere too for GICv4. Signed-off-by: Peter Maydell --- hw/intc/arm_gicv3_its.c | 10 +++--- 1 file changed, 7 insertions(+), 3