hw/intc/arm_gicv3: Add has-nmi property to GICv3 device
authorJinjie Ruan <ruanjinjie@huawei.com>
Fri, 19 Apr 2024 13:33:01 +0000 (14:33 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 25 Apr 2024 09:21:05 +0000 (10:21 +0100)
commitc9e86cbd3400032dc818bf24e823959e565b8b41
treee3d814800eade504912ed2e164cfd87d73ed1546
parente4eb290571606c5e6dc7739547b5056389cd92fb
hw/intc/arm_gicv3: Add has-nmi property to GICv3 device

Add a property has-nmi to the GICv3 device, and use this to set
the NMI bit in the GICD_TYPER register. This isn't visible to
guests yet because the property defaults to false and we won't
set it in the board code until we've landed all of the changes
needed to implement FEAT_GICV3_NMI.

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