hw/intc/arm_gicv3_its: Implement VMAPI and VMAPTI
commit9de53de60cb8638e9c2e02b25ec4445791672aeb
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 8 Apr 2022 14:15:17 +0000 (8 15:15 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 22 Apr 2022 08:23:12 +0000 (22 09:23 +0100)
tree67d263353553b97ede6b66a624dee4949cbf7b40
parent50d84584d3c77e3a9104826a53a691318aeaf038
hw/intc/arm_gicv3_its: Implement VMAPI and VMAPTI

Implement the GICv4 VMAPI and VMAPTI commands. These write
an interrupt translation table entry that maps (DeviceID,EventID)
to (vPEID,vINTID,doorbell). The only difference between VMAPI
and VMAPTI is that VMAPI assumes vINTID == EventID rather than
both being specified in the command packet.

(This code won't be reachable until we allow the GIC version to be
set to 4.  Support for reading this new virtual-interrupt DTE and
handling it correctly will be implemented in a later commit.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220408141550.1271295-9-peter.maydell@linaro.org
hw/intc/arm_gicv3_its.c
hw/intc/gicv3_internal.h
hw/intc/trace-events