This forum was built by humans, for humans. AI was used exclusively for security auditing. The forum officially launched on November 24, 2026. Read more

romdump.net
romdump.net › Forum › External debug and trace register pages: part 9 of 22 › Edit history

Edit history

Post #88 by admin in “External debug and trace register pages: part 9 of 22”, 2 versions.

Newest first. Every version is rendered from its source as the site renders posts today, followed by the changes to the source since the version before it. Edits by anyone other than the author are shown as made by “a moderator”. A post keeps its original and up to 49 edits.

Revision 1

current by admin · 2d ago #1

Reason: replace numeric range dashes in intro

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:

  • When ERR<n>STATUS.V != '0', ERR<n>STATUS.V is not being cleared to 0b0 in the same write, and RAS System Architecture v1p1 is implemented, accesses to this register are RO.
  • When ERR<n>STATUS.UE != '0', ERR<n>STATUS.UE is not being cleared to 0b0 in the same write, and RAS System Architecture v1p1 is implemented, accesses to this register are RO.
  • When ERR<n>STATUS.OF != '0', ERR<n>STATUS.OF is not being cleared to 0b0 in the same write, and RAS System Architecture v1p1 is implemented, accesses to this register are RO.
  • When ERR<n>STATUS.CE != '00', ERR<n>STATUS.CE is not being cleared to 0b00 in the same write, and RAS System Architecture v1p1 is implemented, accesses to this register are RO.
  • When ERR<n>STATUS.DE != '0', ERR<n>STATUS.DE is not being cleared to 0b0 in the same write, and RAS System Architecture v1p1 is implemented, accesses to this register are RO.
  • Otherwise, accesses to this register are RW.

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:

  • This register is an alias of the Non-secure copy of GICC_BPR.
  • Non-secure accesses to this register return a shifted value of the binary point.
  • If ICC_CTLR_EL3.CBPR_EL1NS == 1, Secure accesses to this register access ICC_BPR0_EL1.

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:

  • '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.

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:

  • When GICD_CTLR.DS == '0', accesses to this register are RW.
  • When an access is Secure, accesses to this register are RW.
  • When an access is Non-secure, accesses to this register are RW.

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:

  • Bits [23:13] are RES0.
  • For SGIs, bits [12:10] identify the CPU interface corresponding to the source PE. For all other interrupts these bits are RES0.

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:

  • For AArch32 implementations, ICC_EOIR1 provides equivalent functionality.
  • For AArch64 implementations, ICC_EOIR1_EL1 provides 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.

GICC_AEOIR can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC CPU interface0x0024GICC_AEOIR

Accessible as follows:

  • When GICD_CTLR.DS == '0', accesses to this register are WO.
  • When an access is Secure, accesses to this register are WO.
  • When an access is Non-secure, accesses to this register are WO.

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:

  • Bits [23:13] are RES0.
  • For SGIs, bits [12:10] identify the CPU interface corresponding to the source PE. For all other interrupts these bits are RES0.

Accessing GICC_AHPPIR

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

  • For AArch32 implementations, ICC_HPPIR1 provides equivalent functionality.
  • For AArch64 implementations, ICC_HPPIR1_EL1 provides equivalent functionality. If the highest priority pending interrupt is in Group 0, 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_AHPPIR can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC CPU interface0x0028GICC_AHPPIR

Accessible as follows:

  • When GICD_CTLR.DS == '0', accesses to this register are RO.
  • When an access is Secure, accesses to this register are RO.
  • When an access is Non-secure, accesses to this register are RO.

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:

  • Bits [23:13] are RES0.
  • For SGIs, bits [12:10] identify the CPU interface corresponding to the source PE. For all other interrupts these bits are RES0.

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:

  • When GICD_CTLR.DS == '0', accesses to this register are RO.
  • When an access is Secure, accesses to this register are RO.
  • When an access is Non-secure, accesses to this register are RO.

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:

  • On a Warm reset, this field resets to the expression 0x00000000.

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:

  • 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>.

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

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

Accessible as follows:

  • When GICD_CTLR.DS == '0', accesses to this register are RW.
  • When an access is Secure, accesses to this register are RW.
  • When an access is Non-secure, accesses to this register are RW.

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:

  • This register is Banked.
  • The Secure instance of this register determines Group 0 interrupt preemption.
  • The Non-secure instance of this register determines Group 1 interrupt preemption. In systems that support only one Security state, when GICC_CTLR.DS0_S.CBPR == 0, this register determines only Group 0 interrupt preemption.

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:

  • '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.

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:

  • When GICD_CTLR.DS == '0', accesses to this register are RW.
  • When an access is Secure, accesses to this register are RW.
  • When an access is Non-secure, accesses to this register are RW.

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:

  • This register is Banked.
  • The register bit assignments are different in the Secure and Non-secure copies.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • 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'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • 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'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • On a Warm reset, this field resets to '0'.

Accessing GICC_CTLR

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

  • For AArch32 implementations, ICC_CTLR and ICC_MCTLR provide equivalent functionality.
  • For AArch64 implementations, ICC_CTLR_EL1 and ICC_CTLR_EL3 provide equivalent functionality.

GICC_CTLR can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC CPU interface0x0000GICC_CTLR

Accessible as follows:

  • When GICD_CTLR.DS == '0', accesses to this register are RW.
  • When an access is Secure, accesses to this register are RW.
  • When an access is Non-secure, accesses to this register are RW.

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:

  • Bits [23:13] are RES0.
  • For SGIs, bits [12:10] identify the CPU interface corresponding to the source PE. For all other interrupts these bits are RES0.

Accessing GICC_DIR

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:

    • If the access is Secure and GICC_CTLR.DS0_S.EOImodeS == 1.
    • If the access is Non-secure and GICC_CTLR.DS0_NS.EOImodeNS == 1. The following writes must be ignored:
  • 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.

GICC_DIR can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC CPU interface0x1000GICC_DIR

Accessible as follows:

  • When GICD_CTLR.DS == '0', accesses to this register are WO.
  • When an access is Secure, accesses to this register are WO.
  • When an access is Non-secure, accesses to this register are WO.

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:

  • This register is Common.
  • GICC_AEOIR is an alias of the Non-secure view of this register. For Secure writes when GICD_CTLR.DS==0, or for Secure and Non-secure writes when GICD_CTLR.DS==1, the register provides functionality for Group 0 interrupts.

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:

  • Bits [23:13] are RES0.
  • For SGIs, bits [12:10] identify the CPU interface corresponding to the source PE. For all other interrupts these bits are RES0.

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:

  • This ordering constraint is not maintained.
  • The value written to this register does not match an active interrupt, or the ID of a spurious interrupt.
  • The value written to this register does not match the last valid interrupt value read from GICC_IAR. For general information about the effect of writes to end of interrupt registers, and about the possible separation of the priority drop and interrupt deactivate operations, see 'Interrupt lifecycle' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069).

If GICD_CTLR.DS==0:

  • GICC_CTLR.DS0_S.EOImodeS controls the behavior of Secure accesses to GICC_EOIR and GICC_AEOIR.
  • GICC_CTLR.DS0_NS.EOImodeNS controls the behavior of Non-secure accesses to GICC_EOIR and GICC_AEOIR.

Accessing GICC_EOIR

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.

GICC_EOIR can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC CPU interface0x0010GICC_EOIR

Accessible as follows:

  • When GICD_CTLR.DS == '0', accesses to this register are WO.
  • When an access is Secure, accesses to this register are WO.
  • When an access is Non-secure, accesses to this register are WO.

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:

  • This register is Common.
  • GICC_AHPPIR is an alias of the Non-secure view of this register.

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:

  • Bits [23:13] are RES0.
  • For SGIs, bits [12:10] identify the CPU interface corresponding to the source PE. For all other interrupts these bits are RES0.

Accessing GICC_HPPIR

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

  • For AArch32 implementations, ICC_HPPIR0 and ICC_HPPIR1 provide equivalent functionality.
  • For AArch64 implementations, ICC_HPPIR0_EL1 and ICC_HPPIR1_EL1 provide equivalent functionality. If the highest priority pending interrupt is in Group 0, a Non-secure read of this register returns the special INTID 1023.

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:

  • When GICD_CTLR.DS == '0', accesses to this register are RO.
  • When an access is Secure, accesses to this register are RO.
  • When an access is Non-secure, accesses to this register are RO.

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:

  • This register is Common.
  • GICC_AIAR is an alias of the Non-secure view of this register. The format of the INTID is governed by whether affinity routing is enabled for a Security state.

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:

  • Bits [23:13] are RES0.
  • For SGIs, bits [12:10] identify the CPU interface corresponding to the source PE. For all other interrupts these bits are RES0.

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:

  • Forwarding of interrupts by the Distributor to the CPU interface is disabled.
  • Signaling of interrupts by the CPU interface to the connected PE is disabled.
  • There are no pending interrupts on the CPU interface with sufficient priority for the interface to signal it to the PE. When the GIC returns a valid INTID to a read of this register it treats the read as an acknowledge of that interrupt. In addition, it changes the interrupt status from pending to active, or to active and pending if the pending state of the interrupt persists. Normally, the pending state of an interrupt persists only if the interrupt is level-sensitive and remains asserted.

For every read of a valid INTID from GICC_IAR, the connected PE must perform a matching write to GICC_EOIR.

  • Arm recommends that software preserves the entire register value read from this register, and writes that value back to GICC_EOIR on completion of interrupt processing.
  • For SPIs, although multiple target PEs might attempt to read this register at any time, only one PE can obtain a valid INTID. For more information, see 'Activation' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069).

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:

  • For AArch32 implementations, ICC_IAR0 and ICC_IAR1 provide equivalent functionality.
  • For AArch64 implementations, ICC_IAR0_EL1 and ICC_IAR1_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.

GICC_IAR can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC CPU interface0x000CGICC_IAR

Accessible as follows:

  • When GICD_CTLR.DS == '0', accesses to this register are RO.
  • When an access is Secure, accesses to this register are RO.
  • When an access is Non-secure, accesses to this register are RO.

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:

  • On a Warm reset, this field resets to the expression 0x00000000.

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:

  • When GICD_CTLR.DS == '0', accesses to this register are RW.
  • When an access is Secure, accesses to this register are RW.
  • When an access is Non-secure, accesses to this register are RW.
Changes from the previous version
<p>Archived Arm source pages for the External debug and trace register pages. Part 9 of 22. This part covers ERR<n>STATUS, n = 0 - 65534, part 2 through GICC_NSAPR<n>, n = 0 - 3.</p><p>Archived Arm source pages for the External debug and trace register pages. Part 9 of 22. This part covers ERR<n>STATUS, n = 0 to 65534, part 2 through GICC_NSAPR<n>, n = 0 to 3.</p><p>Otherwise, these fields might not have the correct value when a new fault is recorded.</p><h4>ERR&lt;n&gt;STATUS can be accessed through the memory-mapped interfaces:</h4><table><thead><tr><th>Component</th><th>Offset</th><th>Instance</th></tr></thead><tbody>… 912 unchanged lines

Original

by admin · 2d ago #0

Archived Arm source pages for the External debug and trace register pages. Part 9 of 22. This part covers ERRSTATUS, n = 0 - 65534, part 2 through GICC_NSAPR, n = 0 - 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:

  • When ERR<n>STATUS.V != '0', ERR<n>STATUS.V is not being cleared to 0b0 in the same write, and RAS System Architecture v1p1 is implemented, accesses to this register are RO.
  • When ERR<n>STATUS.UE != '0', ERR<n>STATUS.UE is not being cleared to 0b0 in the same write, and RAS System Architecture v1p1 is implemented, accesses to this register are RO.
  • When ERR<n>STATUS.OF != '0', ERR<n>STATUS.OF is not being cleared to 0b0 in the same write, and RAS System Architecture v1p1 is implemented, accesses to this register are RO.
  • When ERR<n>STATUS.CE != '00', ERR<n>STATUS.CE is not being cleared to 0b00 in the same write, and RAS System Architecture v1p1 is implemented, accesses to this register are RO.
  • When ERR<n>STATUS.DE != '0', ERR<n>STATUS.DE is not being cleared to 0b0 in the same write, and RAS System Architecture v1p1 is implemented, accesses to this register are RO.
  • Otherwise, accesses to this register are RW.

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:

  • This register is an alias of the Non-secure copy of GICC_BPR.
  • Non-secure accesses to this register return a shifted value of the binary point.
  • If ICC_CTLR_EL3.CBPR_EL1NS == 1, Secure accesses to this register access ICC_BPR0_EL1.

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:

  • '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.

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:

  • When GICD_CTLR.DS == '0', accesses to this register are RW.
  • When an access is Secure, accesses to this register are RW.
  • When an access is Non-secure, accesses to this register are RW.

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:

  • Bits [23:13] are RES0.
  • For SGIs, bits [12:10] identify the CPU interface corresponding to the source PE. For all other interrupts these bits are RES0.

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:

  • For AArch32 implementations, ICC_EOIR1 provides equivalent functionality.
  • For AArch64 implementations, ICC_EOIR1_EL1 provides 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.

GICC_AEOIR can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC CPU interface0x0024GICC_AEOIR

Accessible as follows:

  • When GICD_CTLR.DS == '0', accesses to this register are WO.
  • When an access is Secure, accesses to this register are WO.
  • When an access is Non-secure, accesses to this register are WO.

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:

  • Bits [23:13] are RES0.
  • For SGIs, bits [12:10] identify the CPU interface corresponding to the source PE. For all other interrupts these bits are RES0.

Accessing GICC_AHPPIR

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

  • For AArch32 implementations, ICC_HPPIR1 provides equivalent functionality.
  • For AArch64 implementations, ICC_HPPIR1_EL1 provides equivalent functionality. If the highest priority pending interrupt is in Group 0, 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_AHPPIR can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC CPU interface0x0028GICC_AHPPIR

Accessible as follows:

  • When GICD_CTLR.DS == '0', accesses to this register are RO.
  • When an access is Secure, accesses to this register are RO.
  • When an access is Non-secure, accesses to this register are RO.

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:

  • Bits [23:13] are RES0.
  • For SGIs, bits [12:10] identify the CPU interface corresponding to the source PE. For all other interrupts these bits are RES0.

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:

  • When GICD_CTLR.DS == '0', accesses to this register are RO.
  • When an access is Secure, accesses to this register are RO.
  • When an access is Non-secure, accesses to this register are RO.

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:

  • On a Warm reset, this field resets to the expression 0x00000000.

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:

  • 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>.

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

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

Accessible as follows:

  • When GICD_CTLR.DS == '0', accesses to this register are RW.
  • When an access is Secure, accesses to this register are RW.
  • When an access is Non-secure, accesses to this register are RW.

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:

  • This register is Banked.
  • The Secure instance of this register determines Group 0 interrupt preemption.
  • The Non-secure instance of this register determines Group 1 interrupt preemption. In systems that support only one Security state, when GICC_CTLR.DS0_S.CBPR == 0, this register determines only Group 0 interrupt preemption.

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:

  • '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.

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:

  • When GICD_CTLR.DS == '0', accesses to this register are RW.
  • When an access is Secure, accesses to this register are RW.
  • When an access is Non-secure, accesses to this register are RW.

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:

  • This register is Banked.
  • The register bit assignments are different in the Secure and Non-secure copies.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • 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'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • 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'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • On a Warm reset, this field resets to '0'.

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:

  • On a Warm reset, this field resets to '0'.

Accessing GICC_CTLR

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

  • For AArch32 implementations, ICC_CTLR and ICC_MCTLR provide equivalent functionality.
  • For AArch64 implementations, ICC_CTLR_EL1 and ICC_CTLR_EL3 provide equivalent functionality.

GICC_CTLR can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC CPU interface0x0000GICC_CTLR

Accessible as follows:

  • When GICD_CTLR.DS == '0', accesses to this register are RW.
  • When an access is Secure, accesses to this register are RW.
  • When an access is Non-secure, accesses to this register are RW.

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:

  • Bits [23:13] are RES0.
  • For SGIs, bits [12:10] identify the CPU interface corresponding to the source PE. For all other interrupts these bits are RES0.

Accessing GICC_DIR

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:

    • If the access is Secure and GICC_CTLR.DS0_S.EOImodeS == 1.
    • If the access is Non-secure and GICC_CTLR.DS0_NS.EOImodeNS == 1. The following writes must be ignored:
  • 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.

GICC_DIR can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC CPU interface0x1000GICC_DIR

Accessible as follows:

  • When GICD_CTLR.DS == '0', accesses to this register are WO.
  • When an access is Secure, accesses to this register are WO.
  • When an access is Non-secure, accesses to this register are WO.

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:

  • This register is Common.
  • GICC_AEOIR is an alias of the Non-secure view of this register. For Secure writes when GICD_CTLR.DS==0, or for Secure and Non-secure writes when GICD_CTLR.DS==1, the register provides functionality for Group 0 interrupts.

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:

  • Bits [23:13] are RES0.
  • For SGIs, bits [12:10] identify the CPU interface corresponding to the source PE. For all other interrupts these bits are RES0.

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:

  • This ordering constraint is not maintained.
  • The value written to this register does not match an active interrupt, or the ID of a spurious interrupt.
  • The value written to this register does not match the last valid interrupt value read from GICC_IAR. For general information about the effect of writes to end of interrupt registers, and about the possible separation of the priority drop and interrupt deactivate operations, see 'Interrupt lifecycle' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069).

If GICD_CTLR.DS==0:

  • GICC_CTLR.DS0_S.EOImodeS controls the behavior of Secure accesses to GICC_EOIR and GICC_AEOIR.
  • GICC_CTLR.DS0_NS.EOImodeNS controls the behavior of Non-secure accesses to GICC_EOIR and GICC_AEOIR.

Accessing GICC_EOIR

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.

GICC_EOIR can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC CPU interface0x0010GICC_EOIR

Accessible as follows:

  • When GICD_CTLR.DS == '0', accesses to this register are WO.
  • When an access is Secure, accesses to this register are WO.
  • When an access is Non-secure, accesses to this register are WO.

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:

  • This register is Common.
  • GICC_AHPPIR is an alias of the Non-secure view of this register.

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:

  • Bits [23:13] are RES0.
  • For SGIs, bits [12:10] identify the CPU interface corresponding to the source PE. For all other interrupts these bits are RES0.

Accessing GICC_HPPIR

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

  • For AArch32 implementations, ICC_HPPIR0 and ICC_HPPIR1 provide equivalent functionality.
  • For AArch64 implementations, ICC_HPPIR0_EL1 and ICC_HPPIR1_EL1 provide equivalent functionality. If the highest priority pending interrupt is in Group 0, a Non-secure read of this register returns the special INTID 1023.

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:

  • When GICD_CTLR.DS == '0', accesses to this register are RO.
  • When an access is Secure, accesses to this register are RO.
  • When an access is Non-secure, accesses to this register are RO.

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:

  • This register is Common.
  • GICC_AIAR is an alias of the Non-secure view of this register. The format of the INTID is governed by whether affinity routing is enabled for a Security state.

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:

  • Bits [23:13] are RES0.
  • For SGIs, bits [12:10] identify the CPU interface corresponding to the source PE. For all other interrupts these bits are RES0.

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:

  • Forwarding of interrupts by the Distributor to the CPU interface is disabled.
  • Signaling of interrupts by the CPU interface to the connected PE is disabled.
  • There are no pending interrupts on the CPU interface with sufficient priority for the interface to signal it to the PE. When the GIC returns a valid INTID to a read of this register it treats the read as an acknowledge of that interrupt. In addition, it changes the interrupt status from pending to active, or to active and pending if the pending state of the interrupt persists. Normally, the pending state of an interrupt persists only if the interrupt is level-sensitive and remains asserted.

For every read of a valid INTID from GICC_IAR, the connected PE must perform a matching write to GICC_EOIR.

  • Arm recommends that software preserves the entire register value read from this register, and writes that value back to GICC_EOIR on completion of interrupt processing.
  • For SPIs, although multiple target PEs might attempt to read this register at any time, only one PE can obtain a valid INTID. For more information, see 'Activation' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069).

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:

  • For AArch32 implementations, ICC_IAR0 and ICC_IAR1 provide equivalent functionality.
  • For AArch64 implementations, ICC_IAR0_EL1 and ICC_IAR1_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.

GICC_IAR can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC CPU interface0x000CGICC_IAR

Accessible as follows:

  • When GICD_CTLR.DS == '0', accesses to this register are RO.
  • When an access is Secure, accesses to this register are RO.
  • When an access is Non-secure, accesses to this register are RO.

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:

  • On a Warm reset, this field resets to the expression 0x00000000.

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:

  • When GICD_CTLR.DS == '0', accesses to this register are RW.
  • When an access is Secure, accesses to this register are RW.
  • When an access is Non-secure, accesses to this register are RW.