hw/intc/arm_gicv3: Add irq non-maskable property
authorJinjie Ruan <ruanjinjie@huawei.com>
Fri, 19 Apr 2024 13:33:02 +0000 (14:33 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 25 Apr 2024 09:21:05 +0000 (10:21 +0100)
commit0e9f4e8e7b9e3bde8b8c0a84c577f64c679b535c
treeb28564457fa1f56fa01d5fe719adf144e9ac3475
parent67d74e4c54236b53917edfa9f52efb4207064014
hw/intc/arm_gicv3: Add irq non-maskable property

A SPI, PPI or SGI interrupt can have non-maskable property. So maintain
non-maskable property in PendingIrq and GICR/GICD. Since add new device
state, it also needs to be migrated, so also save NMI info in
vmstate_gicv3_cpu and vmstate_gicv3.

Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20240407081733.3231820-16-ruanjinjie@huawei.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/intc/arm_gicv3_common.c
include/hw/intc/arm_gicv3_common.h