GIC CDAFF
Interrupt Set Target in the Current Interrupt Domain
Sets the routing mode and target PE for the specified INTID in the Current Interrupt Domain.
If the Current Interrupt Domain is the Virtual Interrupt Domain, this operation applies to the virtual INTID in the VM identified by the resident VPE.
Configuration
This instruction is present only when FEAT_GCIE is implemented and FEAT_AA64 is implemented. Otherwise, direct accesses to GIC CDAFF are UNDEFINED.
Attributes
GIC CDAFF is a 64-bit System instruction.
Field descriptions
| 63 | 62 | 61 | 60 | 59 | 58 | 57 | 56 | 55 | 54 | 53 | 52 | 51 | 50 | 49 | 48 | 47 | 46 | 45 | 44 | 43 | 42 | 41 | 40 | 39 | 38 | 37 | 36 | 35 | 34 | 33 | 32 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RES0 | IAFFID | ||||||||||||||||||||||||||||||
| TYPE | IRM | RES0 | ID | ||||||||||||||||||||||||||||
Bits [63:48]:
Reserved, RES0.
IAFFID, bits [47:32]:
The interrupt Affinity value.
The IRS may support fewer than 16 bits of IAFFID. Unimplemented upper bits are treated as RES0 by the IRS.
When IRM is 1, this field provides an IMPDEF hint to 1ofN selection algorithm. A value of 0 means that no hint is provided.
TYPE, bits [31:29]:
Type of the interrupt
| TYPE | Meaning |
|---|---|
| 0b010 |
LPI |
| 0b011 |
SPI |
All other values are reserved.
IRM, bit [28]:
Controls how the interrupt is routed.
If the GIC IRS does not support 1ofN distribution of the specified interrupt Type, this configuration is treated as RES0.
| IRM | Meaning |
|---|---|
| 0b0 |
Targeted |
| 0b1 |
1ofN |
Bits [27:24]:
Reserved, RES0.
ID, bits [23:0]:
The ID of the interrupt.
ID and TYPE together form an INTID.
The number of ID bits implemented is reported in ICC_IDR0_EL1.ID_BITS. Unimplemented upper bits are RES0.
Executing GIC CDAFF
This instruction has no effect if the INTID is unreachable.
This instruction is treated as a NOP if the operation applies to the Virtual Interrupt Domain and there is no resident VPE.
This system instruction is an alias of the SYS instruction.
Accesses to this instruction use the following encodings in the System instruction encoding space:
GIC CDAFF{, <Xt>}
(op0 = 0b01, op1 = 0b000, CRn = 0b1100, CRm = 0b0001, op2 = 0b011)
if !(IsFeatureImplemented(FEAT_GCIE) && IsFeatureImplemented(FEAT_AA64)) then
Undefined();
elsif PSTATE.EL == EL0 then
Undefined();
elsif PSTATE.EL == EL1 then
if EL2Enabled() && HCR_EL2().IMO == '1' && IsFeatureImplemented(FEAT_GCIE_LEGACY) && ICH_VCTLR_EL2().V3 == '1' then
Undefined();
elsif EL2Enabled() && ICH_HFGITR_EL2().GICCDAFF == '0' then
AArch64_SystemAccessTrap(EL2, 0x18);
else
AArch64_GIC(X{64}(t), GICInstrDomain_CD, GICInstr_AFF);
end;
elsif PSTATE.EL == EL2 then
AArch64_GIC(X{64}(t), GICInstrDomain_CD, GICInstr_AFF);
elsif PSTATE.EL == EL3 then
AArch64_GIC(X{64}(t), GICInstrDomain_CD, GICInstr_AFF);
end;
Version 2026.09 — Copyright © 2010-2026 Arm Limited or its affiliates.
This site is provided as a community resource and is NOT affiliated with nor endorsed by Arm Limited.