summary refs log tree commit diff stats
path: root/hw/intc/gicv3_internal.h
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2022-04-08 15:15:28 +0100
committerPeter Maydell <peter.maydell@linaro.org>2022-04-22 14:44:52 +0100
commitd4014320a430d2ac07f896b9ce38778258060deb (patch)
tree04a7d2a3453a00cc5e71f6088d66ef48a7d10f23 /hw/intc/gicv3_internal.h
parenta686e85d2b4a3b95d97d01dfa3fd4607f1216cf0 (diff)
downloadfocaccia-qemu-d4014320a430d2ac07f896b9ce38778258060deb.tar.gz
focaccia-qemu-d4014320a430d2ac07f896b9ce38778258060deb.zip
hw/intc/arm_gicv3_its: Implement INV for virtual interrupts
Implement the ITS side of the handling of the INV command for
virtual interrupts; as usual this calls into a redistributor
function which we leave as a stub to fill in later.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220408141550.1271295-20-peter.maydell@linaro.org
Diffstat (limited to '')
-rw-r--r--hw/intc/gicv3_internal.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/hw/intc/gicv3_internal.h b/hw/intc/gicv3_internal.h
index 011a11a1c6..f5b8509f48 100644
--- a/hw/intc/gicv3_internal.h
+++ b/hw/intc/gicv3_internal.h
@@ -586,6 +586,15 @@ void gicv3_redist_update_lpi_only(GICv3CPUState *cs);
  */
 void gicv3_redist_inv_lpi(GICv3CPUState *cs, int irq);
 /**
+ * gicv3_redist_inv_vlpi:
+ * @cs: GICv3CPUState
+ * @irq: vLPI to invalidate cached information for
+ * @vptaddr: (guest) address of vLPI table
+ *
+ * Forget or update any cached information associated with this vLPI.
+ */
+void gicv3_redist_inv_vlpi(GICv3CPUState *cs, int irq, uint64_t vptaddr);
+/**
  * gicv3_redist_mov_lpi:
  * @src: source redistributor
  * @dest: destination redistributor