Archived Arm source pages for the External debug and trace register pages. Part 11 of 22. This part covers GICD_IGROUPR, n = 0 to 31 through GICD_ISPENDR, n = 0 to 31.
GICD_IGROUPR<n>, n = 0, 31
Interrupt Group Registers
Controls whether the corresponding interrupt is in Group 0 or Group 1.
Configuration
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:
- Register is RAZ/WI.
- An UNKNOWN banked copy of the register is accessed.
Attributes
GICD_IGROUPR<n> is a 32-bit register.
Field descriptions
| 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<x>, bit [x], for x = 31 to 0:
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:
- The corresponding GICD_IGRPMODR<n> bit is RES0.
- For Secure interrupts, the interrupt is Secure Group 0.
- For Non-secure interrupts, the interrupt is Non-secure Group 1. The reset behavior of this field is:
On a GIC reset:
- When n == 0, this field resets to an UNKNOWN value.
- When n > 0, this field resets to '0'.
Additional information
For INTID m, when DIV and MOD are the integer division and modulo operations:
- The corresponding GICD_IGROUP<n> number, n, is given by n = m DIV 32.
- The offset of the required GICD_IGROUP is (0x080 + (4*n)).
- The bit number of the required group modifier bit in this register is m MOD 32.
Accessing GICD_IGROUPR<n>
For SGIs and PPIs:
- When ARE is 1 for the Security state of an interrupt, the field for that interrupt is RES0 and an implementation is permitted to make the field RAZ/WI in this case.
- Equivalent functionality is provided by GICR_IGROUPR0. When GICD_CTLR.DS==0, the register is RAZ/WI to Non-secure accesses.
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.
GICD_IGROUPR<n> can be accessed through the memory-mapped interfaces:
| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x0080 + (4 * n) | GICD_IGROUPR<n> |
Accesses to this register are RW.
GICD_IGROUPR<n>E, n = 0, 31
Interrupt Group Registers (Extended SPI range)
Controls whether the corresponding SPI in the extended SPI range is in Group 0 or Group 1.
Configuration
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:
- The number of implemented GICD_IGROUPR<n>E registers is (GICD_TYPER.ESPI_range+1). Registers are numbered from 0.
- When GICD_CTLR.DS==0, this register is Secure.
Attributes
GICD_IGROUPR<n>E is a 32-bit register.
Field descriptions
| 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<x>, bit [x], for x = 31 to 0:
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:
- On a GIC reset, this field resets to the expression 0x00000000.
Additional information
For INTID m, when DIV and MOD are the integer division and modulo operations:
- The corresponding GICD_IGROUPR<n>E number, n, is given by n = (m-4096) DIV 32.
- The offset of the required GICD_IGROUPR<n>E is (0x1000 + (4*n)).
- The bit number of the required group modifier bit in this register is (m-4096) MOD 32.
Accessing GICD_IGROUPR<n>E
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.
GICD_IGROUPR<n>E can be accessed through the memory-mapped interfaces:
| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x1000 + (4 * n) | GICD_IGROUPR<n>E |
Accesses to this register are RW.
GICD_IGRPMODR<n>, n = 0, 31
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:
- Secure Group 0.
- Non-secure Group 1.
- Secure Group 1.
Configuration
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.
Attributes
GICD_IGRPMODR<n> is a 32-bit register.
Field descriptions
| 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<x>, bit [x], for x = 31 to 0:
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:
- On a GIC reset, this field resets to the expression 0x00000000.
Additional information
For INTID m, when DIV and MOD are the integer division and modulo operations:
- The corresponding GICD_IGRPMODR<n> number, n, is given by n = m DIV 32.
- The offset of the required GICD_IGRPMODR is (0x080 + (4*n)).
- The bit number of the required group modifier bit in this register is m MOD 32. See GICD_IGROUPR<n> for information about the GICD_IGRPMODR0 reset value.
Accessing GICD_IGRPMODR<n>
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.
GICD_IGRPMODR<n> can be accessed through the memory-mapped interfaces:
| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x0D00 + (4 * n) | GICD_IGRPMODR<n> |
Accesses to this register are RW.
GICD_IGRPMODR<n>E, n = 0, 31
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:
- Secure Group 0.
- Non-secure Group 1.
- When System register access is enabled, Secure Group 1.
Configuration
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:
- The number of implemented GICD_IGRPMODR<n>E registers is (GICD_TYPER.ESPI_range+1). Registers are numbered from 0.
- When GICD_CTLR.DS==0, this register is Secure.
Attributes
GICD_IGRPMODR<n>E is a 32-bit register.
Field descriptions
| 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<x>, bit [x], for x = 31 to 0:
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:
- On a GIC reset, this field resets to the expression 0x00000000.
Additional information
For INTID m, when DIV and MOD are the integer division and modulo operations:
- The corresponding GICD_IGRPMODR<n>E number, n, is given by n = (m-4096) DIV 32.
- The offset of the required GICD_IGRPMODR<n>E is (0x3400 + (4*n)).
- The bit number of the required group modifier bit in this register is (m-4096) MOD 32.
Accessing GICD_IGRPMODR<n>E
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.
GICD_IGRPMODR<n>E can be accessed through the memory-mapped interfaces:
| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x3400 + (4 * n) | GICD_IGRPMODR<n>E |
Accesses to this register are RW.
GICD_IPRIORITYR<n>, n = 0, 254
Interrupt Priority Registers
Holds the priority of the corresponding interrupt.
Configuration
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:
- Register is RAZ/WI.
- An UNKNOWN banked copy of the register is accessed.
Attributes
GICD_IPRIORITYR<n> is a 32-bit register.
Field descriptions
| 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 |
Priority_offset_3B, bits [31:24]:
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:
- On a GIC reset, this field resets to the expression 0x00.
Priority_offset_2B, bits [23:16]:
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:
- On a GIC reset, this field resets to the expression 0x00.
Priority_offset_1B, bits [15:8]:
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:
- On a GIC reset, this field resets to the expression 0x00.
Priority_offset_0B, bits [7:0]:
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:
- On a GIC reset, this field resets to the expression 0x00.
Additional information
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:
- Byte offset 0 refers to register bits [7:0].
- Byte offset 1 refers to register bits [15:8].
- Byte offset 2 refers to register bits [23:16].
- Byte offset 3 refers to register bits [31:24].
Accessing GICD_IPRIORITYR<n>
These registers are always used when affinity routing is not enabled. When affinity routing is enabled for the Security state of an interrupt:
- GICR_IPRIORITYR<n> is used instead of GICD_IPRIORITYR<n> where n = 0 to 7 (that is, for SGIs and PPIs).
- GICD_IPRIORITYR<n> is RAZ/WI where n = 0 to 7. These registers are byte-accessible.
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:
- A register bit that corresponds to a Group 0 or Secure Group 1 interrupt is RAZ/WI to Non-secure accesses.
- A Non-secure access to a field that corresponds to a Non-secure Group 1 interrupt behaves as described in 'Software accesses of interrupt priority' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069). It is IMPLEMENTATION DEFINED whether changing the value of a priority field changes the priority of an active interrupt.
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.
GICD_IPRIORITYR<n> can be accessed through the memory-mapped interfaces:
| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x0400 + (4 * n) | GICD_IPRIORITYR<n> |
Accesses to this register are RW.
GICD_IPRIORITYR<n>E, n = 0, 255
Interrupt Priority Registers (Extended SPI range)
Holds the priority of the corresponding interrupt for each extended SPI supported by the GIC.
Configuration
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.
Attributes
GICD_IPRIORITYR<n>E is a 32-bit register.
Field descriptions
| 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 |
Priority_offset_3B, bits [31:24]:
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:
- On a GIC reset, this field resets to an architecturally UNKNOWN value.
Priority_offset_2B, bits [23:16]:
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:
- On a GIC reset, this field resets to an architecturally UNKNOWN value.
Priority_offset_1B, bits [15:8]:
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:
- On a GIC reset, this field resets to an architecturally UNKNOWN value.
Priority_offset_0B, bits [7:0]:
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:
- On a GIC reset, this field resets to an architecturally UNKNOWN value.
Additional information
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:
- Byte offset 0 refers to register bits [7:0].
- Byte offset 1 refers to register bits [15:8].
- Byte offset 2 refers to register bits [23:16].
- Byte offset 3 refers to register bits [31:24].
Accessing GICD_IPRIORITYR<n>E
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:
- A field that corresponds to a Group 0 or Secure Group 1 interrupt is RAZ/WI to Non-secure accesses.
- A Non-secure access to a field that corresponds to a Non-secure Group 1 interrupt behaves as described in Software accesses of interrupt priority. 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 once. The effect of the change must be visible in finite time.
GICD_IPRIORITYR<n>E can be accessed through the memory-mapped interfaces:
| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x2000 + (4 * n) | GICD_IPRIORITYR<n>E |
Accesses to this register are RW.
GICD_IROUTER<n>, n = 32, 1019
Interrupt Routing Registers
When affinity routing is enabled, provides routing information for the SPI with INTID n.
Configuration
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.
Attributes
GICD_IROUTER<n> is a 64-bit register.
Field descriptions
| 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 |
Bits [63:40]:
Reserved, RES0.
Aff3, bits [39:32]:
Affinity level 3.
The reset behavior of this field is:
- On a GIC reset, this field resets to an architecturally UNKNOWN value.
Interrupt_Routing_Mode, bit [31]:
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:
- On a GIC reset, this field resets to an architecturally UNKNOWN value.
Bits [30:24]:
Reserved, RES0.
Aff2, bits [23:16]:
Affinity level 2.
The reset behavior of this field is:
- On a GIC reset, this field resets to an architecturally UNKNOWN value.
Aff1, bits [15:8]:
Affinity level 1.
The reset behavior of this field is:
- On a GIC reset, this field resets to an architecturally UNKNOWN value.
Aff0, bits [7:0]:
Affinity level 0.
The reset behavior of this field is:
- On a GIC reset, this field resets to an architecturally UNKNOWN value.
Additional information
For an SPI with INTID m:
- The corresponding GICD_IROUTER<n> register number, n, is given by n = m.
- The offset of the GICD_IROUTER<n> register is 0x6000 + 8n.
Accessing GICD_IROUTER<n>
These registers are used only when affinity routing is enabled. When affinity routing is not enabled:
- These registers are RES0. An implementation is permitted to make the register RAZ/WI in this case.
- The GICD_ITARGETSR<n> registers provide interrupt routing information. When affinity routing becomes enabled for a Security state (for example, following a reset or following a write to GICD_CTLR) the value of all writable fields in this register is UNKNOWN for that Security state. When the group of an interrupt changes so the ARE setting for the interrupt changes to 1, the value of this register is UNKNOWN for that 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 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.
GICD_IROUTER<n> can be accessed through the memory-mapped interfaces:
| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x6000 + (8 * n) | GICD_IROUTER<n> |
Accesses to this register are RW.
GICD_IROUTER<n>E, n = 0, 1023
Interrupt Routing Registers (Extended SPI Range)
When affinity routing is enabled, provides routing information for the corresponding SPI in the extended SPI range.
Configuration
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.
Attributes
GICD_IROUTER<n>E is a 64-bit register.
Field descriptions
| 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 |
Bits [63:40]:
Reserved, RES0.
Aff3, bits [39:32]:
Affinity level 3.
The reset behavior of this field is:
- On a GIC reset, this field resets to an architecturally UNKNOWN value.
Interrupt_Routing_Mode, bit [31]:
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:
- On a GIC reset, this field resets to an architecturally UNKNOWN value.
Bits [30:24]:
Reserved, RES0.
Aff2, bits [23:16]:
Affinity level 2.
The reset behavior of this field is:
- On a GIC reset, this field resets to an architecturally UNKNOWN value.
Aff1, bits [15:8]:
Affinity level 1.
The reset behavior of this field is:
- On a GIC reset, this field resets to an architecturally UNKNOWN value.
Aff0, bits [7:0]:
Affinity level 0.
The reset behavior of this field is:
- On a GIC reset, this field resets to an architecturally UNKNOWN value.
Additional information
For an SPI with INTID m:
- The corresponding GICD_IROUTER<n>E register number, n, is given by n = m.
- The offset of the GICD_IROUTER<n>E register is 0x6000 + 8n.
Accessing GICD_IROUTER<n>E
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.
GICD_IROUTER<n>E can be accessed through the memory-mapped interfaces:
| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x8000 + (8 * n) | GICD_IROUTER<n>E |
Accesses to this register are RW.
GICD_ISACTIVER<n>, n = 0, 31
Interrupt Set-Active Registers
Activates 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_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:
- Register is RAZ/WI.
- An UNKNOWN banked copy of the register is accessed.
Attributes
GICD_ISACTIVER<n> is a 32-bit register.
Field descriptions
| 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 |
Set_active_bit<x>, bit [x], for x = 31 to 0:
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:
- On a GIC reset, this field resets to the expression 0x00000000.
Additional information
For INTID m, when DIV and MOD are the integer division and modulo operations:
- The corresponding GICD_ISACTIVER<n> number, n, is given by n = m DIV 32.
- The offset of the required GICD_ISACTIVER is (0x300 + (4*n)).
- The bit number of the required group modifier bit in this register is m MOD 32.
Accessing GICD_ISACTIVER<n>
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.
GICD_ISACTIVER<n> can be accessed through the memory-mapped interfaces:
| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x0300 + (4 * n) | GICD_ISACTIVER<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.
GICD_ISACTIVER<n>E, n = 0, 31
Interrupt Set-Active Registers (Extended SPI range)
Adds the active 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_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.
Attributes
GICD_ISACTIVER<n>E is a 32-bit register.
Field descriptions
| 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 |
Set_active_bit<x>, bit [x], for x = 31 to 0:
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:
- On a GIC reset, this field resets to the expression 0x00000000.
Additional information
For INTID m, when DIV and MOD are the integer division and modulo operations:
- The corresponding GICD_ISACTIVER<n>E number, n, is given by n = (m-4096) DIV 32.
- The offset of the required GICD_ISACTIVER<n>E is (0x1A00 + (4*n)).
- The bit number of the required group modifier bit in this register is (m-4096) MOD 32.
Accessing GICD_ISACTIVER<n>E
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.
GICD_ISACTIVER<n>E can be accessed through the memory-mapped interfaces:
| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x1A00 + (4 * n) | GICD_ISACTIVER<n>E |
Accesses to this register are RW.
GICD_ISENABLER<n>, n = 0, 31
Interrupt Set-Enable Registers
Enables 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_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:
- Register is RAZ/WI.
- An UNKNOWN banked copy of the register is accessed.
Attributes
GICD_ISENABLER<n> is a 32-bit register.
Field descriptions
| 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 |
Set_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:
| 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:
- On a GIC reset, this field resets to an architecturally UNKNOWN value.
Additional information
For INTID m, when DIV and MOD are the integer division and modulo operations:
- The corresponding GICD_ISENABLER<n> number, n, is given by n = m DIV 32.
- The offset of the required GICD_ISENABLER is (0x100 + (4*n)).
- The bit number of the required group modifier bit in this register is m MOD 32. At start-up, and after a reset, a PE can use this register to discover which peripheral INTIDs the GIC supports. If GICD_CTLR.DS==0 in a system that supports EL3, the PE must do this for the Secure view of the available interrupts, and Non-secure software running on the PE must do this discovery after the Secure software has configured interrupts as Group 0/Secure Group 1 and Non-secure Group 1.
Accessing GICD_ISENABLER<n>
For SGIs and PPIs:
- When ARE is 1 for the Security state of an interrupt, the field for that interrupt is RES0 and an implementation is permitted to make the field RAZ/WI in this case.
- Equivalent functionality is provided by GICR_ISENABLER0. Bits corresponding to unimplemented interrupts are RAZ/WI.
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.
GICD_ISENABLER<n> can be accessed through the memory-mapped interfaces:
| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x0100 + (4 * n) | GICD_ISENABLER<n> |
Accesses to this register are RW.
GICD_ISENABLER<n>E, n = 0, 31
Interrupt Set-Enable Registers
Enables 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_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.
Attributes
GICD_ISENABLER<n>E is a 32-bit register.
Field descriptions
| 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 |
Set_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:
| 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:
- On a GIC reset, this field resets to the expression 0x00000000.
Additional information
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.
Accessing GICD_ISENABLER<n>E
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.
GICD_ISENABLER<n>E can be accessed through the memory-mapped interfaces:
| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x1200 + (4 * n) | GICD_ISENABLER<n>E |
Accesses to this register are RW.
GICD_ISPENDR<n>, n = 0, 31
Interrupt Set-Pending Registers
Adds the pending state to 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_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:
- Register is RAZ/WI.
- An UNKNOWN banked copy of the register is accessed.
Attributes
GICD_ISPENDR<n> is a 32-bit register.
Field descriptions
| 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 |
Set_pending_bit<x>, bit [x], for x = 31 to 0:
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:
- On a GIC reset, this field resets to the expression 0x00000000.
Accessing GICD_ISPENDR<n>
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:
- Bits corresponding to SGIs and PPIs are RAZ/WI, and equivalent functionality for SGIs and PPIs is provided by GICR_ISPENDR0.
- Bits corresponding to Group 0 and Group 1 Secure interrupts can only be set by Secure accesses. 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.
GICD_ISPENDR<n> can be accessed through the memory-mapped interfaces:
| Component | Frame | Offset | Instance | | GIC Distributor | Dist_base | 0x0200 + (4 * n) | GICD_ISPENDR<n> |
Accesses to this register are RW.