]> git.ipfire.org Git - thirdparty/qemu.git/commit - hw/intc/trace-events
hw/intc/arm_gicv3_its: Handle virtual interrupts in process_its_cmd()
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 8 Apr 2022 14:15:23 +0000 (15:15 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 22 Apr 2022 08:24:44 +0000 (09:24 +0100)
commit469cf23bf857412e45bb480eabd8f0cd890b41b1
tree42cc6f06bab229bf54825e1b5ee8cb1f3a5fa5b4
parent2d692e2b314e212664e9ce72787ce0ecea615c61
hw/intc/arm_gicv3_its: Handle virtual interrupts in process_its_cmd()

For GICv4, interrupt table entries read by process_its_cmd() may
indicate virtual LPIs which are to be directly injected into a VM.
Implement the ITS side of the code for handling this.  This is
similar to the existing handling of physical LPIs, but instead of
looking up a collection ID in a collection table, we look up a vPEID
in a vPE table.  As with the physical LPIs, we leave the rest of the
work to code in the redistributor device.

The redistributor half will be implemented in a later commit;
for now we just provide a stub function which does nothing.

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