[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 ERRSTATUS, n = 0 to 65534, part 2 through GICC_NSAPR, n = 0 to 3.

Otherwise, these fields might not have the correct value when a new fault is recorded.

ERR<n>STATUS can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
RAS0x010 + (64 * n)ERR<n>STATUS

Accessible as follows:


GICC_ABPR

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.

Configuration

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:

Attributes

GICC_ABPR is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0Binary_Point

Bits [31:3]:

Reserved, RES0.

Binary_Point, bits [2:0]:

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:

Accessing GICC_ABPR

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.

GICC_ABPR can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC CPU interface0x001CGICC_ABPR

Accessible as follows:


GICC_AEOIR

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.

Configuration

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.

Attributes

GICC_AEOIR is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0INTID

Bits [31:24]:

Reserved, RES0.

INTID, bits [23:0]:

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:

Accessing GICC_AEOIR

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:

GICC_AEOIR can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC CPU interface0x0024GICC_AEOIR

Accessible as follows:


GICC_AHPPIR

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.

Configuration

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.

Attributes

GICC_AHPPIR is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0INTID

Bits [31:24]:

Reserved, RES0.

INTID, bits [23:0]:

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:

Accessing GICC_AHPPIR

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.

GICC_AHPPIR can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC CPU interface0x0028GICC_AHPPIR

Accessible as follows:


GICC_AIAR

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.

Configuration

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.

Attributes

GICC_AIAR is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0INTID

Bits [31:24]:

Reserved, RES0.

INTID, bits [23:0]:

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:

Accessing GICC_AIAR

When affinity routing is enabled for a Security state, it is a programming error to use memory-mapped registers to access the GIC.

GICC_AIAR can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC CPU interface0x0020GICC_AIAR

Accessible as follows:


GICC_APR<n>, n = 0, 3

CPU Interface Active Priorities Registers

Provides information about interrupt active priorities.

Configuration

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.

Attributes

GICC_APR<n> is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
IMPLEMENTATION DEFINED

IMPLEMENTATION DEFINED, bits [31:0]:

IMPLEMENTATION DEFINED.

The reset behavior of this field is:

Accessing GICC_APR<n>

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:

GICC_APR<n> can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC CPU interface0x00D0 + (4 * n)GICC_APR<n>

Accessible as follows:


GICC_BPR

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.

Configuration

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.

Attributes

GICC_BPR is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0Binary_Point

Bits [31:3]:

Reserved, RES0.

Binary_Point, bits [2:0]:

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:

Additional information

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.

Accessing GICC_BPR

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.

GICC_BPR can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC CPU interface0x0008GICC_BPR

Accessible as follows:


GICC_CTLR

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.

Configuration

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:

Attributes

GICC_CTLR is a 32-bit register.

Field descriptions

DS0_NS variant when GICD_CTLR.DS==0, Non-secure access:

313029282726252423222120191817161514131211109876543210
RES0EOImodeNSRES0IRQBypDisGrp1FIQBypDisGrp1RES0EnableGrp1

Bits [31:10]:

Reserved, RES0.

EOImodeNS, bit [9] (DS0_NS variant):

Controls the behavior of Non-secure accesses to GICC_EOIR, GICC_AEOIR, and GICC_DIR.

EOImodeNSMeaning
0b0GICC_EOIR and GICC_AEOIR provide both priority drop and interrupt deactivation functionality. Accesses to GICC_DIR are UNPREDICTABLE.
0b1GICC_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:

Bits [8:7]:

Reserved, RES0.

IRQBypDisGrp1, bit [6] (DS0_NS variant):

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:

IRQBypDisGrp1Meaning
0b0The bypass IRQ signal is signaled to the PE.
0b1The 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:

FIQBypDisGrp1, bit [5] (DS0_NS variant):

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:

FIQBypDisGrp1Meaning
0b0The bypass FIQ signal is signaled to the PE.
0b1The 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:

Bits [4:1]:

Reserved, RES0.

EnableGrp1, bit [0] (DS0_NS variant):

This Non-secure field enables the signaling of Group 1 interrupts by the CPU interface to a target PE:

EnableGrp1Meaning
0b0Group 1 interrupt signaling is disabled.
0b1Group 1 interrupt signaling is enabled.

The reset behavior of this field is:

DS0_S variant when GICD_CTLR.DS==0, Secure access:

313029282726252423222120191817161514131211109876543210
RES0EOImodeNSEOImodeSIRQBypDisGrp1FIQBypDisGrp1IRQBypDisGrp0FIQBypDisGrp0CBPRFIQEnRES0EnableGrp1EnableGrp0

Bits [31:11]:

Reserved, RES0.

EOImodeNS, bit [10] (DS0_S variant):

Controls the behavior of Non-secure accesses to GICC_EOIR, GICC_AEOIR, and GICC_DIR.

EOImodeNSMeaning
0b0GICC_EOIR and GICC_AEOIR provide both priority drop and interrupt deactivation functionality. Accesses to GICC_DIR are UNPREDICTABLE.
0b1GICC_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:

EOImodeS, bit [9]:

Controls the behavior of Secure accesses to GICC_EOIR, GICC_AEOIR, and GICC_DIR.

EOImodeSMeaning
0b0GICC_EOIR and GICC_AEOIR provide both priority drop and interrupt deactivation functionality. Accesses to GICC_DIR are UNPREDICTABLE.
0b1GICC_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:

IRQBypDisGrp1, bit [8] (DS0_S variant):

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:

IRQBypDisGrp1Meaning
0b0The bypass IRQ signal is signaled to the PE.
0b1The 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:

FIQBypDisGrp1, bit [7] (DS0_S variant):

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:

FIQBypDisGrp1Meaning
0b0The bypass FIQ signal is signaled to the PE.
0b1The 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:

IRQBypDisGrp0, bit [6]:

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:

IRQBypDisGrp0Meaning
0b0The bypass IRQ signal is signaled to the PE.
0b1The 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:

FIQBypDisGrp0, bit [5]:

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:

FIQBypDisGrp0Meaning
0b0The bypass FIQ signal is signaled to the PE.
0b1The 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:

CBPR, bit [4]:

Controls whether GICC_BPR provides common control of preemption to Group 0 and Group 1 interrupts:

CBPRMeaning
0b0GICC_BPR determines preemption for Group 0 interrupts only. GICC_ABPR determines preemption for Group 1 interrupts.
0b1GICC_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:

FIQEn, bit [3]:

Controls whether the CPU interface signals Group 0 interrupts to a target PE using the FIQ or IRQ signal:

FIQEnMeaning
0b0Group 0 interrupts are signaled using the IRQ signal.
0b1Group 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:

Bit [2]:

Reserved, RES0.

EnableGrp1, bit [1] (DS0_S variant):

This Non-secure field enables the signaling of Group 1 interrupts by the CPU interface to a target PE:

EnableGrp1Meaning
0b0Group 1 interrupt signaling is disabled.
0b1Group 1 interrupt signaling is enabled.

The reset behavior of this field is:

EnableGrp0, bit [0]:

Enables the signaling of Group 0 interrupts by the CPU interface to a target PE:

EnableGrp0Meaning
0b0Group 0 interrupt signaling is disabled.
0b1Group 0 interrupt signaling is enabled.

The reset behavior of this field is:

DS1 variant when GICD_CTLR.DS == '1':

313029282726252423222120191817161514131211109876543210
RES0EOImodeIRQBypDisGrp1FIQBypDisGrp1IRQBypDisGrp0FIQBypDisGrp0CBPRFIQEnRES0EnableGrp1EnableGrp0

Bits [31:10]:

Reserved, RES0.

EOImode, bit [9]:

Controls the behavior of accesses to GICC_EOIR, GICC_AEOIR, and GICC_DIR.

EOImodeMeaning
0b0GICC_EOIR and GICC_AEOIR provide both priority drop and interrupt deactivation functionality. Accesses to GICC_DIR are UNPREDICTABLE.
0b1GICC_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:

IRQBypDisGrp1, bit [8] (DS1 variant):

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:

IRQBypDisGrp1Meaning
0b0The bypass IRQ signal is signaled to the PE.
0b1The 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:

FIQBypDisGrp1, bit [7] (DS1 variant):

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:

FIQBypDisGrp1Meaning
0b0The bypass FIQ signal is signaled to the PE.
0b1The 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:

IRQBypDisGrp0, bit [6]:

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:

IRQBypDisGrp0Meaning
0b0The bypass IRQ signal is signaled to the PE.
0b1The 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:

FIQBypDisGrp0, bit [5]:

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:

FIQBypDisGrp0Meaning
0b0The bypass FIQ signal is signaled to the PE.
0b1The 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:

CBPR, bit [4]:

Controls whether GICC_BPR provides common control of preemption to Group 0 and Group 1 interrupts:

CBPRMeaning
0b0GICC_BPR determines preemption for Group 0 interrupts only. GICC_ABPR determines preemption for Group 1 interrupts.
0b1GICC_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:

FIQEn, bit [3]:

Controls whether the CPU interface signals Group 0 interrupts to a target PE using the FIQ or IRQ signal:

FIQEnMeaning
0b0Group 0 interrupts are signaled using the IRQ signal.
0b1Group 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:

Bit [2]:

Reserved, RES0.

EnableGrp1, bit [1] (DS1 variant):

This Non-secure field enables the signaling of Group 1 interrupts by the CPU interface to a target PE:

EnableGrp1Meaning
0b0Group 1 interrupt signaling is disabled.
0b1Group 1 interrupt signaling is enabled.

The reset behavior of this field is:

EnableGrp0, bit [0]:

Enables the signaling of Group 0 interrupts by the CPU interface to a target PE:

EnableGrp0Meaning
0b0Group 0 interrupt signaling is disabled.
0b1Group 0 interrupt signaling is enabled.

The reset behavior of this field is:

Accessing GICC_CTLR

This register is used only when System register access is not enabled. When System register access is enabled:

GICC_CTLR can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC CPU interface0x0000GICC_CTLR

Accessible as follows:


GICC_DIR

CPU Interface Deactivate Interrupt Register

When interrupt priority drop is separated from interrupt deactivation, a write to this register deactivates the specified interrupt.

Configuration

This register is present only when FEAT_GICv3_LEGACY is implemented. Otherwise, direct accesses to GICC_DIR are RES0.

Attributes

GICC_DIR is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0INTID

Bits [31:24]:

Reserved, RES0.

INTID, bits [23:0]:

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:

Accessing GICC_DIR

This register is used only when System register access is not enabled. When System register access is enabled:

When affinity routing is enabled for a Security state, it is a programming error to use memory-mapped registers to access the GIC.

GICC_DIR can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC CPU interface0x1000GICC_DIR

Accessible as follows:


GICC_EOIR

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.

Configuration

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.

Attributes

GICC_EOIR is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0INTID

Bits [31:24]:

Reserved, RES0.

INTID, bits [23:0]:

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:

Additional information

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:

Accessing GICC_EOIR

The following writes must be ignored:

GICC_EOIR can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC CPU interface0x0010GICC_EOIR

Accessible as follows:


GICC_HPPIR

CPU Interface Highest Priority Pending Interrupt Register

Provides the INTID of the highest priority pending interrupt on the CPU interface.

Configuration

This register is present only when FEAT_GICv3_LEGACY is implemented. Otherwise, direct accesses to GICC_HPPIR are RES0.

If GICD_CTLR.DS==0:

Attributes

GICC_HPPIR is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0INTID

Bits [31:24]:

Reserved, RES0.

INTID, bits [23:0]:

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:

Accessing GICC_HPPIR

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.

GICC_HPPIR can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC CPU interface0x0018GICC_HPPIR

Accessible as follows:


GICC_IAR

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.

Configuration

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:

Attributes

GICC_IAR is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0INTID

Bits [31:24]:

Reserved, RES0.

INTID, bits [23:0]:

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:

Additional information

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.

Accessing GICC_IAR

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:

GICC_IAR can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC CPU interface0x000CGICC_IAR

Accessible as follows:


GICC_NSAPR<n>, n = 0, 3

CPU Interface Non-secure Active Priorities Registers

Provides information about Group 1 interrupt active priorities.

Configuration

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.

Attributes

GICC_NSAPR<n> is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
IMPLEMENTATION DEFINED

IMPLEMENTATION DEFINED, bits [31:0]:

IMPLEMENTATION DEFINED.

The reset behavior of this field is:

Accessing GICC_NSAPR<n>

GICC_NSAPR<n> can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC CPU interface0x00E0 + (4 * n)GICC_NSAPR<n>

Accessible as follows:

------------------------------------------------------------------------------ Page 1 of 1. End of thread.