Product: Arm Fast Models FVP_Base_RevC-2xAEMvA Version: 11.30.27 (Nov 14 2025) Host Environment: Ubuntu 24.04.3 LTS (x86_64) Modes Affected: Both gicv3.gicv2-only=1 and GICv3 legacy ARE=0 (gicv3.gicv2-only=0, gic_distributor.ARE-fixed-to-one=0, gic_distributor.non-ARE-core-count=4)
FVP_Base_RevC-2xAEMvA
gicv3.gicv2-only=1
ARE=0
gicv3.gicv2-only=0
gic_distributor.ARE-fixed-to-one=0
gic_distributor.non-ARE-core-count=4
Summary
GICv3Redistributor / GICv3-PITS: legacy SGI 13-bit (CPUID << 10) | SGI_ID vs. bare 10-bit SGI_ID lookup mismatch across GICD_CPENDSGIRn, GICD_ICENABLER0, and GICD_ISACTIVER0.
GICv3Redistributor
GICv3-PITS
(CPUID << 10) | SGI_ID
SGI_ID
GICD_CPENDSGIRn
GICD_ICENABLER0
GICD_ISACTIVER0
Description
In legacy GICv2 / ARE=0 mode on FVP_Base_RevC-2xAEMvA 11.30.27, GenericTrace.so traces and bare-metal tests show that GICv3Redistributor inserts pending legacy SGIs into its Pending Interrupt Tracking Structure (GICv3-PITS) carrying the 13-bit composite identifier (CPUID << 10) | SGI_ID (for example, 0x0404 for CPUID=1, SGI=4), whereas clear, disable, and active-filtering operations look up or mask only the bare 10-bit SGI_ID (CPUID == 0).
FVP_Base_RevC-2xAEMvA 11.30.27
GenericTrace.so
0x0404
CPUID=1, SGI=4
CPUID == 0
This key mismatch produces three reproducible architectural conformance issues whenever the source CPUID is non-zero:
CPUID
STRB
STR
GICD_SPENDSGIRn
0x00000000
GICC_HPPIR
GICC_IAR
0x404
0x405
0xc00
0x3ff
DAIF.I=0
IRQ_COUNT=1
IAR=0x404
GICD_SPENDSGIR1 == 0x0
GICC_CTLR=0
GICD_CPENDSGIR1=0x02
GICC_CTLR=3
COMMAND=Set(0x0404)
legacy-sgi-enable-rao=0
GICD_ISENABLER0[4]
0xffffffff -> 0xffffffef
GICv3_Handle_Clear_Interrupt
0x0004
CPUID=0
0x0804
0x0c04
GICD_ISENABLER0[4] == 0
GICD_ISACTIVER0 = (1 << 4)
0x0004 -> 0x3ff
CPUID=1
0x0004 + 0x0404
EOImodeS=0
0x0404 + 0x0804
EOImodeS=1
TrackActive(0x4)
GICD_ISACTIVER0 == 0x10
Expected Behavior
Per Arm IHI 0048B.b (sections 3.2.1, 3.2.2, 3.2.4, 4.3.6, 4.3.9, 4.3.15, 4.3.16, 4.4.4, 4.4.7, 4.5) and Arm IHI 0069H.b (sections 5.3, 12.9.3 GICD_CPENDSGIR<n>, 12.9.7 GICD_ICENABLER<n>, 12.9.34 GICD_ISACTIVER<n>):
GICD_CPENDSGIR<n>
GICD_ICENABLER<n>
GICD_ISACTIVER<n>
(CPUID, SGI)
GICD_ISACTIVER0[n] == 1
Paired controls (GICD_ICPENDR0/1 PPI 25 & SPI 40, CPUID=0 SGI 4, sequential arrival, and same-source active-and-pending) all pass on the same FVP configuration.
GICD_ICPENDR0/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/4d183e2f09f9aa56cdcde5e476cb8bcb
Best regards,Xudong Zhang