ICC_CTLR_EL3, Interrupt Controller Control Register (EL3)
The ICC_CTLR_EL3 characteristics are:
Purpose
Controls aspects of the behavior of the GIC CPU interface and provides information about the features implemented.
Configuration
AArch64 System register ICC_CTLR_EL3 bits [31:0] can be mapped to AArch32 System register ICC_MCTLR[31:0] , but this is not architecturally mandated.
This register is present only when EL3 is implemented. Otherwise, direct accesses to ICC_CTLR_EL3 are UNDEFINED.
Attributes
ICC_CTLR_EL3 is a 64-bit register.
Field descriptions
The ICC_CTLR_EL3 bit assignments are:
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 |
RES0 | |||||||||||||||||||||||||||||||
RES0 | ExtRange | RSS | nDS | RES0 | A3V | SEIS | IDbits | PRIbits | RES0 | PMHE | RM | EOImode_EL1NS | EOImode_EL1S | EOImode_EL3 | CBPR_EL1NS | CBPR_EL1S | |||||||||||||||
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 |
Bits [63:20]
Reserved, RES0.
ExtRange, bit [19]
Extended INTID range (read-only).
ExtRange | Meaning |
---|---|
0b0 | CPU interface does not support INTIDs in the range 1024..8191.
Note Arm strongly recommends that the IRI is not configured to deliver interrupts in this range to a PE that does not support them. |
0b1 | CPU interface supports INTIDs in the range 1024..8191
|
RSS, bit [18]
Range Selector Support.
RSS | Meaning |
---|---|
0b0 |
Targeted SGIs with affinity level 0 values of 0-15 are supported. |
0b1 |
Targeted SGIs with affinity level 0 values of 0-255 are supported. |
This bit is read-only.
nDS, bit [17]
Disable Security not supported. Read-only and writes are ignored.
nDS | Meaning |
---|---|
0b0 |
The CPU interface logic supports disabling of security. |
0b1 |
The CPU interface logic does not support disabling of security, and requires that security is not disabled. |
Bit [16]
Reserved, RES0.
A3V, bit [15]
Affinity 3 Valid. Read-only and writes are ignored.
A3V | Meaning |
---|---|
0b0 |
The CPU interface logic does not support non-zero values of the Aff3 field in SGI generation System registers. |
0b1 |
The CPU interface logic supports non-zero values of the Aff3 field in SGI generation System registers. |
If EL3 is present, ICC_CTLR_EL1.A3V is an alias of ICC_CTLR_EL3.A3V
SEIS, bit [14]
SEI Support. Read-only and writes are ignored. Indicates whether the CPU interface supports generation of SEIs:
SEIS | Meaning |
---|---|
0b0 |
The CPU interface logic does not support generation of SEIs. |
0b1 |
The CPU interface logic supports generation of SEIs. |
If EL3 is present, ICC_CTLR_EL1.SEIS is an alias of ICC_CTLR_EL3.SEIS
IDbits, bits [13:11]
Identifier bits. Read-only and writes are ignored. Indicates the number of physical interrupt identifier bits supported.
IDbits | Meaning |
---|---|
0b000 |
16 bits. |
0b001 |
24 bits. |
All other values are reserved.
If EL3 is present, ICC_CTLR_EL1.IDbits is an alias of ICC_CTLR_EL3.IDbits
PRIbits, bits [10:8]
Priority bits. Read-only and writes are ignored. The number of priority bits implemented, minus one.
An implementation that supports two Security states must implement at least 32 levels of physical priority (5 priority bits).
An implementation that supports only a single Security state must implement at least 16 levels of physical priority (4 priority bits).
This field always returns the number of priority bits implemented, regardless of the value of SCR_EL3.NS or the value of GICD_CTLR.DS.
The division between group priority and subpriority is defined in the binary point registers ICC_BPR0_EL1 and ICC_BPR1_EL1.
This field determines the minimum value of ICC_BPR0_EL1.
Bit [7]
Reserved, RES0.
PMHE, bit [6]
Priority Mask Hint Enable.
PMHE | Meaning |
---|---|
0b0 |
Disables use of the priority mask register as a hint for interrupt distribution. |
0b1 |
Enables use of the priority mask register as a hint for interrupt distribution. |
Software must write ICC_PMR_EL1 to 0xFF before clearing this field to 0.
- An implementation might choose to make this field RAO/WI if priority-based routing is always used
- An implementation might choose to make this field RAZ/WI if priority-based routing is never used
If EL3 is present, ICC_CTLR_EL1.PMHE is an alias of ICC_CTLR_EL3.PMHE.
On a Warm reset, this field resets to 0.
RM, bit [5]
Routing Modifier. For legacy operation of EL1 software with GICC_CTLR.FIQEn set to 1, this bit indicates whether interrupts can be acknowledged or observed as the Highest Priority Pending Interrupt, or whether a special INTID value is returned.
Possible values of this bit are:
RM | Meaning |
---|---|
0b0 |
Secure Group 0 and Non-secure Group 1 interrupts can be acknowledged and observed as the highest priority interrupt at the Secure Exception level where the interrupt is taken. |
0b1 | When accessed at EL3 in AArch64 state:
|
The Routing Modifier bit is supported in AArch64 only. In systems without EL3 the behavior is as if the value is 0. Software must ensure this bit is 0 when the Secure copy of ICC_SRE_EL1.SRE is 1, otherwise system behavior is UNPREDICTABLE. In systems without EL3 or where the Secure copy of ICC_SRE_EL1.SRE is RAO/WI, this bit is RES0.
On a Warm reset, this field resets to an architecturally UNKNOWN value.
EOImode_EL1NS, bit [4]
EOI mode for interrupts handled at Non-secure EL1 and EL2. Controls whether a write to an End of Interrupt register also deactivates the interrupt.
EOImode_EL1NS | Meaning |
---|---|
0b0 |
ICC_EOIR0_EL1 and ICC_EOIR1_EL1 provide both priority drop and interrupt deactivation functionality. Accesses to ICC_DIR_EL1 are UNPREDICTABLE. |
0b1 |
ICC_EOIR0_EL1 and ICC_EOIR1_EL1 provide priority drop functionality only. ICC_DIR_EL1 provides interrupt deactivation functionality. |
If EL3 is present, ICC_CTLR_EL1(NS).EOImode is an alias of ICC_CTLR_EL3.EOImode_EL1NS.
On a Warm reset, this field resets to an architecturally UNKNOWN value.
EOImode_EL1S, bit [3]
EOI mode for interrupts handled at Secure EL1 and EL2. Controls whether a write to an End of Interrupt register also deactivates the interrupt.
EOImode_EL1S | Meaning |
---|---|
0b0 |
ICC_EOIR0_EL1 and ICC_EOIR1_EL1 provide both priority drop and interrupt deactivation functionality. Accesses to ICC_DIR_EL1 are UNPREDICTABLE. |
0b1 |
ICC_EOIR0_EL1 and ICC_EOIR1_EL1 provide priority drop functionality only. ICC_DIR_EL1 provides interrupt deactivation functionality. |
If EL3 is present, ICC_CTLR_EL1(S).EOImode is an alias of ICC_CTLR_EL3.EOImode_EL1S.
On a Warm reset, this field resets to an architecturally UNKNOWN value.
EOImode_EL3, bit [2]
EOI mode for interrupts handled at EL3. Controls whether a write to an End of Interrupt register also deactivates the interrupt.
EOImode_EL3 | Meaning |
---|---|
0b0 |
ICC_EOIR0_EL1 and ICC_EOIR1_EL1 provide both priority drop and interrupt deactivation functionality. Accesses to ICC_DIR_EL1 are UNPREDICTABLE. |
0b1 |
ICC_EOIR0_EL1 and ICC_EOIR1_EL1 provide priority drop functionality only. ICC_DIR_EL1 provides interrupt deactivation functionality. |
On a Warm reset, this field resets to an architecturally UNKNOWN value.
CBPR_EL1NS, bit [1]
Common Binary Point Register, EL1 Non-secure. Controls whether the same register is used for interrupt preemption of both Group 0 and Group 1 Non-secure interrupts at EL1 and EL2.
CBPR_EL1NS | Meaning |
---|---|
0b0 | ICC_BPR0_EL1 determines the preemption group for Group 0 interrupts only. ICC_BPR1_EL1 determines the preemption group for Non-secure Group 1 interrupts. |
0b1 |
ICC_BPR0_EL1 determines the preemption group for Group 0 interrupts and Non-secure Group 1 interrupts. Non-secure accesses to GICC_BPR and ICC_BPR1_EL1 access the state of ICC_BPR0_EL1. |
If EL3 is present, ICC_CTLR_EL1(NS).CBPR is an alias of ICC_CTLR_EL3.CBPR_EL1NS.
On a Warm reset, this field resets to an architecturally UNKNOWN value.
CBPR_EL1S, bit [0]
Common Binary Point Register, EL1 Secure. Controls whether the same register is used for interrupt preemption of both Group 0 and Group 1 Secure interrupts at EL1 and EL2.
CBPR_EL1S | Meaning |
---|---|
0b0 | ICC_BPR0_EL1 determines the preemption group for Group 0 interrupts only. ICC_BPR1_EL1 determines the preemption group for Secure Group 1 interrupts. |
0b1 |
ICC_BPR0_EL1 determines the preemption group for Group 0 interrupts and Secure Group 1 interrupts. Secure EL1 accesses to ICC_BPR1_EL1 access the state of ICC_BPR0_EL1. |
If EL3 is present, ICC_CTLR_EL1(S).CBPR is an alias of ICC_CTLR_EL3.CBPR_EL1S.
On a Warm reset, this field resets to an architecturally UNKNOWN value.
Accessing the ICC_CTLR_EL3
Accesses to this register use the following encodings:
MRS <Xt>, ICC_CTLR_EL3
op0 | op1 | CRn | CRm | op2 |
---|---|---|---|---|
0b11 | 0b110 | 0b1100 | 0b1100 | 0b100 |
if PSTATE.EL == EL0 then UNDEFINED; elsif PSTATE.EL == EL1 then UNDEFINED; elsif PSTATE.EL == EL2 then UNDEFINED; elsif PSTATE.EL == EL3 then if ICC_SRE_EL3.SRE == '0' then AArch64.SystemAccessTrap(EL3, 0x18); else return ICC_CTLR_EL3;
MSR ICC_CTLR_EL3, <Xt>
op0 | op1 | CRn | CRm | op2 |
---|---|---|---|---|
0b11 | 0b110 | 0b1100 | 0b1100 | 0b100 |
if PSTATE.EL == EL0 then UNDEFINED; elsif PSTATE.EL == EL1 then UNDEFINED; elsif PSTATE.EL == EL2 then UNDEFINED; elsif PSTATE.EL == EL3 then if ICC_SRE_EL3.SRE == '0' then AArch64.SystemAccessTrap(EL3, 0x18); else ICC_CTLR_EL3 = X[t];