[Writeup] External debug and trace register pages: part 10 of 22 ================================================================ Section: Silicon & Architectures Started: 2026-11-28 17:38 UTC by admin Replies: 0, last post 2026-11-28 17:38 UTC Page: 1 of 1 Web: https://romdump.net/t/69 ------------------------------------------------------------------------------ #89 admin, 2026-11-28 17:38 UTC [OP] (edited) Source: https://romdump.net/raw/89

Archived Arm source pages for the External debug and trace register pages. Part 10 of 22. This part covers GICC_PMR through GICD_ICPENDRE, n = 0 to 31.

GICC_PMR

CPU Interface Priority Mask Register

This register provides an interrupt priority filter. Only interrupts with a higher priority than the value in this register are signaled to the PE.

Higher interrupt priority corresponds to a lower value of the Priority field.

Configuration

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

This register is available in all configurations of the GIC. If the GIC implementation supports two Security states this register is Common.

Attributes

GICC_PMR is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0Priority

Bits [31:8]:

Reserved, RES0.

Priority, bits [7:0]:

The priority mask level for the CPU interface. If the priority of the interrupt is higher than the value indicated by this field, the interface signals the interrupt to the PE.

If the GIC implementation supports fewer than 256 priority levels, some bits might be RAZ/WI as follows:

The reset behavior of this field is:

Accessing GICC_PMR

If the GIC implementation supports two Security states:

GICC_PMR can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC CPU interface0x0004GICC_PMR

Accessible as follows:


GICD_CLRSPI_NSR

Clear Non-secure SPI Pending Register

Removes the pending state from a valid SPI if permitted by the Security state of the access and the GICD_NSACR<n> value for that SPI.

A write to this register changes the state of a pending SPI to inactive, and the state of an active and pending SPI to active.

Configuration

If GICD_TYPER.MBIS == 0, this register is reserved.

When GICD_CTLR.DS == 1, this register provides functionality for all SPIs.

Attributes

GICD_CLRSPI_NSR is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0INTID

Bits [31:13]:

Reserved, RES0.

INTID, bits [12:0]:

The INTID of the SPI.

Additional information

The function of this register depends on whether the targeted SPI is configured to be an edge-triggered or level-sensitive interrupt:

Accessing GICD_CLRSPI_NSR

Writes to this register have no effect if:

A Secure access to this register can clear the pending state of any valid SPI.

GICD_CLRSPI_NSR can be accessed through the memory-mapped interfaces:

| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x0048 | GICD_CLRSPI_NSR |

Accesses to this register are WO.


GICD_CLRSPI_SR

Clear Secure SPI Pending Register

Removes the pending state from a valid SPI.

A write to this register changes the state of a pending SPI to inactive, and the state of an active and pending SPI to active.

Configuration

If GICD_TYPER.MBIS == 0, this register is reserved.

When GICD_CTLR.DS == 1, this register is WI.

Attributes

GICD_CLRSPI_SR is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0INTID

Bits [31:13]:

Reserved, RES0.

INTID, bits [12:0]:

The INTID of the SPI.

Additional information

The function of this register depends on whether the targeted SPI is configured to be an edge-triggered or level-sensitive interrupt:

Accessing GICD_CLRSPI_SR

Writes to this register have no effect if:

GICD_CLRSPI_SR can be accessed through the memory-mapped interfaces:

| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x0058 | GICD_CLRSPI_SR |

Accessible as follows:


GICD_CPENDSGIR<n>, n = 0, 3

SGI Clear-Pending Registers

Removes the pending state from an SGI.

A write to this register changes the state of a pending SGI to inactive, and the state of an active and pending SGI to active.

Configuration

Four SGI clear-pending registers are implemented. Each register contains eight clear-pending bits for each of four SGIs, for a total of 16 possible SGIs.

In multiprocessor implementations, each PE has a copy of these registers.

Attributes

GICD_CPENDSGIR<n> is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
SGI_clear_pending_bits3SGI_clear_pending_bits2SGI_clear_pending_bits1SGI_clear_pending_bits0

SGI_clear_pending_bits<x>, bits [8x+7:8x], for x = 3 to 0:

Removes the pending state from SGI number 4n + x for the PE corresponding to the bit number written to.

Reads and writes have the following behavior:

SGI_clear_pending_bits<x>Meaning
0x00If read, indicates that the SGI from the corresponding PE is not pending and is not active and pending. If written, has no effect.
0x01If read, indicates that the SGI from the corresponding PE is pending or is active and pending. If written, removes the pending state from the SGI for the corresponding PE.

The reset behavior of this field is:

Additional information

For SGI ID m, generated by processing element C writing to the corresponding GICD_SGIR field, where DIV and MOD are the integer division and modulo operations:

Accessing GICD_CPENDSGIR<n>

These registers are used only when affinity routing is not enabled. When affinity routing is enabled, this register is RES0. An implementation is permitted to make the register RAZ/WI in this case.

A register bit that corresponds to an unimplemented SGI is RAZ/WI.

These registers are byte-accessible.

If the GIC implementation supports two Security states:

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

| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x0F10 + (4 * n) | GICD_CPENDSGIR<n> |

Accesses to this register are RW.


GICD_CTLR

Distributor Control Register

Enables interrupts and affinity routing.

Configuration

The format of this register depends on the Security state of the access and the number of Security states supported, which is specified by GICD_CTLR.DS.

Attributes

GICD_CTLR is a 32-bit register.

Field descriptions

S_ACCESS variant when access is Secure, in a system that supports two Security states:

313029282726252423222120191817161514131211109876543210
RWPRES0E1NWFDSARE_NSARE_SRES0EnableGrp1SEnableGrp1NSEnableGrp0

RWP, bit [31]:

Register Write Pending. Read only. Indicates whether a register write is in progress or not:

RWPMeaning
0b0No register write in progress. The effects of previous register writes to the affected register fields are visible to all logical components of the GIC architecture, including the CPU interfaces.
0b1Register write in progress. The effects of previous register writes to the affected register fields are not guaranteed to be visible to all logical components of the GIC architecture, including the CPU interfaces, as the effects of the changes are still being propagated.

This field tracks writes to:

The reset behavior of this field is:

Bits [30:8]:

Reserved, RES0.

E1NWF, bit [7]:

Enable 1 of N Wakeup Functionality.

It is IMPLEMENTATION DEFINED whether this bit is programmable, or RAZ/WI.

If it is implemented, then it has the following behavior:

E1NWFMeaning
0b0A PE that is asleep cannot be picked for 1 of N interrupts.
0b1A PE that is asleep can be picked for 1 of N interrupts as determined by IMPLEMENTATION DEFINED controls.

The reset behavior of this field is:

DS, bit [6]:

Disable Security.

DSMeaning
0b0Non-secure accesses are not permitted to access and modify registers that control Group 0 interrupts.
0b1Non-secure accesses are permitted to access and modify registers that control Group 0 interrupts.

If DS is written from 0 to 1 when GICD_CTLR.S_ACCESS.ARE_S == 1, then GICD_CTLR.SINGLE_SS.ARE is RAO/WI.

If the Distributor only supports a single Security state, this bit is RAO/WI.

If the Distributor supports two Security states, it IMPLEMENTATION DEFINED whether this bit is programmable or implemented as RAZ/WI.

When this field is set to 1, all accesses to GICD_CTLR access the single Security state view, and all bits are accessible.

When set to 1, this field can only be cleared by a hardware reset.

Writing this bit from 0 to 1 is UNPREDICTABLE if any of the following is true:

ARE_NS, bit [5] (S_ACCESS variant):

Affinity Routing Enable, Non-secure state.

ARE_NSMeaning
0b0Affinity routing disabled for Non-secure state.
0b1Affinity routing enabled for Non-secure state.

When affinity routing is enabled for the Secure state, this field is RAO/WI.

Changing the ARE_NS settings from 0 to 1 is UNPREDICTABLE except when GICD_CTLR.S_ACCESS.EnableGrp1NS, the Non-secure Group 1 enable, is 0.

Changing the ARE_NS settings from 1 to 0 is UNPREDICTABLE.

If GICv2 backward compatibility for Non-secure state is not implemented, this field is RAO/WI.

The reset behavior of this field is:

ARE_S, bit [4]:

Affinity Routing Enable, Secure state.

ARE_SMeaning
0b0Affinity routing disabled for Secure state.
0b1Affinity routing enabled for Secure state.

Changing the ARE_S setting from 0 to 1 is UNPREDICTABLE except when all of the following apply:

If GICv2 backward compatibility for Secure state is not implemented, this field is RAO/WI.

The reset behavior of this field is:

Bit [3]:

Reserved, RES0.

EnableGrp1S, bit [2]:

Enable Secure Group 1 interrupts.

EnableGrp1SMeaning
0b0Secure Group 1 interrupts are disabled.
0b1Secure Group 1 interrupts are enabled.

If GICD_CTLR.S_ACCESS.ARE_S == 0, this field is RES0.

The reset behavior of this field is:

EnableGrp1NS, bit [1]:

Enable Non-secure Group 1 interrupts.

EnableGrp1NSMeaning
0b0Non-secure Group 1 interrupts are disabled.
0b1Non-secure Group 1 interrupts are enabled.

This field also controls whether LPIs are forwarded to the PE.

The reset behavior of this field is:

EnableGrp0, bit [0]:

Enable Group 0 interrupts.

EnableGrp0Meaning
0b0Group 0 interrupts are disabled.
0b1Group 0 interrupts are enabled.

The reset behavior of this field is:

NS_ACCESS variant when access is Non-secure, in a system that supports two Security states:

313029282726252423222120191817161514131211109876543210
RWPRES0ARE_NSRES0EnableGrp1AEnableGrp1

RWP, bit [31]:

This bit is a read-only alias of GICD_CTLR.S_ACCESS.RWP.

Bits [30:5]:

Reserved, RES0.

ARE_NS, bit [4] (NS_ACCESS variant):

This bit is a read/write alias of GICD_CTLR.S_ACCESS.ARE_NS.

If GICv2 backward compatibility for Non-secure state is not implemented, this field is RAO/WI.

Bits [3:2]:

Reserved, RES0.

EnableGrp1A, bit [1]:

If GICD_CTLR.NS_ACCESS.ARE_NS == 1, then this bit is a read/write alias of GICD_CTLR.S_ACCESS.EnableGrp1NS.

If GICD_CTLR.NS_ACCESS.ARE_NS == 0, then this bit is RES0.

EnableGrp1, bit [0] (NS_ACCESS variant):

If GICD_CTLR.NS_ACCESS.ARE_NS == 0, then this bit is a read/write alias of GICD_CTLR.S_ACCESS.EnableGrp1NS.

If GICD_CTLR.NS_ACCESS.ARE_NS == 1, then this bit is RES0.

When in a system that supports only a single Security state:

313029282726252423222120191817161514131211109876543210
RWPRES0nASSGIreqE1NWFDSRES0ARERES0EnableGrp1EnableGrp0

RWP, bit [31]:

Register Write Pending. Read only. Indicates whether a register write is in progress or not:

RWPMeaning
0b0No register write in progress. The effects of previous register writes to the affected register fields are visible to all logical components of the GIC architecture, including the CPU interfaces.
0b1Register write in progress. The effects of previous register writes to the affected register fields are not guaranteed to be visible to all logical components of the GIC architecture, including the CPU interfaces, as the effects of the changes are still being propagated.

This field tracks updates to:

The reset behavior of this field is:

Bits [30:9]:

Reserved, RES0.

nASSGIreq, bit [8] when GICD_TYPER2.nASSGIcap == '1':

Controls whether SGIs have an active state.

This bit is WI when any of GICD_CTLR.SINGLE_SS.{EnableGrp0,EnableGrp1} is 1.

nASSGIreqMeaning
0b0SGIs have an active state and must be deactivated.
0b1SGIs do not have an active state and do not require deactivation.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

E1NWF, bit [7]:

Enable 1 of N Wakeup Functionality.

It is IMPLEMENTATION DEFINED whether this bit is programmable, or RAZ/WI.

If it is implemented, then it has the following behavior:

E1NWFMeaning
0b0A PE that is asleep cannot be picked for 1 of N interrupts.
0b1A PE that is asleep can be picked for 1 of N interrupts as determined by IMPLEMENTATION DEFINED controls.

The reset behavior of this field is:

DS, bit [6]:

Disable Security. This field is RAO/WI.

Bit [5]:

Reserved, RES0.

ARE, bit [4]:

Affinity Routing Enable.

AREMeaning
0b0Affinity routing disabled.
0b1Affinity routing enabled.

Changing the ARE settings from 0 to 1 is UNPREDICTABLE except when all of the following apply:

If GICv2 backward compatibility is not implemented, this field is RAO/WI.

The reset behavior of this field is:

Bits [3:2]:

Reserved, RES0.

EnableGrp1, bit [1]:

Enable Group 1 interrupts.

EnableGrp1Meaning
0b0Group 1 interrupts disabled.
0b1Group 1 interrupts enabled.

The reset behavior of this field is:

EnableGrp0, bit [0]:

Enable Group 0 interrupts.

EnableGrp0Meaning
0b0Group 0 interrupts are disabled.
0b1Group 0 interrupts are enabled.

The reset behavior of this field is:

Accessing GICD_CTLR

If an interrupt is pending within a CPU interface when the corresponding GICD_CTLR.EnableGrpX bit is written from 1 to 0 the interrupt must be retrieved from the CPU interface.

This might have no effect on the forwarded interrupt if it has already been activated. When a write changes the value of ARE for a Security state or the value of the DS bit, the format used for interpreting the remaining bits provided in the write data is the format that applied before the write takes effect.

GICD_CTLR can be accessed through the memory-mapped interfaces:

| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x0000 | GICD_CTLR |

Accesses to this register are RW.


GICD_ICACTIVER<n>, n = 0, 31

Interrupt Clear-Active Registers

Deactivates the corresponding interrupt. These registers are used when saving and restoring GIC state.

Configuration

These registers are available in all GIC configurations. If GICD_CTLR.DS==0, these registers are Common.

The number of implemented GICD_ICACTIVER<n> registers is (GICD_TYPER.ITLinesNumber+1). Registers are numbered from 0.

GICD_ICACTIVER0 is Banked for each connected PE with GICR_TYPER.Processor_Number < 8.

Accessing GICD_ICACTIVER0 from a PE with GICR_TYPER.Processor_Number > 7 is CONSTRAINED UNPREDICTABLE:

Attributes

GICD_ICACTIVER<n> is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
Clear_active_bit31Clear_active_bit30Clear_active_bit29Clear_active_bit28Clear_active_bit27Clear_active_bit26Clear_active_bit25Clear_active_bit24Clear_active_bit23Clear_active_bit22Clear_active_bit21Clear_active_bit20Clear_active_bit19Clear_active_bit18Clear_active_bit17Clear_active_bit16Clear_active_bit15Clear_active_bit14Clear_active_bit13Clear_active_bit12Clear_active_bit11Clear_active_bit10Clear_active_bit9Clear_active_bit8Clear_active_bit7Clear_active_bit6Clear_active_bit5Clear_active_bit4Clear_active_bit3Clear_active_bit2Clear_active_bit1Clear_active_bit0

Clear_active_bit<x>, bit [x], for x = 31 to 0:

Removes the active state from interrupt number 32n + x. Reads and writes have the following behavior:

Clear_active_bit<x>Meaning
0b0If read, indicates that the corresponding interrupt is not active, and is not active and pending. If written, has no effect.
0b1If read, indicates that the corresponding interrupt is active, or is active and pending. If written, deactivates the corresponding interrupt, if the interrupt is active. If the interrupt is already deactivated, the write has no effect.

The reset behavior of this field is:

Additional information

For INTID m, when DIV and MOD are the integer division and modulo operations:

Accessing GICD_ICACTIVER<n>

When affinity routing is enabled for the Security state of an interrupt, the bits corresponding to SGIs and PPIs in that Security state are RAZ/WI, and equivalent functionality for SGIs and PPIs is provided by GICR_ICACTIVER0.

Bits corresponding to unimplemented interrupts are RAZ/WI.

If GICD_CTLR.DS==0, unless the GICD_NSACR<n> registers permit Non-secure software to control Group 0 and Secure Group 1 interrupts, any bits that correspond to Group 0 or Secure Group 1 interrupts are accessible only by Secure accesses and are RAZ/WI to Non-secure accesses.

The effect of a write must be visible in finite time.

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

| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x0380 + (4 * n) | GICD_ICACTIVER<n> |

Accesses to this register are RW.


GICD_ICACTIVER<n>E, n = 0, 31

Interrupt Clear-Active Registers (Extended SPI range)

Removes the active state from the corresponding SPI in the extended SPI range.

Configuration

This register is present only when GICv3.1 is implemented. Otherwise, direct accesses to GICD_ICACTIVER<n>E are RES0.

When GICD_TYPER.ESPI==0, these registers are RES0.

When GICD_TYPER.ESPI==1, the number of implemented GICD_ICACTIVER<n>E registers is (GICD_TYPER.ESPI_range+1). Registers are numbered from 0.

Attributes

GICD_ICACTIVER<n>E is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
Clear_active_bit31Clear_active_bit30Clear_active_bit29Clear_active_bit28Clear_active_bit27Clear_active_bit26Clear_active_bit25Clear_active_bit24Clear_active_bit23Clear_active_bit22Clear_active_bit21Clear_active_bit20Clear_active_bit19Clear_active_bit18Clear_active_bit17Clear_active_bit16Clear_active_bit15Clear_active_bit14Clear_active_bit13Clear_active_bit12Clear_active_bit11Clear_active_bit10Clear_active_bit9Clear_active_bit8Clear_active_bit7Clear_active_bit6Clear_active_bit5Clear_active_bit4Clear_active_bit3Clear_active_bit2Clear_active_bit1Clear_active_bit0

Clear_active_bit<x>, bit [x], for x = 31 to 0:

For the extended SPIs, removes the active state to interrupt number x. Reads and writes have the following behavior:

Clear_active_bit<x>Meaning
0b0If read, indicates that the corresponding interrupt is not active, and is not active and pending. If written, has no effect.
0b1If read, indicates that the corresponding interrupt is active, or is active and pending. If written, deactivates the corresponding interrupt, if the interrupt is active. If the interrupt is already deactivated, the write has no effect.

The reset behavior of this field is:

Additional information

For INTID m, when DIV and MOD are the integer division and modulo operations:

Accessing GICD_ICACTIVER<n>E

When affinity routing is not enabled for the Security state of an interrupt in GICD_ICACTIVER<n>E, the corresponding bit is RES0.

When GICD_CTLR.DS==0, bits corresponding to Secure SPIs are RAZ/WI to Non-secure accesses.

Bits corresponding to unimplemented interrupts are RAZ/WI.

The effect of a write must be visible in finite time.

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

| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x1C00 + (4 * n) | GICD_ICACTIVER<n>E |

Accesses to this register are RW.


GICD_ICENABLER<n>, n = 0, 31

Interrupt Clear-Enable Registers

Disables forwarding of the corresponding interrupt to the CPU interfaces.

Configuration

These registers are available in all GIC configurations. If GICD_CTLR.DS==0, these registers are Common.

The number of implemented GICD_ICENABLER<n> registers is (GICD_TYPER.ITLinesNumber+1). Registers are numbered from 0.

GICD_ICENABLER0 is Banked for each connected PE with GICR_TYPER.Processor_Number < 8.

Accessing GICD_ICENABLER0 from a PE with GICR_TYPER.Processor_Number > 7 is CONSTRAINED UNPREDICTABLE:

Attributes

GICD_ICENABLER<n> is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
Clear_enable_bit31Clear_enable_bit30Clear_enable_bit29Clear_enable_bit28Clear_enable_bit27Clear_enable_bit26Clear_enable_bit25Clear_enable_bit24Clear_enable_bit23Clear_enable_bit22Clear_enable_bit21Clear_enable_bit20Clear_enable_bit19Clear_enable_bit18Clear_enable_bit17Clear_enable_bit16Clear_enable_bit15Clear_enable_bit14Clear_enable_bit13Clear_enable_bit12Clear_enable_bit11Clear_enable_bit10Clear_enable_bit9Clear_enable_bit8Clear_enable_bit7Clear_enable_bit6Clear_enable_bit5Clear_enable_bit4Clear_enable_bit3Clear_enable_bit2Clear_enable_bit1Clear_enable_bit0

Clear_enable_bit<x>, bit [x], for x = 31 to 0:

For SPIs and PPIs, controls the forwarding of interrupt number 32n + x to the CPU interfaces. Reads and writes have the following behavior:

Clear_enable_bit<x>Meaning
0b0If read, indicates that forwarding of the corresponding interrupt is disabled. If written, has no effect.
0b1If read, indicates that forwarding of the corresponding interrupt is enabled. If written, disables forwarding of the corresponding interrupt. After a write of 1 to this bit, a subsequent read of this bit returns 0.

For SGIs, the behavior of this bit is IMPLEMENTATION DEFINED.

The reset behavior of this field is:

Additional information

For INTID m, when DIV and MOD are the integer division and modulo operations:

Accessing GICD_ICENABLER<n>

For SGIs and PPIs:

When GICD_CTLR.DS==0, bits corresponding to Group 0 and Secure Group 1 interrupts are RAZ/WI to Non-secure accesses.

It is IMPLEMENTATION DEFINED whether implemented SGIs are permanently enabled, or can be enabled and disabled by writes to GICD_ISENABLER<n> and GICD_ICENABLER<n> where n=0.

Completion of a write to this register does not guarantee that the effects of the write are visible throughout the affinity hierarchy. To ensure an enable has been cleared, software must write to the register with bits set to 1 to clear the required enables. Software must then poll GICD_CTLR.S_ACCESS.RWP until it has the value zero.

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

| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x0180 + (4 * n) | GICD_ICENABLER<n> |

Accesses to this register are RW.


GICD_ICENABLER<n>E, n = 0, 31

Interrupt Clear-Enable Registers

Disables forwarding of the corresponding SPI in the extended SPI range to the CPU interfaces.

Configuration

This register is present only when GICv3.1 is implemented. Otherwise, direct accesses to GICD_ICENABLER<n>E are RES0.

When GICD_TYPER.ESPI==0, these registers are RES0.

When GICD_TYPER.ESPI==1, the number of implemented GICD_ICENABLER<n>E registers is (GICD_TYPER.ESPI_range+1). Registers are numbered from 0.

Attributes

GICD_ICENABLER<n>E is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
Clear_enable_bit31Clear_enable_bit30Clear_enable_bit29Clear_enable_bit28Clear_enable_bit27Clear_enable_bit26Clear_enable_bit25Clear_enable_bit24Clear_enable_bit23Clear_enable_bit22Clear_enable_bit21Clear_enable_bit20Clear_enable_bit19Clear_enable_bit18Clear_enable_bit17Clear_enable_bit16Clear_enable_bit15Clear_enable_bit14Clear_enable_bit13Clear_enable_bit12Clear_enable_bit11Clear_enable_bit10Clear_enable_bit9Clear_enable_bit8Clear_enable_bit7Clear_enable_bit6Clear_enable_bit5Clear_enable_bit4Clear_enable_bit3Clear_enable_bit2Clear_enable_bit1Clear_enable_bit0

Clear_enable_bit<x>, bit [x], for x = 31 to 0:

For the extended SPI range, controls the forwarding of interrupt number x to the CPU interface. Reads and writes have the following behavior:

Clear_enable_bit<x>Meaning
0b0If read, indicates that forwarding of the corresponding interrupt is disabled. If written, has no effect.
0b1If read, indicates that forwarding of the corresponding interrupt is enabled. If written, enables forwarding of the corresponding interrupt. After a write of 1 to this bit, a subsequent read of this bit returns 0.

The reset behavior of this field is:

Additional information

For INTID m, when DIV and MOD are the integer division and modulo operations:

The corresponding GICD_ICENABLER<n>E number, n, is given by n = (m-4096) DIV 32.

The offset of the required GICD_ICENABLER<n>E is (0x1400 + (4*n)).

The bit number of the required group modifier bit in this register is (m-4096) MOD 32.

Accessing GICD_ICENABLER<n>E

When affinity routing is not enabled for the Security state of an interrupt in GICD_ICENABLER<n>E, the corresponding bit is RES0.

When GICD_CTLR.DS==0, bits corresponding to Secure SPIs are RAZ/WI to Non-secure accesses.

Bits corresponding to unimplemented interrupts are RAZ/WI.

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

| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x1400 + (4 * n) | GICD_ICENABLER<n>E |

Accesses to this register are RW.


GICD_ICFGR<n>, n = 0, 63

Interrupt Configuration Registers

Determines whether the corresponding interrupt is edge-triggered or level-sensitive.

Configuration

These registers are available in all GIC configurations. If the GIC implementation supports two Security states, these registers are Common.

GICD_ICFGR1 is Banked for each connected PE with GICR_TYPER.Processor_Number < 8.

Accessing GICD_ICFGR1 from a PE with GICR_TYPER.Processor_Number > 7 is CONSTRAINED UNPREDICTABLE:

For SGIs, Int_config fields are RO, meaning that GICD_ICFGR0 is RO.

Changing Int_config when the interrupt is individually enabled is UNPREDICTABLE.

Changing the interrupt configuration between level-sensitive and edge-triggered (in either direction) at a time when there is a pending interrupt will leave the interrupt in an UNKNOWN pending state.

Fields corresponding to unimplemented interrupts are RAZ/WI.

Attributes

GICD_ICFGR<n> is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
Int_config15Int_config14Int_config13Int_config12Int_config11Int_config10Int_config9Int_config8Int_config7Int_config6Int_config5Int_config4Int_config3Int_config2Int_config1Int_config0

Int_config<x>, bits [2x+1:2x], for x = 15 to 0:

Indicates whether the interrupt is level-sensitive or edge-triggered.

Int_config<x>Meaning
0b00Corresponding interrupt is level-sensitive.
0b10Corresponding interrupt is edge-triggered.

Int_config[0] (bit [2x]) is RES0.

For SGIs, this field always indicates edge-triggered.

The reset behavior of this field is:

Accessing GICD_ICFGR<n>

For SPIs and PPIs, when GICD_CTLR.DS==0, a register bit that corresponds to a Group 0 or Secure Group 1 interrupt is RAZ/WI to Non-secure accesses.

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

| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x0C00 + (4 * n) | GICD_ICFGR<n> |

Accesses to this register are RW.


GICD_ICFGR<n>E, n = 0, 63

Interrupt Configuration Registers (Extended SPI Range)

Determines whether the corresponding SPI in the extended SPI range is edge-triggered or level-sensitive.

Configuration

This register is present only when GICv3.1 is implemented. Otherwise, direct accesses to GICD_ICFGR<n>E are RES0.

When GICD_TYPER.ESPI==0, these registers are RES0.

When GICD_TYPER.ESPI==1, the number of implemented GICD_ICFGR<n>E registers is ((GICD_TYPER.ESPI_range+1)*2). Registers are numbered from 0.

Attributes

GICD_ICFGR<n>E is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
Int_config15Int_config14Int_config13Int_config12Int_config11Int_config10Int_config9Int_config8Int_config7Int_config6Int_config5Int_config4Int_config3Int_config2Int_config1Int_config0

Int_config<x>, bits [2x+1:2x], for x = 15 to 0:

Indicates whether the interrupt is level-sensitive or edge-triggered.

Int_config[0] (bit[2x]) is RES0.

Int_config<x>Meaning
0b00Corresponding interrupt is level-sensitive.
0b10Corresponding interrupt is edge-triggered.

The reset behavior of this field is:

Accessing GICD_ICFGR<n>E

When affinity routing is not enabled for the Security state of an interrupt in GICD_ICFGR<n>E, the corresponding bit is RES0.

When GICD_CTLR.DS==0, a register bit that corresponds to a Group 0 or Secure Group 1 interrupt is RAZ/WI to Non-secure accesses.

Bits corresponding to unimplemented interrupts are RAZ/WI.

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

| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x3000 + (4 * n) | GICD_ICFGR<n>E |

Accesses to this register are RW.


GICD_ICPENDR<n>, n = 0, 31

Interrupt Clear-Pending Registers

Removes the pending state from the corresponding interrupt.

Configuration

These registers are available in all GIC configurations. If GICD_CTLR.DS==0, these registers are Common.

The number of implemented GICD_ICPENDR<n> registers is (GICD_TYPER.ITLinesNumber+1). Registers are numbered from 0.

GICD_ICPENDR0 is Banked for each connected PE with GICR_TYPER.Processor_Number < 8.

Accessing GICD_ICPENDR0 from a PE with GICR_TYPER.Processor_Number > 7 is CONSTRAINED UNPREDICTABLE:

Attributes

GICD_ICPENDR<n> is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
Clear_pending_bit31Clear_pending_bit30Clear_pending_bit29Clear_pending_bit28Clear_pending_bit27Clear_pending_bit26Clear_pending_bit25Clear_pending_bit24Clear_pending_bit23Clear_pending_bit22Clear_pending_bit21Clear_pending_bit20Clear_pending_bit19Clear_pending_bit18Clear_pending_bit17Clear_pending_bit16Clear_pending_bit15Clear_pending_bit14Clear_pending_bit13Clear_pending_bit12Clear_pending_bit11Clear_pending_bit10Clear_pending_bit9Clear_pending_bit8Clear_pending_bit7Clear_pending_bit6Clear_pending_bit5Clear_pending_bit4Clear_pending_bit3Clear_pending_bit2Clear_pending_bit1Clear_pending_bit0

Clear_pending_bit<x>, bit [x], for x = 31 to 0:

For SPIs and PPIs, removes the pending state from interrupt number 32n + x. Reads and writes have the following behavior:

Clear_pending_bit<x>Meaning
0b0If read, indicates that the corresponding interrupt is not pending on any PE. If written, has no effect.
0b1If read, indicates that the corresponding interrupt is pending, or active and pending. If written, changes the state of the corresponding interrupt from pending to inactive, or from active and pending to active. This has no effect in the following cases: If the interrupt is an SGI. In this case, the write is ignored. The pending state of an SGI can be cleared using GICD_CPENDSGIR<n>. If the interrupt is not pending and is not active and pending. If the interrupt is a level-sensitive interrupt that is pending or active and pending for a reason other than a write to GICD_ISPENDR<n>. In this case, if the interrupt signal continues to be asserted, the interrupt remains pending or active and pending.

The reset behavior of this field is:

Additional information

For INTID m, when DIV and MOD are the integer division and modulo operations:

Accessing GICD_ICPENDR<n>

Clear-pending bits for SGIs are RO/WI.

When affinity routing is enabled for the Security state of an interrupt:

If GICD_CTLR.DS==0, unless the GICD_NSACR<n> registers permit Non-secure software to control Group 0 and Secure Group 1 interrupts, any bits that correspond to Group 0 or Secure Group 1 interrupts are accessible only by Secure accesses and are RAZ/WI to Non-secure accesses.

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

| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x0280 + (4 * n) | GICD_ICPENDR<n> |

Accesses to this register are RW.


GICD_ICPENDR<n>E, n = 0, 31

Interrupt Clear-Pending Registers (Extended SPI range)

Removes the pending state to the corresponding SPI in the extended SPI range.

Configuration

This register is present only when GICv3.1 is implemented. Otherwise, direct accesses to GICD_ICPENDR<n>E are RES0.

When GICD_TYPER.ESPI==0, these registers are RES0.

When GICD_TYPER.ESPI==1, the number of implemented GICD_ICPENDR<n>E registers is (GICD_TYPER.ESPI_range+1). Registers are numbered from 0.

Attributes

GICD_ICPENDR<n>E is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
Clear_pending_bit31Clear_pending_bit30Clear_pending_bit29Clear_pending_bit28Clear_pending_bit27Clear_pending_bit26Clear_pending_bit25Clear_pending_bit24Clear_pending_bit23Clear_pending_bit22Clear_pending_bit21Clear_pending_bit20Clear_pending_bit19Clear_pending_bit18Clear_pending_bit17Clear_pending_bit16Clear_pending_bit15Clear_pending_bit14Clear_pending_bit13Clear_pending_bit12Clear_pending_bit11Clear_pending_bit10Clear_pending_bit9Clear_pending_bit8Clear_pending_bit7Clear_pending_bit6Clear_pending_bit5Clear_pending_bit4Clear_pending_bit3Clear_pending_bit2Clear_pending_bit1Clear_pending_bit0

Clear_pending_bit<x>, bit [x], for x = 31 to 0:

For the extended PPIs, removes the pending state to interrupt number x. Reads and writes have the following behavior:

Clear_pending_bit<x>Meaning
0b0If read, indicates that the corresponding interrupt is not pending. If written, has no effect.
0b1If read, indicates that the corresponding interrupt is pending, or active and pending. If written, changes the state of the corresponding interrupt from pending to inactive, or from active and pending to active. This has no effect in the following cases: If the interrupt is not pending and is not active and pending. If the interrupt is a level-sensitive interrupt that is pending or active and pending for a reason other than a write to GICD_ISPENDR<n>E. In this case, if the interrupt signal continues to be asserted, the interrupt remains pending or active and pending.

The reset behavior of this field is:

Additional information

For INTID m, when DIV and MOD are the integer division and modulo operations:

Accessing GICD_ICPENDR<n>E

When affinity routing is not enabled for the Security state of an interrupt in GICD_ICPENDR<n>E, the corresponding bit is RES0.

When GICD_CTLR.DS==0, bits corresponding to Secure SPIs are RAZ/WI to Non-secure accesses.

Bits corresponding to unimplemented interrupts are RAZ/WI.

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

| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x1800 + (4 * n) | GICD_ICPENDR<n>E |

Accesses to this register are RW.

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