[Writeup] External debug and trace register pages: part 9 of 22 =============================================================== Section: Silicon & Architectures Started: 2026-11-28 17:38 UTC by admin Replies: 0, last post 2026-11-28 17:38 UTC Page: 1 of 1 Web: https://romdump.net/t/68 ------------------------------------------------------------------------------ #88 admin, 2026-11-28 17:38 UTC [OP] (edited) Source: https://romdump.net/raw/88
Archived Arm source pages for the External debug and trace register pages.
Part 9 of 22. This part covers ERR
Otherwise, these fields might not have the correct value when a new fault is recorded.
| Component | Offset | Instance |
|---|---|---|
| RAS | 0x010 + (64 * n) | ERR<n>STATUS |
Accessible as follows:
CPU Interface Aliased Binary Point Register
Defines the point at which the priority value fields split into two parts, the group priority field and the subpriority field. The group priority field determines Group 1 interrupt preemption.
This register is present only when FEAT_GICv3_LEGACY is implemented. Otherwise, direct accesses to GICC_ABPR are RES0.
In systems that support two Security states:
GICC_ABPR is a 32-bit register.
| 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 | Binary_Point |
Reserved, RES0.
Controls how the 8-bit interrupt priority field is split into a group priority field, that determines interrupt preemption, and a subpriority field. The following list describes how this field determines the interrupt priority bits assigned to the group priority field:
'Secure ICC_BPR1_EL1 Binary Point when CBPR == 0' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069), for the processing of Group 1 interrupts in a GIC implementation that supports interrupt grouping, when GICC_CTLR.DS0_S.CBPR == 0.
'Non-secure ICC_BPR1_EL1 Binary Point when CBPR == 0' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069), for all other cases. The reset behavior of this field is:
On a Warm reset, this field resets to an architecturally UNKNOWN value.
This register is used only when System register access is not enabled. When System register access is enabled, the System registers ICC_BPR0_EL1 and ICC_BPR1_EL1 provide equivalent functionality.
| Component | Offset | Instance |
|---|---|---|
| GIC CPU interface | 0x001C | GICC_ABPR |
Accessible as follows:
CPU Interface Aliased End Of Interrupt Register
A write to this register performs priority drop for the specified Group 1 interrupt and, if the appropriate GICC_CTLR.DS0_S.EOImodeS or GICC_CTLR.DS0_NS.EOImodeNS field == 0, also deactivates the interrupt.
This register is present only when FEAT_GICv3_LEGACY is implemented. Otherwise, direct accesses to GICC_AEOIR are RES0.
When GICD_CTLR.DS==0, this register is an alias of the Non-secure view of GICC_EOIR. A Secure access to this register is identical to a Non-secure access to GICC_EOIR.
GICC_AEOIR is a 32-bit register.
| 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 | INTID |
Reserved, RES0.
The INTID of the signaled interrupt.
INTIDs 1020-1023 are reserved and convey additional information such as spurious interrupts.
When affinity routing is not enabled:
A write to this register must correspond to the most recently acknowledged Group 1 interrupt. If a value other than the last value read from GICC_AIAR is written to this register, the effect is UNPREDICTABLE.
This register is used only when System register access is not enabled. When System register access is enabled:
| Component | Offset | Instance |
|---|---|---|
| GIC CPU interface | 0x0024 | GICC_AEOIR |
Accessible as follows:
CPU Interface Aliased Highest Priority Pending Interrupt Register
If the highest priority pending interrupt is in Group 1, this register provides the INTID of the highest priority pending interrupt on the CPU interface.
This register is present only when FEAT_GICv3_LEGACY is implemented. Otherwise, direct accesses to GICC_AHPPIR are RES0.
If GICD_CTLR.DS==0, this register is an alias of the Non-secure view of GICC_HPPIR. A Secure access to this register is identical to a Non-secure access to GICC_HPPIR.
GICC_AHPPIR is a 32-bit register.
| 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 | INTID |
Reserved, RES0.
The INTID of the signaled interrupt.
INTIDs 1020-1023 are reserved and convey additional information such as spurious interrupts.
When affinity routing is not enabled:
This register is used only when System register access is not enabled. When System register access is enabled:
Interrupt identifiers corresponding to an interrupt group that is not enabled are ignored.
If the highest priority pending interrupt is a direct interrupt that is both individually enabled in the Distributor and part of an interrupt group that is enabled in the Distributor, and the interrupt group is disabled in the CPU interface for this PE, this register returns the special INTID 1023.
For more information about pending interrupts that are not considered when determining the highest priority pending interrupt, see 'Preemption' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069).
When affinity routing is enabled for a Security state, it is a programming error to use memory-mapped registers to access the GIC.
| Component | Offset | Instance |
|---|---|---|
| GIC CPU interface | 0x0028 | GICC_AHPPIR |
Accessible as follows:
CPU Interface Aliased Interrupt Acknowledge Register
Provides the INTID of the signaled Group 1 interrupt. A read of this register by the PE acts as an acknowledge for the interrupt.
This register is present only when FEAT_GICv3_LEGACY is implemented. Otherwise, direct accesses to GICC_AIAR are RES0.
When GICD_CTLR.DS==0, this register is an alias of the Non-secure view of GICC_IAR. A Secure access to this register is identical to a Non-secure access to GICC_IAR.
GICC_AIAR is a 32-bit register.
| 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 | INTID |
Reserved, RES0.
The INTID of the signaled interrupt.
INTIDs 1020-1023 are reserved and convey additional information such as spurious interrupts.
When affinity routing is not enabled:
When affinity routing is enabled for a Security state, it is a programming error to use memory-mapped registers to access the GIC.
| Component | Offset | Instance |
|---|---|---|
| GIC CPU interface | 0x0020 | GICC_AIAR |
Accessible as follows:
CPU Interface Active Priorities Registers
Provides information about interrupt active priorities.
This register is present only when FEAT_GICv3_LEGACY is implemented. Otherwise, direct accesses to GICC_APR<n> are RES0.
The contents of these registers are IMPLEMENTATION DEFINED with the one architectural requirement that the value 0x00000000 is consistent with no interrupts being active.
When GICD_CTLR.DS == 0, these registers are Banked, and Non-secure accesses do not affect Secure operation. The Secure copies of these registers hold active priorities for Group 0 interrupts, and the Non-secure copies provide a Non-secure view of the active priorities for Group 1 interrupts.
GICC_APR1 is implemented only in implementations that support 6 or more bits of priority. GICC_APR2 and GICC_APR3 are implemented only in implementations that support 7 bits of priority.
When GICD_CTLR.DS==1, these registers hold the active priorities for Group 0 interrupts, and the active priorities for Group 1 interrupts are held by the GICC_NSAPR<n> registers.
GICC_APR<n> is a 32-bit register.
| 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| IMPLEMENTATION DEFINED |
IMPLEMENTATION DEFINED.
The reset behavior of this field is:
These registers are used only when System register access is not enabled. When System register access is enabled the following registers provide equivalent functionality:
In AArch64:
For Group 0, ICC_AP0R<n>_EL1.
For Group 1, ICC_AP1R<n>_EL1. In AArch32:
For Group 0, ICC_AP0R<n>.
For Group 1, ICC_AP1R<n>.
| Component | Offset | Instance |
|---|---|---|
| GIC CPU interface | 0x00D0 + (4 * n) | GICC_APR<n> |
Accessible as follows:
CPU Interface Binary Point Register
Defines the point at which the priority value fields split into two parts, the group priority field and the subpriority field.
This register is present only when FEAT_GICv3_LEGACY is implemented. Otherwise, direct accesses to GICC_BPR are RES0.
In systems that support two Security states:
When GICC_CTLR.DS0_S.CBPR == 1, this register determines interrupt preemption for both Group 0 and Group 1 interrupts.
GICC_BPR is a 32-bit register.
| 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 | Binary_Point |
Reserved, RES0.
Controls how the 8-bit interrupt priority field is split into a group priority field, that determines interrupt preemption, and a subpriority field. The following list describes how this field determines the interrupt priority bits assigned to the group priority field:
'Secure ICC_BPR1_EL1 Binary Point when CBPR == 0' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069), for the processing of Group 1 interrupts in a GIC implementation that supports interrupt grouping, when GICC_CTLR.DS0_S.CBPR == 0.
'Non-secure ICC_BPR1_EL1 Binary Point when CBPR == 0' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069), for all other cases. The reset behavior of this field is:
On a Warm reset, this field resets to an architecturally UNKNOWN value.
Aliasing the Non-secure GICC_BPR as GICC_ABPR in a multiprocessor system permits a PE that can make only Secure accesses to configure the preemption setting for Group 1 interrupts by accessing GICC_ABPR.
This register is used only when System register access is not enabled. When System register access is enabled this register is RAZ/WI, and the System registers ICC_BPR0_EL1 and ICC_BPR1_EL1 provide equivalent functionality.
| Component | Offset | Instance |
|---|---|---|
| GIC CPU interface | 0x0008 | GICC_BPR |
Accessible as follows:
CPU Interface Control Register
Controls the CPU interface, including enabling of interrupt groups, interrupt signal bypass, binary point registers used, and separation of priority drop and interrupt deactivation.
If the GIC implementation supports two Security states, independent EOI controls are provided for accesses from each Security state. Secure accesses handle both Group 0 and Group 1 interrupts, and Non-secure accesses handle Group 1 interrupts only.
This register is present only when FEAT_GICv3_LEGACY is implemented. Otherwise, direct accesses to GICC_CTLR are RES0.
In a GIC implementation that supports two Security states:
GICC_CTLR is a 32-bit register.
| 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 | EOImodeNS | RES0 | IRQBypDisGrp1 | FIQBypDisGrp1 | RES0 | EnableGrp1 |
Reserved, RES0.
Controls the behavior of Non-secure accesses to GICC_EOIR, GICC_AEOIR, and GICC_DIR.
| EOImodeNS | Meaning |
|---|---|
| 0b0 | GICC_EOIR and GICC_AEOIR provide both priority drop and interrupt deactivation functionality. Accesses to GICC_DIR are UNPREDICTABLE. |
| 0b1 | GICC_EOIR and GICC_AEOIR provide priority drop functionality only. GICC_DIR provides interrupt deactivation functionality. |
An implementation is permitted to make this bit RAO/WI.
The reset behavior of this field is:
Reserved, RES0.
When the signaling of IRQs by the CPU interface is disabled, this field partly controls whether the bypass IRQ signal is signaled to the PE for Group 1:
| IRQBypDisGrp1 | Meaning |
|---|---|
| 0b0 | The bypass IRQ signal is signaled to the PE. |
| 0b1 | The bypass IRQ signal is not signaled to the PE. |
If System register access is enabled for EL3 and ICC_SRE_EL3.DIB == 1, this field is RAO/WI.
If System register access is enabled for EL1, this field is ignored.
If an implementation does not support legacy interrupts, this bit is permitted to be RAO/WI.
For more information, see 'Interrupt bypass support' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069).
The reset behavior of this field is:
When the signaling of FIQs by the CPU interface is disabled, this field partly controls whether the bypass FIQ signal is signaled to the PE for Group 1:
| FIQBypDisGrp1 | Meaning |
|---|---|
| 0b0 | The bypass FIQ signal is signaled to the PE. |
| 0b1 | The bypass FIQ signal is not signaled to the PE. |
If System register access is enabled for EL3 and ICC_SRE_EL3.DFB == 1, this field is RAO/WI.
If System register access is enabled for EL1, this field is ignored.
If an implementation does not support legacy interrupts, this bit is permitted to be RAO/WI.
For more information, see 'Interrupt bypass support' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069).
The reset behavior of this field is:
Reserved, RES0.
This Non-secure field enables the signaling of Group 1 interrupts by the CPU interface to a target PE:
| EnableGrp1 | Meaning |
|---|---|
| 0b0 | Group 1 interrupt signaling is disabled. |
| 0b1 | Group 1 interrupt signaling is enabled. |
The reset behavior of this field is:
| 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 | EOImodeNS | EOImodeS | IRQBypDisGrp1 | FIQBypDisGrp1 | IRQBypDisGrp0 | FIQBypDisGrp0 | CBPR | FIQEn | RES0 | EnableGrp1 | EnableGrp0 |
Reserved, RES0.
Controls the behavior of Non-secure accesses to GICC_EOIR, GICC_AEOIR, and GICC_DIR.
| EOImodeNS | Meaning |
|---|---|
| 0b0 | GICC_EOIR and GICC_AEOIR provide both priority drop and interrupt deactivation functionality. Accesses to GICC_DIR are UNPREDICTABLE. |
| 0b1 | GICC_EOIR and GICC_AEOIR provide priority drop functionality only. GICC_DIR provides interrupt deactivation functionality. |
An implementation is permitted to make this bit RAO/WI.
The reset behavior of this field is:
Controls the behavior of Secure accesses to GICC_EOIR, GICC_AEOIR, and GICC_DIR.
| EOImodeS | Meaning |
|---|---|
| 0b0 | GICC_EOIR and GICC_AEOIR provide both priority drop and interrupt deactivation functionality. Accesses to GICC_DIR are UNPREDICTABLE. |
| 0b1 | GICC_EOIR and GICC_AEOIR provide priority drop functionality only. GICC_DIR provides interrupt deactivation functionality. |
An implementation is permitted to make this bit RAO/WI.
This field shares state with GICC_CTLR.DS1.EOImode.
The reset behavior of this field is:
When the signaling of IRQs by the CPU interface is disabled, this field partly controls whether the bypass IRQ signal is signaled to the PE for Group 1:
| IRQBypDisGrp1 | Meaning |
|---|---|
| 0b0 | The bypass IRQ signal is signaled to the PE. |
| 0b1 | The bypass IRQ signal is not signaled to the PE. |
If System register access is enabled for EL3 and ICC_SRE_EL3.DIB == 1, this field is RAO/WI.
If System register access is enabled for EL1, this field is ignored.
If an implementation does not support legacy interrupts, this bit is permitted to be RAO/WI.
For more information, see 'Interrupt bypass support' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069).
The reset behavior of this field is:
When the signaling of FIQs by the CPU interface is disabled, this field partly controls whether the bypass FIQ signal is signaled to the PE for Group 1:
| FIQBypDisGrp1 | Meaning |
|---|---|
| 0b0 | The bypass FIQ signal is signaled to the PE. |
| 0b1 | The bypass FIQ signal is not signaled to the PE. |
If System register access is enabled for EL3 and ICC_SRE_EL3.DFB == 1, this field is RAO/WI.
If System register access is enabled for EL1, this field is ignored.
If an implementation does not support legacy interrupts, this bit is permitted to be RAO/WI.
For more information, see 'Interrupt bypass support' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069).
The reset behavior of this field is:
When the signaling of IRQs by the CPU interface is disabled, this field partly controls whether the bypass IRQ signal is signaled to the PE for Group 0:
| IRQBypDisGrp0 | Meaning |
|---|---|
| 0b0 | The bypass IRQ signal is signaled to the PE. |
| 0b1 | The bypass IRQ signal is not signaled to the PE. |
If System register access is enabled for EL3 and ICC_SRE_EL3.DIB == 1, this field is RAO/WI.
If System register access is enabled for EL1, this field is ignored.
If an implementation does not support legacy interrupts, this bit is permitted to be RAO/WI.
For more information, see 'Interrupt bypass support' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069).
The reset behavior of this field is:
When the signaling of FIQs by the CPU interface is disabled, this field partly controls whether the bypass FIQ signal is signaled to the PE for Group 0:
| FIQBypDisGrp0 | Meaning |
|---|---|
| 0b0 | The bypass FIQ signal is signaled to the PE. |
| 0b1 | The bypass FIQ signal is not signaled to the PE. |
If System register access is enabled for EL3 and ICC_SRE_EL3.DIB == 1, this field is RAO/WI.
If System register access is enabled for EL1, this field is ignored.
If an implementation does not support legacy interrupts, this bit is permitted to be RAO/WI.
For more information, see 'Interrupt bypass support' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069).
The reset behavior of this field is:
Controls whether GICC_BPR provides common control of preemption to Group 0 and Group 1 interrupts:
| CBPR | Meaning |
|---|---|
| 0b0 | GICC_BPR determines preemption for Group 0 interrupts only. GICC_ABPR determines preemption for Group 1 interrupts. |
| 0b1 | GICC_BPR determines preemption for both Group 0 and Group 1 interrupts. |
This field is an alias of ICC_CTLR_EL3.CBPR_EL1NS.
In a GIC that supports two Security states, when CBPR == 1:
A Non-secure read of GICC_BPR returns the value of Secure GICC_BPR.Binary_Point, incremented by 1, and saturated to 0b111.
Non-secure writes of GICC_BPR are ignored. The reset behavior of this field is:
On a Warm reset, this field resets to '0'.
Controls whether the CPU interface signals Group 0 interrupts to a target PE using the FIQ or IRQ signal:
| FIQEn | Meaning |
|---|---|
| 0b0 | Group 0 interrupts are signaled using the IRQ signal. |
| 0b1 | Group 0 interrupts are signaled using the FIQ signal. |
Group 1 interrupts are signaled using the IRQ signal only.
If an implementation supports two Security states, this bit is permitted to be RAO/WI.
The reset behavior of this field is:
Reserved, RES0.
This Non-secure field enables the signaling of Group 1 interrupts by the CPU interface to a target PE:
| EnableGrp1 | Meaning |
|---|---|
| 0b0 | Group 1 interrupt signaling is disabled. |
| 0b1 | Group 1 interrupt signaling is enabled. |
The reset behavior of this field is:
Enables the signaling of Group 0 interrupts by the CPU interface to a target PE:
| EnableGrp0 | Meaning |
|---|---|
| 0b0 | Group 0 interrupt signaling is disabled. |
| 0b1 | Group 0 interrupt signaling is enabled. |
The reset behavior of this field is:
| 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 | EOImode | IRQBypDisGrp1 | FIQBypDisGrp1 | IRQBypDisGrp0 | FIQBypDisGrp0 | CBPR | FIQEn | RES0 | EnableGrp1 | EnableGrp0 |
Reserved, RES0.
Controls the behavior of accesses to GICC_EOIR, GICC_AEOIR, and GICC_DIR.
| EOImode | Meaning |
|---|---|
| 0b0 | GICC_EOIR and GICC_AEOIR provide both priority drop and interrupt deactivation functionality. Accesses to GICC_DIR are UNPREDICTABLE. |
| 0b1 | GICC_EOIR and GICC_AEOIR provide priority drop functionality only. GICC_DIR provides interrupt deactivation functionality. |
An implementation is permitted to make this bit RAO/WI.
This field shares state with GICC_CTLR.DS0_S.EOImodeS.
The reset behavior of this field is:
When the signaling of IRQs by the CPU interface is disabled, this field partly controls whether the bypass IRQ signal is signaled to the PE for Group 1:
| IRQBypDisGrp1 | Meaning |
|---|---|
| 0b0 | The bypass IRQ signal is signaled to the PE. |
| 0b1 | The bypass IRQ signal is not signaled to the PE. |
If System register access is enabled for EL3 and ICC_SRE_EL3.DIB == 1, this field is RAO/WI.
If System register access is enabled for EL1, this field is ignored.
If an implementation does not support legacy interrupts, this bit is permitted to be RAO/WI.
For more information, see 'Interrupt bypass support' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069).
The reset behavior of this field is:
When the signaling of FIQs by the CPU interface is disabled, this field partly controls whether the bypass FIQ signal is signaled to the PE for Group 1:
| FIQBypDisGrp1 | Meaning |
|---|---|
| 0b0 | The bypass FIQ signal is signaled to the PE. |
| 0b1 | The bypass FIQ signal is not signaled to the PE. |
If System register access is enabled for EL3 and ICC_SRE_EL3.DFB == 1, this field is RAO/WI.
If System register access is enabled for EL1, this field is ignored.
If an implementation does not support legacy interrupts, this bit is permitted to be RAO/WI.
For more information, see 'Interrupt bypass support' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069).
The reset behavior of this field is:
When the signaling of IRQs by the CPU interface is disabled, this field partly controls whether the bypass IRQ signal is signaled to the PE for Group 0:
| IRQBypDisGrp0 | Meaning |
|---|---|
| 0b0 | The bypass IRQ signal is signaled to the PE. |
| 0b1 | The bypass IRQ signal is not signaled to the PE. |
If System register access is enabled for EL3 and ICC_SRE_EL3.DIB == 1, this field is RAO/WI.
If System register access is enabled for EL1, this field is ignored.
If an implementation does not support legacy interrupts, this bit is permitted to be RAO/WI.
For more information, see 'Interrupt bypass support' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069).
The reset behavior of this field is:
When the signaling of FIQs by the CPU interface is disabled, this field partly controls whether the bypass FIQ signal is signaled to the PE for Group 0:
| FIQBypDisGrp0 | Meaning |
|---|---|
| 0b0 | The bypass FIQ signal is signaled to the PE. |
| 0b1 | The bypass FIQ signal is not signaled to the PE. |
If System register access is enabled for EL3 and ICC_SRE_EL3.DIB == 1, this field is RAO/WI.
If System register access is enabled for EL1, this field is ignored.
If an implementation does not support legacy interrupts, this bit is permitted to be RAO/WI.
For more information, see 'Interrupt bypass support' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069).
The reset behavior of this field is:
Controls whether GICC_BPR provides common control of preemption to Group 0 and Group 1 interrupts:
| CBPR | Meaning |
|---|---|
| 0b0 | GICC_BPR determines preemption for Group 0 interrupts only. GICC_ABPR determines preemption for Group 1 interrupts. |
| 0b1 | GICC_BPR determines preemption for both Group 0 and Group 1 interrupts. |
This field is an alias of ICC_CTLR_EL3.CBPR_EL1NS.
In a GIC that supports two Security states, when CBPR == 1:
A Non-secure read of GICC_BPR returns the value of Secure GICC_BPR.Binary_Point, incremented by 1, and saturated to 0b111.
Non-secure writes of GICC_BPR are ignored. The reset behavior of this field is:
On a Warm reset, this field resets to '0'.
Controls whether the CPU interface signals Group 0 interrupts to a target PE using the FIQ or IRQ signal:
| FIQEn | Meaning |
|---|---|
| 0b0 | Group 0 interrupts are signaled using the IRQ signal. |
| 0b1 | Group 0 interrupts are signaled using the FIQ signal. |
Group 1 interrupts are signaled using the IRQ signal only.
If an implementation supports two Security states, this bit is permitted to be RAO/WI.
The reset behavior of this field is:
Reserved, RES0.
This Non-secure field enables the signaling of Group 1 interrupts by the CPU interface to a target PE:
| EnableGrp1 | Meaning |
|---|---|
| 0b0 | Group 1 interrupt signaling is disabled. |
| 0b1 | Group 1 interrupt signaling is enabled. |
The reset behavior of this field is:
Enables the signaling of Group 0 interrupts by the CPU interface to a target PE:
| EnableGrp0 | Meaning |
|---|---|
| 0b0 | Group 0 interrupt signaling is disabled. |
| 0b1 | Group 0 interrupt signaling is enabled. |
The reset behavior of this field is:
This register is used only when System register access is not enabled. When System register access is enabled:
| Component | Offset | Instance |
|---|---|---|
| GIC CPU interface | 0x0000 | GICC_CTLR |
Accessible as follows:
CPU Interface Deactivate Interrupt Register
When interrupt priority drop is separated from interrupt deactivation, a write to this register deactivates the specified interrupt.
This register is present only when FEAT_GICv3_LEGACY is implemented. Otherwise, direct accesses to GICC_DIR are RES0.
GICC_DIR is a 32-bit register.
| 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 | INTID |
Reserved, RES0.
The INTID of the signaled interrupt.
INTIDs 1020-1023 are reserved and convey additional information such as spurious interrupts.
When affinity routing is not enabled:
This register is used only when System register access is not enabled. When System register access is enabled:
For AArch32 implementations, ICC_DIR provides equivalent functionality.
For AArch64 implementations, ICC_DIR_EL1 provides equivalent functionality. Writes to this register have an effect only in the following cases:
When GICD_CTLR.DS == 1, if GICC_CTLR.DS1.EOImode == 1. In GIC implementations that support two Security states:
Writes to this register when the corresponding GICC_CTLR.DS1.EOImode, GICC_CTLR.DS0_S.EOImodeS, or GICC_CTLR.DS0_NS.EOImodeNS field is 0. In systems that support system error generation, an implementation might generate a system error.
Writes to this register when the corresponding GICC_CTLR.DS1.EOImode, GICC_CTLR.DS0_S.EOImodeS, or GICC_CTLR.DS0_NS.EOImodeNS field is 0 and the corresponding interrupt is not active. In systems that support system error generation, an implementation might generate a system error. In implementations using the GIC Stream Protocol Interface, these writes correspond to a Deactivate packet for an interrupt that is not active. For more information, see 'Deactivate (ICC)' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069). If the corresponding GICC_CTLR.DS1.EOImode, GICC_CTLR.DS0_S.EOImodeS, or GICC_CTLR.DS0_NS.EOImodeNS field is 1 and this register is written to without a corresponding write to GICC_EOIR or GICC_AEOIR, the interrupt is deactivated but the bit corresponding to it in the active priorities registers remains set.
When affinity routing is enabled for a Security state, it is a programming error to use memory-mapped registers to access the GIC.
| Component | Offset | Instance |
|---|---|---|
| GIC CPU interface | 0x1000 | GICC_DIR |
Accessible as follows:
CPU Interface End Of Interrupt Register
A write to this register performs priority drop for the specified interrupt and, if the appropriate GICC_CTLR.DS0_S.EOImodeS or GICC_CTLR.DS0_NS.EOImodeNS field == 0, also deactivates the interrupt.
This register is present only when FEAT_GICv3_LEGACY is implemented. Otherwise, direct accesses to GICC_EOIR are RES0.
If GICD_CTLR.DS==0:
For Non-secure writes when GICD_CTLR.DS==1, the register provides functionality for Group 1 interrupts.
GICC_EOIR is a 32-bit register.
| 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 | INTID |
Reserved, RES0.
The INTID of the signaled interrupt.
INTIDs 1020-1023 are reserved and convey additional information such as spurious interrupts.
When affinity routing is not enabled:
For every read of a valid INTID from GICC_IAR, the connected PE must perform a matching write to GICC_EOIR. The value written to GICC_EOIR must be the INTID from GICC_IAR. Reads of INTIDs 1020-1023 do not require matching writes.
Arm recommends that software preserves the entire register value read from GICC_IAR, and writes that value back to GICC_EOIR on completion of interrupt processing.
For nested interrupts, the order of writes to this register must be the reverse of the order of interrupt acknowledgment. Behavior is UNPREDICTABLE if:
If GICD_CTLR.DS==0:
The following writes must be ignored:
Writes of INTIDs 1020-1023.
Secure writes corresponding to Group 1 interrupts. In systems that support system error generation, an implementation might generate a system error. In this case, GIC behavior is predictable, and the highest Secure active priority (in the Secure copy of GICC_APR<n>) will be reset if the highest active priority is Secure. System behavior is UNPREDICTABLE.
Non-secure writes corresponding to Group 0 interrupts when GICC_CTLR.DS0_S.EOImodeS == 1. In systems that support system error generation, an implementation might generate a system error. In this case, GIC behavior is predictable, and the highest Non-secure active priority (in the Non-secure copy of GICC_APR<n>) will be reset if the highest active priority is Non-secure. System behavior is UNPREDICTABLE. This register is used only when System register access is not enabled. When System register access is enabled:
For AArch32 implementations, ICC_EOIR0 and ICC_EOIR1 provide equivalent functionality.
For AArch64 implementations, ICC_EOIR0_EL1 and ICC_EOIR1_EL1 provide equivalent functionality. When affinity routing is enabled for a Security state, it is a programming error to use memory-mapped registers to access the GIC.
| Component | Offset | Instance |
|---|---|---|
| GIC CPU interface | 0x0010 | GICC_EOIR |
Accessible as follows:
CPU Interface Highest Priority Pending Interrupt Register
Provides the INTID of the highest priority pending interrupt on the CPU interface.
This register is present only when FEAT_GICv3_LEGACY is implemented. Otherwise, direct accesses to GICC_HPPIR are RES0.
If GICD_CTLR.DS==0:
GICC_HPPIR is a 32-bit register.
| 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 | INTID |
Reserved, RES0.
The INTID of the signaled interrupt.
INTIDs 1020-1023 are reserved and convey additional information such as spurious interrupts.
When affinity routing is not enabled:
This register is used only when System register access is not enabled. When System register access is enabled:
For Secure reads when GICD_CTLR.DS==0, or for Secure and Non-secure reads when GICD_CTLR.DS==1, returns the special INTID 1022 if the highest priority pending interrupt is in Group 1.
If no interrupts are in the pending state, a read of this register returns the special INTID 1023.
Interrupt identifiers corresponding to an interrupt group that is not enabled are ignored.
If the highest priority pending interrupt is a direct interrupt that is both individually enabled in the Distributor and part of an interrupt group that is enabled in the Distributor, and the interrupt group is disabled in the CPU interface for this PE, this register returns the special INTID 1023.
For more information about pending interrupts that are not considered when determining the highest priority pending interrupt, see 'Preemption' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069).
When affinity routing is enabled for a Security state, it is a programming error to use memory-mapped registers to access the GIC.
| Component | Offset | Instance |
|---|---|---|
| GIC CPU interface | 0x0018 | GICC_HPPIR |
Accessible as follows:
CPU Interface Interrupt Acknowledge Register
Provides the INTID of the signaled interrupt. A read of this register by the PE acts as an acknowledge for the interrupt.
This register is present only when FEAT_GICv3_LEGACY is implemented. Otherwise, direct accesses to GICC_IAR are RES0.
This register is available in all configurations of the GIC. If GICD_CTLR.DS==0:
GICC_IAR is a 32-bit register.
| 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 | INTID |
Reserved, RES0.
The INTID of the signaled interrupt.
INTIDs 1020-1023 are reserved and convey additional information such as spurious interrupts.
When affinity routing is not enabled:
A read of this register returns the INTID of the highest priority pending interrupt for the CPU interface. The read returns a spurious INTID of 1023 if any of the following apply:
For every read of a valid INTID from GICC_IAR, the connected PE must perform a matching write to GICC_EOIR.
When GICD_CTLR.DS==1, if the highest priority pending interrupt is in Group 1, the special INTID 1022 is returned.
In GIC implementations that support two Security states, if the highest priority pending interrupt is in Group 0, Non-secure reads return the special INTID 1023.
In GIC implementations that support two Security states, if the highest priority pending interrupt is in Group 1, Secure reads return the special INTID 1022.
This register is used only when System register access is not enabled. When System register access is enabled:
| Component | Offset | Instance |
|---|---|---|
| GIC CPU interface | 0x000C | GICC_IAR |
Accessible as follows:
CPU Interface Non-secure Active Priorities Registers
Provides information about Group 1 interrupt active priorities.
This register is present only when FEAT_GICv3_LEGACY is implemented. Otherwise, direct accesses to GICC_NSAPR<n> are RES0.
The contents of these registers are IMPLEMENTATION DEFINED with the one architectural requirement that the value 0x00000000 is consistent with no interrupts being active.
When GICD_CTLR.DS==0, these registers are RAZ/WI to Non-secure accesses.
GICC_NSAPR1 is implemented only in implementations that support 6 or more bits of priority. GICC_NSAPR2 and GICC_NSAPR3 are implemented only in implementations that support 7 bits of priority.
GICC_NSAPR<n> is a 32-bit register.
| 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| IMPLEMENTATION DEFINED |
IMPLEMENTATION DEFINED.
The reset behavior of this field is:
| Component | Offset | Instance |
|---|---|---|
| GIC CPU interface | 0x00E0 + (4 * n) | GICC_NSAPR<n> |
Accessible as follows: