hw/intc: GICv3 ITS Command processing
authorShashi Mallela <shashi.mallela@linaro.org>
Mon, 13 Sep 2021 15:07:23 +0000 (16:07 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 13 Sep 2021 18:45:01 +0000 (19:45 +0100)
commitc694cb4cada0cd6c646f704e868072bbd4f55798
treebb83c37daf5e12cfcaa29306b7ad0d40f8381830
parent7eca39e071fc026f06eb3bbe9257d686f1d7e2e1
hw/intc: GICv3 ITS Command processing

Added ITS command queue handling for MAPTI,MAPI commands,handled ITS
translation which triggers an LPI via INT command as well as write
to GITS_TRANSLATER register,defined enum to differentiate between ITS
command interrupt trigger and GITS_TRANSLATER based interrupt trigger.
Each of these commands make use of other functionalities implemented to
get device table entry,collection table entry or interrupt translation
table entry required for their processing.

Signed-off-by: Shashi Mallela <shashi.mallela@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20210910143951.92242-5-shashi.mallela@linaro.org
[PMM: use INTERRUPT for ItsCmdType enum name to avoid
 conflict with INT type defined by Windows headers]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/intc/arm_gicv3_its.c
hw/intc/gicv3_internal.h
include/hw/intc/arm_gicv3_common.h