[Writeup] External debug and trace register pages: part 11 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/70 ------------------------------------------------------------------------------ #90 admin, 2026-11-28 17:38 UTC [OP] (edited) Source: https://romdump.net/raw/90
Archived Arm source pages for the External debug and trace register pages.
Part 11 of 22. This part covers GICD_IGROUPR
Interrupt Group Registers
Controls whether the corresponding interrupt is in Group 0 or Group 1.
These registers are available in all GIC configurations. If GICD_CTLR.DS==0, these registers are Secure.
The number of implemented GICD_IGROUPR<n> registers is (GICD_TYPER.ITLinesNumber+1). Registers are numbered from 0.
GICD_IGROUPR0 is Banked for each connected PE with GICR_TYPER.Processor_Number < 8.
Accessing GICD_IGROUPR0 from a PE with GICR_TYPER.Processor_Number > 7 is CONSTRAINED UNPREDICTABLE:
GICD_IGROUPR<n> is a 32-bit register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Group_status_bit31 | Group_status_bit30 | Group_status_bit29 | Group_status_bit28 | Group_status_bit27 | Group_status_bit26 | Group_status_bit25 | Group_status_bit24 | Group_status_bit23 | Group_status_bit22 | Group_status_bit21 | Group_status_bit20 | Group_status_bit19 | Group_status_bit18 | Group_status_bit17 | Group_status_bit16 | Group_status_bit15 | Group_status_bit14 | Group_status_bit13 | Group_status_bit12 | Group_status_bit11 | Group_status_bit10 | Group_status_bit9 | Group_status_bit8 | Group_status_bit7 | Group_status_bit6 | Group_status_bit5 | Group_status_bit4 | Group_status_bit3 | Group_status_bit2 | Group_status_bit1 | Group_status_bit0 |
Group status bit.
| Group_status_bit<x> | Meaning |
|---|---|
| 0b0 | When GICD_CTLR.DS==1, the corresponding interrupt is Group 0. When GICD_CTLR.DS==0, the corresponding interrupt is Secure. |
| 0b1 | When GICD_CTLR.DS==1, the corresponding interrupt is Group 1. When GICD_CTLR.DS==0, the corresponding interrupt is Non-secure Group 1. |
If affinity routing is enabled for the Security state of an interrupt, the bit that corresponds to the interrupt is concatenated with the equivalent bit in GICD_IGRPMODR<n> to form a 2-bit field that defines an interrupt group. The encoding of this field is described in GICD_IGRPMODR<n>.
If affinity routing is disabled for the Security state of an interrupt, then:
On a GIC reset:
For INTID m, when DIV and MOD are the integer division and modulo operations:
For SGIs and PPIs:
Bits corresponding to unimplemented interrupts are RAZ/WI.
Accesses to GICD_IGROUPR0 when affinity routing is not enabled for a Security state access the same state as GICR_IGROUPR0, and must update Redistributor state associated with the PE performing the accesses. Implementations must ensure that an interrupt that is pending at the time of the write uses either the old value or the new value and must ensure that the interrupt is neither lost nor handled more than one time. The effect of the change must be visible in finite time.
| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x0080 + (4 * n) | GICD_IGROUPR<n> |
Accesses to this register are RW.
Interrupt Group Registers (Extended SPI range)
Controls whether the corresponding SPI in the extended SPI range is in Group 0 or Group 1.
This register is present only when GICv3.1 is implemented. Otherwise, direct accesses to GICD_IGROUPR<n>E are RES0.
When GICD_TYPER.ESPI==0, these registers are RES0.
When GICD_TYPER.ESPI==1:
GICD_IGROUPR<n>E is a 32-bit register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Group_status_bit31 | Group_status_bit30 | Group_status_bit29 | Group_status_bit28 | Group_status_bit27 | Group_status_bit26 | Group_status_bit25 | Group_status_bit24 | Group_status_bit23 | Group_status_bit22 | Group_status_bit21 | Group_status_bit20 | Group_status_bit19 | Group_status_bit18 | Group_status_bit17 | Group_status_bit16 | Group_status_bit15 | Group_status_bit14 | Group_status_bit13 | Group_status_bit12 | Group_status_bit11 | Group_status_bit10 | Group_status_bit9 | Group_status_bit8 | Group_status_bit7 | Group_status_bit6 | Group_status_bit5 | Group_status_bit4 | Group_status_bit3 | Group_status_bit2 | Group_status_bit1 | Group_status_bit0 |
Group status bit.
| Group_status_bit<x> | Meaning |
|---|---|
| 0b0 | When GICD_CTLR.DS==1, the corresponding interrupt is Group 0. When GICD_CTLR.DS==0, the corresponding interrupt is Secure. |
| 0b1 | When GICD_CTLR.DS==1, the corresponding interrupt is Group 1. When GICD_CTLR.DS==0, the corresponding interrupt is Non-secure Group 1. |
If affinity routing is enabled for the Security state of an interrupt, the bit that corresponds to the interrupt is concatenated with the equivalent bit in GICD_IGRPMODR<n>E to form a 2-bit field that defines an interrupt group. The encoding of this field is described in GICD_IGRPMODR<n>E.
If affinity routing is disabled for the Security state of an interrupt, the bit is RES0:
The reset behavior of this field is:
For INTID m, when DIV and MOD are the integer division and modulo operations:
When affinity routing is not enabled for the Security state of an interrupt in GICD_IGROUPR<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.
| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x1000 + (4 * n) | GICD_IGROUPR<n>E |
Accesses to this register are RW.
Interrupt Group Modifier Registers
When GICD_CTLR.DS==0, this register together with the GICD_IGROUPR<n> registers, controls whether the corresponding interrupt is in:
When GICD_CTLR.DS==0, these registers are Secure.
The number of implemented GICD_IGROUPR<n> registers is (GICD_TYPER.ITLinesNumber+1). Registers are numbered from 0.
When GICD_CTLR.S_ACCESS.ARE_S==0 or GICD_CTLR.DS==1, the GICD_IGRPMODR<n> registers are RES0. An implementation can make these registers RAZ/WI in this case.
GICD_IGRPMODR<n> is a 32-bit register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Group_modifier_bit31 | Group_modifier_bit30 | Group_modifier_bit29 | Group_modifier_bit28 | Group_modifier_bit27 | Group_modifier_bit26 | Group_modifier_bit25 | Group_modifier_bit24 | Group_modifier_bit23 | Group_modifier_bit22 | Group_modifier_bit21 | Group_modifier_bit20 | Group_modifier_bit19 | Group_modifier_bit18 | Group_modifier_bit17 | Group_modifier_bit16 | Group_modifier_bit15 | Group_modifier_bit14 | Group_modifier_bit13 | Group_modifier_bit12 | Group_modifier_bit11 | Group_modifier_bit10 | Group_modifier_bit9 | Group_modifier_bit8 | Group_modifier_bit7 | Group_modifier_bit6 | Group_modifier_bit5 | Group_modifier_bit4 | Group_modifier_bit3 | Group_modifier_bit2 | Group_modifier_bit1 | Group_modifier_bit0 |
Group modifier bit. When affinity routing is enabled for the Security state of an interrupt, the bit that corresponds to the interrupt is concatenated with the equivalent bit in GICD_IGROUPR<n> to form a 2-bit field that defines an interrupt group:
| Group modifier bit | Group status bit | Definition | Short name | | 0b0 | 0b0 | Secure Group 0 | G0S | | 0b0 | 0b1 | Non-secure Group 1 | G1NS | | 0b1 | 0b0 | Secure Group 1 | G1S | | 0b1 | 0b1 | Reserved, treated as Non-secure Group 1 |, |
The reset behavior of this field is:
For INTID m, when DIV and MOD are the integer division and modulo operations:
When affinity routing is enabled for Secure state, GICD_IGRPMODR0 is RES0 and equivalent functionality is proved by GICR_IGRPMODR0.
When GICD_CTLR.DS==0, the register is RAZ/WI to Non-secure accesses.
Bits corresponding to unimplemented interrupts are RAZ/WI.
Implementations must ensure that an interrupt that is pending at the time of the write uses either the old value or the new value and must ensure that the interrupt is neither lost nor handled more than one time. The effect of the change must be visible in finite time.
| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x0D00 + (4 * n) | GICD_IGRPMODR<n> |
Accesses to this register are RW.
Interrupt Group Modifier Registers (Extended SPI range)
When GICD_CTLR.DS==0, this register together with the GICD_IGROUPR<n>E registers, controls whether the corresponding interrupt is in:
This register is present only when GICv3.1 is implemented. Otherwise, direct accesses to GICD_IGRPMODR<n>E are RES0.
GICD_IGRPMODR<n>E resets to 0x00000000.
When GICD_TYPER.ESPI==0, these registers are RES0.
When GICD_TYPER.ESPI==1:
GICD_IGRPMODR<n>E is a 32-bit register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Group_modifier_bit31 | Group_modifier_bit30 | Group_modifier_bit29 | Group_modifier_bit28 | Group_modifier_bit27 | Group_modifier_bit26 | Group_modifier_bit25 | Group_modifier_bit24 | Group_modifier_bit23 | Group_modifier_bit22 | Group_modifier_bit21 | Group_modifier_bit20 | Group_modifier_bit19 | Group_modifier_bit18 | Group_modifier_bit17 | Group_modifier_bit16 | Group_modifier_bit15 | Group_modifier_bit14 | Group_modifier_bit13 | Group_modifier_bit12 | Group_modifier_bit11 | Group_modifier_bit10 | Group_modifier_bit9 | Group_modifier_bit8 | Group_modifier_bit7 | Group_modifier_bit6 | Group_modifier_bit5 | Group_modifier_bit4 | Group_modifier_bit3 | Group_modifier_bit2 | Group_modifier_bit1 | Group_modifier_bit0 |
Group modifier bit. In implementations where affinity routing is enabled for the Security state of an interrupt, the bit that corresponds to the interrupt is concatenated with the equivalent bit in GICD_IGROUPR<n>E to form a 2-bit field that defines an interrupt group:
| Group modifier bit | Group status bit | Definition | Short name | | 0b0 | 0b0 | Secure Group 0 | G0S | | 0b0 | 0b1 | Non-secure Group 1 | G1NS | | 0b1 | 0b0 | Secure Group 1 | G1S | | 0b1 | 0b1 | Reserved, treated as Non-secure Group 1 |, |
The reset behavior of this field is:
For INTID m, when DIV and MOD are the integer division and modulo operations:
When affinity routing is not enabled for the Security state of an interrupt in GICD_IGRPMODR<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.
| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x3400 + (4 * n) | GICD_IGRPMODR<n>E |
Accesses to this register are RW.
Interrupt Priority Registers
Holds the priority of the corresponding interrupt.
These registers are available in all configurations of the GIC. When GICD_CTLR.DS==0, these registers are Common.
The number of implemented GICD_IPRIORITYR<n> registers is 8*(GICD_TYPER.ITLinesNumber+1). Registers are numbered from 0.
GICD_IPRIORITYR0 to GICD_IPRIORITYR7 are Banked for each connected PE with GICR_TYPER.Processor_Number < 8.
Accessing GICD_IPRIORITYR0 to GICD_IPRIORITYR7 from a PE with GICR_TYPER.Processor_Number > 7 is CONSTRAINED UNPREDICTABLE:
GICD_IPRIORITYR<n> is a 32-bit register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Priority_offset_3B | Priority_offset_2B | Priority_offset_1B | Priority_offset_0B |
Interrupt priority value from an IMPLEMENTATION DEFINED range, at byte offset 3. Lower priority values correspond to greater priority of the interrupt. For an INTID configured as non-maskable, this field is RES0.
The reset behavior of this field is:
Interrupt priority value from an IMPLEMENTATION DEFINED range, at byte offset 2. Lower priority values correspond to greater priority of the interrupt. For an INTID configured as non-maskable, this field is RES0.
The reset behavior of this field is:
Interrupt priority value from an IMPLEMENTATION DEFINED range, at byte offset 1. Lower priority values correspond to greater priority of the interrupt. For an INTID configured as non-maskable, this field is RES0.
The reset behavior of this field is:
Interrupt priority value from an IMPLEMENTATION DEFINED range, at byte offset 0. Lower priority values correspond to greater priority of the interrupt. For an INTID configured as non-maskable, this field is RES0.
The reset behavior of this field is:
For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
The corresponding GICD_IPRIORITYR<n> number, n, is given by n = m DIV 4.
The offset of the required GICD_IPRIORITYR<n> register is (0x400 + (4*n)). The byte offset of the required Priority field in this register is m MOD 4, where:
These registers are always used when affinity routing is not enabled. When affinity routing is enabled for the Security state of an interrupt:
A register field corresponding to an unimplemented interrupt is RAZ/WI.
A GIC might implement fewer than eight priority bits, but must implement at least bits [7:4] of each field. In each field, unimplemented bits are RAZ/WI, see 'Interrupt prioritization' in ArmĀ® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069).
When GICD_CTLR.DS==0:
Implementations must ensure that an interrupt that is pending at the time of the write uses either the old value or the new value and must ensure that the interrupt is neither lost nor handled more than one time. The effect of the change must be visible in finite time.
| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x0400 + (4 * n) | GICD_IPRIORITYR<n> |
Accesses to this register are RW.
Interrupt Priority Registers (Extended SPI range)
Holds the priority of the corresponding interrupt for each extended SPI supported by the GIC.
This register is present only when GICv3.1 is implemented. Otherwise, direct accesses to GICD_IPRIORITYR<n>E are RES0.
When GICD_TYPER.ESPI==0, these registers are RES0.
When GICD_TYPER.ESPI==1, the number of implemented GICD_IPRIORITYR<n>E registers is ((GICD_TYPER.ESPI_range+1)*8). Registers are numbered from 0.
GICD_IPRIORITYR<n>E is a 32-bit register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Priority_offset_3B | Priority_offset_2B | Priority_offset_1B | Priority_offset_0B |
Interrupt priority value from an IMPLEMENTATION DEFINED range, at byte offset 3. Lower priority values correspond to greater priority of the interrupt. For an INTID configured as non-maskable, this field is RES0.
The reset behavior of this field is:
Interrupt priority value from an IMPLEMENTATION DEFINED range, at byte offset 2. Lower priority values correspond to greater priority of the interrupt. For an INTID configured as non-maskable, this field is RES0.
The reset behavior of this field is:
Interrupt priority value from an IMPLEMENTATION DEFINED range, at byte offset 1. Lower priority values correspond to greater priority of the interrupt. For an INTID configured as non-maskable, this field is RES0.
The reset behavior of this field is:
Interrupt priority value from an IMPLEMENTATION DEFINED range, at byte offset 0. Lower priority values correspond to greater priority of the interrupt. For an INTID configured as non-maskable, this field is RES0.
The reset behavior of this field is:
For interrupt ID m, when DIV and MOD are the integer division and modulo operations:
The corresponding GICD_IPRIORITYR<n> number, n, is given by n = (m-4096) DIV 4.
The offset of the required GICD_IPRIORITYR<n>E register is (0x2000 + (4*n)). The byte offset of the required Priority field in this register is m MOD 4, where:
When affinity routing is not enabled for the Security state of an interrupt in GICD_ISACTIVER<n>E, the corresponding bit is RES0.
When GICD_CTLR.DS==0:
Implementations must ensure that an interrupt that is pending at the time of the write uses either the old value or the new value and must ensure that the interrupt is neither lost nor handled more than once. The effect of the change must be visible in finite time.
| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x2000 + (4 * n) | GICD_IPRIORITYR<n>E |
Accesses to this register are RW.
Interrupt Routing Registers
When affinity routing is enabled, provides routing information for the SPI with INTID n.
These registers are available in all configurations of the GIC. If the GIC implementation supports two Security states, these registers are Common.
The maximum value of n is given by (32*(GICD_TYPER.ITLinesNumber+1), 1). GICD_IROUTER<n> registers where n=0 to 31 are reserved.
GICD_IROUTER<n> is a 64-bit register.
| 63 | 62 | 61 | 60 | 59 | 58 | 57 | 56 | 55 | 54 | 53 | 52 | 51 | 50 | 49 | 48 | 47 | 46 | 45 | 44 | 43 | 42 | 41 | 40 | 39 | 38 | 37 | 36 | 35 | 34 | 33 | 32 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RES0 | Aff3 | ||||||||||||||||||||||||||||||
| Interrupt_Routing_Mode | RES0 | Aff2 | Aff1 | Aff0 |
Reserved, RES0.
Affinity level 3.
The reset behavior of this field is:
Interrupt Routing Mode. Defines how SPIs are routed in an affinity hierarchy:
| Interrupt_Routing_Mode | Meaning |
|---|---|
| 0b0 | Interrupts routed to the PE specified by a.b.c.d. In this routing, a, b, c, and d are the values of fields Aff3, Aff2, Aff1, and Aff0 respectively. |
| 0b1 | Interrupts routed to any PE defined as a participating node. |
If GICD_IROUTER<n>.IRM == 0 and the affinity path does not correspond to an implemented PE, then if the corresponding interrupt becomes pending behavior is CONSTRAINED UNPREDICTABLE:
The interrupt is not forwarded to any PE, direct reads return the written value
The affinity path is treated as an UNKNOWN implemented PE, direct reads return the UNKNOWN implemented PE
The affinity path is treated as an UNKNOWN implemented PE, direct reads return the written value
When GICD_TYPER.No1N is 1, 1 of N distribution is not supported. Setting this field to 1 is CONSTRAINED UNPREDICTABLE, the permitted behaviors are:
The field behaves as if set to 0 for all purposes.
The field behaves as if set to 0 for all purposes other than a direct-read of the register.
The interrupt is treated as not targeting any PE.
When this bit is set to 1, GICD_IROUTER<n>.{Aff3, Aff2, Aff1, Aff0} are UNKNOWN.
An implementation might choose to make the Aff<n> fields RO when this field is 1.
The reset behavior of this field is:
Reserved, RES0.
Affinity level 2.
The reset behavior of this field is:
Affinity level 1.
The reset behavior of this field is:
Affinity level 0.
The reset behavior of this field is:
For an SPI with INTID m:
These registers are used only when affinity routing is enabled. When affinity routing is not enabled:
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 GICD_IROUTER<n> registers that correspond to Group 0 or Secure Group 1 interrupts are accessible only by Secure accesses and are RAZ/WI to Non-secure accesses.
For each interrupt, a GIC implementation might support fewer than 256 values for an affinity level. In this case, some bits of the corresponding affinity level field might be RO. Implementations must ensure that an interrupt that is pending at the time of the write uses either the old value or the new value and must ensure that the interrupt is neither lost nor handled more than one time. The effect of the change must be visible in finite time.
| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x6000 + (8 * n) | GICD_IROUTER<n> |
Accesses to this register are RW.
Interrupt Routing Registers (Extended SPI Range)
When affinity routing is enabled, provides routing information for the corresponding SPI in the extended SPI range.
This register is present only when GICv3.1 is implemented. Otherwise, direct accesses to GICD_IROUTER<n>E are RES0.
When GICD_TYPER.ESPI==0, these registers are RES0.
When GICD_TYPER.ESPI==1, the number of implemented GICD_IROUTER<n>E registers is (((GICD_TYPER.ESPI_range+1)*32)-1). Registers are numbered from 0.
GICD_IROUTER<n>E is a 64-bit register.
| 63 | 62 | 61 | 60 | 59 | 58 | 57 | 56 | 55 | 54 | 53 | 52 | 51 | 50 | 49 | 48 | 47 | 46 | 45 | 44 | 43 | 42 | 41 | 40 | 39 | 38 | 37 | 36 | 35 | 34 | 33 | 32 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RES0 | Aff3 | ||||||||||||||||||||||||||||||
| Interrupt_Routing_Mode | RES0 | Aff2 | Aff1 | Aff0 |
Reserved, RES0.
Affinity level 3.
The reset behavior of this field is:
Interrupt Routing Mode. Defines how SPIs are routed in an affinity hierarchy:
| Interrupt_Routing_Mode | Meaning |
|---|---|
| 0b0 | Interrupts routed to the PE specified by a.b.c.d. In this routing, a, b, c, and d are the values of fields Aff3, Aff2, Aff1, and Aff0 respectively. |
| 0b1 | Interrupts routed to any PE defined as a participating node. |
If GICD_IROUTER<n>E.IRM == 0 and the affinity path does not correspond to an implemented PE, then if the corresponding interrupt becomes pending behavior is CONSTRAINED UNPREDICTABLE:
The interrupt is not forwarded to any PE, direct reads return the written value
The affinity path is treated as an UNKNOWN implemented PE, direct reads return the UNKNOWN implemented PE
The affinity path is treated as an UNKNOWN implemented PE, direct reads return the written value
When GICD_TYPER.No1N is 1, 1 of N distribution is not supported. Setting this field to 1 is CONSTRAINED UNPREDICTABLE, the permitted behaviors are:
The field behaves as if set to 0 for all purposes.
The field behaves as if set to 0 for all purposes other than a direct-read of the register.
The interrupt is treated as not targeting any PE.
When this bit is set to 1, GICD_IROUTER<n>E.{Aff3, Aff2, Aff1, Aff0} are UNKNOWN.
An implementation might choose to make the Aff<n> fields RO when this field is 1.
The reset behavior of this field is:
Reserved, RES0.
Affinity level 2.
The reset behavior of this field is:
Affinity level 1.
The reset behavior of this field is:
Affinity level 0.
The reset behavior of this field is:
For an SPI with INTID m:
When affinity routing is not enabled for the Security state of an interrupt in GICD_IROUTER<n>E, the register is RES0.
When GICD_CTLR.DS==0, a register 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.
| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x8000 + (8 * n) | GICD_IROUTER<n>E |
Accesses to this register are RW.
Interrupt Set-Active Registers
Activates the corresponding interrupt. These registers are used when saving and restoring GIC state.
These registers are available in all GIC configurations. If GICD_CTLR.DS==0, these registers are Common.
The number of implemented GICD_ISACTIVER<n> registers is (GICD_TYPER.ITLinesNumber+1). Registers are numbered from 0.
GICD_ISACTIVER0 is Banked for each connected PE with GICR_TYPER.Processor_Number < 8.
Accessing GICD_ISACTIVER0 from a PE with GICR_TYPER.Processor_Number > 7 is CONSTRAINED UNPREDICTABLE:
GICD_ISACTIVER<n> is a 32-bit register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Set_active_bit31 | Set_active_bit30 | Set_active_bit29 | Set_active_bit28 | Set_active_bit27 | Set_active_bit26 | Set_active_bit25 | Set_active_bit24 | Set_active_bit23 | Set_active_bit22 | Set_active_bit21 | Set_active_bit20 | Set_active_bit19 | Set_active_bit18 | Set_active_bit17 | Set_active_bit16 | Set_active_bit15 | Set_active_bit14 | Set_active_bit13 | Set_active_bit12 | Set_active_bit11 | Set_active_bit10 | Set_active_bit9 | Set_active_bit8 | Set_active_bit7 | Set_active_bit6 | Set_active_bit5 | Set_active_bit4 | Set_active_bit3 | Set_active_bit2 | Set_active_bit1 | Set_active_bit0 |
Adds the active state to interrupt number 32n + x. Reads and writes have the following behavior:
| Set_active_bit<x> | Meaning |
|---|---|
| 0b0 | If read, indicates that the corresponding interrupt is not active, and is not active and pending. If written, has no effect. |
| 0b1 | If read, indicates that the corresponding interrupt is active, or is active and pending. If written, activates the corresponding interrupt, if the interrupt is not already active. If the interrupt is already active, the write has no effect. After a write of 1 to this bit, a subsequent read of this bit returns 1. |
The reset behavior of this field is:
For INTID m, when DIV and MOD are the integer division and modulo operations:
When affinity routing is enabled for the Security state of an interrupt, bits corresponding to SGIs and PPIs are RAZ/WI, and equivalent functionality for SGIs and PPIs is provided by GICR_ISACTIVER0.
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 bit reads as one if the status of the interrupt is active or active and pending. GICD_ISPENDR<n> and GICD_ICPENDR<n> provide the pending status of the interrupt.
The effect of a write must be visible in finite time. Reading back the written value from either the Set-Active or Clear-Active registers guarantees that a deactivate from a CPU interface Ordered-after the read, will observe the effects of the write on the Active state of the interrupt.
| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x0300 + (4 * n) | GICD_ISACTIVER<n> |
Accessible as follows:
Interrupt Set-Active Registers (Extended SPI range)
Adds the active state to the corresponding SPI in the extended SPI range.
This register is present only when GICv3.1 is implemented. Otherwise, direct accesses to GICD_ISACTIVER<n>E are RES0.
When GICD_TYPER.ESPI==0, these registers are RES0.
When GICD_TYPER.ESPI==1, the number of implemented GICD_ISACTIVER<n>E registers is (GICD_TYPER.ESPI_range+1). Registers are numbered from 0.
GICD_ISACTIVER<n>E is a 32-bit register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Set_active_bit31 | Set_active_bit30 | Set_active_bit29 | Set_active_bit28 | Set_active_bit27 | Set_active_bit26 | Set_active_bit25 | Set_active_bit24 | Set_active_bit23 | Set_active_bit22 | Set_active_bit21 | Set_active_bit20 | Set_active_bit19 | Set_active_bit18 | Set_active_bit17 | Set_active_bit16 | Set_active_bit15 | Set_active_bit14 | Set_active_bit13 | Set_active_bit12 | Set_active_bit11 | Set_active_bit10 | Set_active_bit9 | Set_active_bit8 | Set_active_bit7 | Set_active_bit6 | Set_active_bit5 | Set_active_bit4 | Set_active_bit3 | Set_active_bit2 | Set_active_bit1 | Set_active_bit0 |
For the extended SPIs, adds the active state to interrupt number x. Reads and writes have the following behavior:
| Set_active_bit<x> | Meaning |
|---|---|
| 0b0 | If read, indicates that the corresponding interrupt is not active, and is not active and pending. If written, has no effect. |
| 0b1 | If read, indicates that the corresponding interrupt is active, or active and pending on this PE. If written, activates the corresponding interrupt, if the interrupt is not already active. If the interrupt is already active, the write has no effect. After a write of 1 to this bit, a subsequent read of this bit returns 1. |
The reset behavior of this field is:
For INTID m, when DIV and MOD are the integer division and modulo operations:
When affinity routing is not enabled for the Security state of an interrupt in GICD_ISACTIVER<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. Reading back the written value from either the Set-Active or Clear-Active registers guarantees that a deactivate from a CPU interface Ordered-after the read, will observe the effects of the write on the Active state of the interrupt.
| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x1A00 + (4 * n) | GICD_ISACTIVER<n>E |
Accesses to this register are RW.
Interrupt Set-Enable Registers
Enables forwarding of the corresponding interrupt to the CPU interfaces.
These registers are available in all GIC configurations. If GICD_CTLR.DS==0, these registers are Common.
The number of implemented GICD_ISENABLER<n> registers is (GICD_TYPER.ITLinesNumber+1). Registers are numbered from 0.
GICD_ISENABLER0 is Banked for each connected PE with GICR_TYPER.Processor_Number < 8.
Accessing GICD_ISENABLER0 from a PE with GICR_TYPER.Processor_Number > 7 is CONSTRAINED UNPREDICTABLE:
GICD_ISENABLER<n> is a 32-bit register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Set_enable_bit31 | Set_enable_bit30 | Set_enable_bit29 | Set_enable_bit28 | Set_enable_bit27 | Set_enable_bit26 | Set_enable_bit25 | Set_enable_bit24 | Set_enable_bit23 | Set_enable_bit22 | Set_enable_bit21 | Set_enable_bit20 | Set_enable_bit19 | Set_enable_bit18 | Set_enable_bit17 | Set_enable_bit16 | Set_enable_bit15 | Set_enable_bit14 | Set_enable_bit13 | Set_enable_bit12 | Set_enable_bit11 | Set_enable_bit10 | Set_enable_bit9 | Set_enable_bit8 | Set_enable_bit7 | Set_enable_bit6 | Set_enable_bit5 | Set_enable_bit4 | Set_enable_bit3 | Set_enable_bit2 | Set_enable_bit1 | Set_enable_bit0 |
For SPIs and PPIs, controls the forwarding of interrupt number 32n + x to the CPU interfaces. Reads and writes have the following behavior:
| Set_enable_bit<x> | Meaning |
|---|---|
| 0b0 | If read, indicates that forwarding of the corresponding interrupt is disabled. If written, has no effect. |
| 0b1 | If 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 1. |
For SGIs, the behavior of this bit is IMPLEMENTATION DEFINED.
The reset behavior of this field is:
For INTID m, when DIV and MOD are the integer division and modulo operations:
For SGIs and PPIs:
When GICD_CTLR.DS==0, bits corresponding to Group 0 or 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.
For SPIs and PPIs, each bit controls the forwarding of the corresponding interrupt from the Distributor to the CPU interfaces.
| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x0100 + (4 * n) | GICD_ISENABLER<n> |
Accesses to this register are RW.
Interrupt Set-Enable Registers
Enables forwarding of the corresponding SPI in the extended SPI range to the CPU interfaces.
This register is present only when GICv3.1 is implemented. Otherwise, direct accesses to GICD_ISENABLER<n>E are RES0.
When GICD_TYPER.ESPI==0, these registers are RES0.
When GICD_TYPER.ESPI==1, the number of implemented GICD_ISENABLER<n>E registers is (GICD_TYPER.ESPI_range+1). Registers are numbered from 0.
GICD_ISENABLER<n>E is a 32-bit register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Set_enable_bit31 | Set_enable_bit30 | Set_enable_bit29 | Set_enable_bit28 | Set_enable_bit27 | Set_enable_bit26 | Set_enable_bit25 | Set_enable_bit24 | Set_enable_bit23 | Set_enable_bit22 | Set_enable_bit21 | Set_enable_bit20 | Set_enable_bit19 | Set_enable_bit18 | Set_enable_bit17 | Set_enable_bit16 | Set_enable_bit15 | Set_enable_bit14 | Set_enable_bit13 | Set_enable_bit12 | Set_enable_bit11 | Set_enable_bit10 | Set_enable_bit9 | Set_enable_bit8 | Set_enable_bit7 | Set_enable_bit6 | Set_enable_bit5 | Set_enable_bit4 | Set_enable_bit3 | Set_enable_bit2 | Set_enable_bit1 | Set_enable_bit0 |
For the extended SPI range, controls the forwarding of interrupt number x to the CPU interface. Reads and writes have the following behavior:
| Set_enable_bit<x> | Meaning |
|---|---|
| 0b0 | If read, indicates that forwarding of the corresponding interrupt is disabled. If written, has no effect. |
| 0b1 | If 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 1. |
The reset behavior of this field is:
For INTID m, when DIV and MOD are the integer division and modulo operations:
The corresponding GICD_ISENABLER<n>E number, n, is given by n = (m-4096) DIV 32.
The offset of the required GICD_ISENABLER<n>E is (0x1200 + (4*n)).
The bit number of the required group modifier bit in this register is (m-4096) MOD 32.
When affinity routing is not enabled for the Security state of an interrupt in GICD_ISENABLER<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.
| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x1200 + (4 * n) | GICD_ISENABLER<n>E |
Accesses to this register are RW.
Interrupt Set-Pending Registers
Adds the pending state to the corresponding interrupt.
These registers are available in all GIC configurations. If GICD_CTLR.DS==0, these registers are Common.
The number of implemented GICD_ISPENDR<n> registers is (GICD_TYPER.ITLinesNumber+1). Registers are numbered from 0.
GICD_ISPENDR0 is Banked for each connected PE with GICR_TYPER.Processor_Number < 8.
Accessing GICD_ISPENDR0 from a PE with GICR_TYPER.Processor_Number > 7 is CONSTRAINED UNPREDICTABLE:
GICD_ISPENDR<n> is a 32-bit register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Set_pending_bit31 | Set_pending_bit30 | Set_pending_bit29 | Set_pending_bit28 | Set_pending_bit27 | Set_pending_bit26 | Set_pending_bit25 | Set_pending_bit24 | Set_pending_bit23 | Set_pending_bit22 | Set_pending_bit21 | Set_pending_bit20 | Set_pending_bit19 | Set_pending_bit18 | Set_pending_bit17 | Set_pending_bit16 | Set_pending_bit15 | Set_pending_bit14 | Set_pending_bit13 | Set_pending_bit12 | Set_pending_bit11 | Set_pending_bit10 | Set_pending_bit9 | Set_pending_bit8 | Set_pending_bit7 | Set_pending_bit6 | Set_pending_bit5 | Set_pending_bit4 | Set_pending_bit3 | Set_pending_bit2 | Set_pending_bit1 | Set_pending_bit0 |
For SPIs and PPIs, adds the pending state to interrupt number 32n + x. Reads and writes have the following behavior:
| Set_pending_bit<x> | Meaning |
|---|---|
| 0b0 | If read, indicates that the corresponding interrupt is not pending on any PE. If written, has no effect. |
| 0b1 | If read, indicates that the corresponding interrupt is pending, or active and pending. If written, changes the state of the corresponding interrupt from inactive to pending, or from active to active and pending. This has no effect in the following cases: If the interrupt is an SGI. The pending state of an SGI can be set using GICD_SPENDSGIR<n>. If the interrupt is not inactive and is not active. If the interrupt is already pending because of a write to GICD_ISPENDR<n>. If the interrupt is already pending because the corresponding interrupt signal is asserted. In this case, the interrupt remains pending if the interrupt signal is deasserted. |
The reset behavior of this field is:
Set-pending bits for SGIs are read-only and ignore writes. The Set-pending bits for SGIs are provided as GICD_SPENDSGIR<n>.
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.
| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x0200 + (4 * n) | GICD_ISPENDR<n> |
Accesses to this register are RW.
------------------------------------------------------------------------------ Page 1 of 1. End of thread.