Bug Report: FVP_Base_RevC-2xAEMvA 11.30.27 GICv3Redistributor ITS MOVALL missing COMMAND=Clear on source PE

Product: Arm Fast Models FVP_Base_RevC-2xAEMvA
Version: 11.30.27 (Nov 14 2025)
Host Environment: Ubuntu 24.04.3 LTS (x86_64)
Mode Affected: Default GICv3 + ITS (ARE=1), verified under both default GITS_TYPER.PTA=1 and GITS_TYPER.PTA=0

Summary

GICv3Redistributor / ITS: MOVALL omits COMMAND=Clear to the source CPU interface, causing duplicate LPI delivery across PEs.

Description

When an edge-triggered LPI (8192 / 0x2000) is pending on source Redistributor RD0 and has already been forwarded (COMMAND=Set) to cluster0.cpu0.gicv3_cpu_if, executing the Arm IHI 0069H section 5.3.13 conforming ITS migration sequence:

  1. MAPC(ICID=0 -> RD1, V=1) + SYNC(RD0)
  2. MOVALL(RD0 -> RD1) + SYNC(RD0) + SYNC(RD1)

migrates the pending LPI to RD1 (forwarding 0x2000 to cpu1) and removes it from RD0, without sending COMMAND=Clear to recall the already-forwarded LPI from cluster0.cpu0.gicv3_cpu_if.

Observed guest impact across both PTA=1 and PTA=0:

  • T1 (single LPI 8192): Both CPU 0 and CPU 1 observe ICC_HPPIR1_EL1 == 0x2000 and acknowledge ICC_IAR1_EL1 == 0x2000 from a single INT command.
  • T2 (dual LPIs 8192 and 8193): CPU 0 acknowledges stale 0x2000 followed by 0x3ff (showing 8193 was evicted from RD0 while 8192 remained latched at cpu0.gicv3_cpu_if), whereas CPU 1 acknowledges both 0x2000 and 0x2001.
  • T3 (unmasked hardware IRQ): A single edge-triggered INT(8192) causes both CPU 0 and CPU 1 to take a hardware IRQ exception carrying ICC_IAR1_EL1 == 0x2000.

GenericTrace.so Comparison (MOVALL vs. MOVI)

Under GenericTrace.so, the paired MOVI control invokes GICv3_Redistributor_StartClearingOperation and sends COMMAND=Clear(0x2000) to cluster0.cpu0.gicv3_cpu_if (dropping cpu0's GICv3_IRQSignalOut before delivering 0x2000 exclusively to CPU 1). Under MOVALL, GICv3_Redistributor_StartClearingOperation / COMMAND=Clear is omitted on RD0.

Expected Behavior

Per Arm IHI 0069H section 5.3.13 (MOVALL), after MAPC(ICID0 -> RD1) + SYNC(RD0) + MOVALL(RD0 -> RD1) + SYNC(RD0) + SYNC(RD1), pending LPI 8192 must be cleared from RD0 and recalled from CPU 0's CPU interface (CPU 0 ICC_HPPIR1_EL1 == 0x3ff, ICC_IAR1_EL1 == 0x3ff, IRQ_CNT == 0) and delivered exclusively to CPU 1.

Steps to Reproduce

Clone or download the public standalone source-only reproducer Gist below and run:

ARM_FVP=/path/to/FVP_Base_RevC-2xAEMvA ./reproducer/run.sh

Public standalone reproducer files (Gist): https://gist.github.com/canxin121/64f416d22ea32d8c04b3d31ab89bb3d9

Best regards,
Xudong Zhang