Archived Arm source pages for the External debug and trace register pages. Part 13 of 22. This part covers GICH_LR, n = 0 to 15 through GICR_INVLPIR.
GICH_LR<n>, n = 0, 15
List Registers
These registers provide context information for the virtual CPU interface.
Configuration
This register is present only when FEAT_GICv3_LEGACY is implemented and EL2 is implemented. Otherwise, direct accesses to GICH_LR<n> are RES0.
This register is available when the GIC implementation supports interrupt virtualization.
A maximum of 16 List registers can be provided. GICH_VTR.ListRegs defines the number implemented. Unimplemented List registers are RAZ/WI.
Attributes
GICH_LR<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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| HW | Group | State | Priority | RES0 | pINTID | vINTID |
HW, bit [31]:
Indicates whether this virtual interrupt is a hardware interrupt, meaning that it corresponds to a physical interrupt. Deactivation of the virtual interrupt also causes the deactivation of the physical interrupt corresponding to the INTID:
| HW | Meaning |
|---|---|
| 0b0 | This interrupt is triggered entirely in software. No notification is sent to the Distributor when the virtual interrupt is deactivated. |
| 0b1 | A hardware interrupt. A deactivate interrupt request is sent to the Distributor when the virtual interrupt is deactivated, using GICH_LR<n>.pINTID to indicate the physical interrupt identifier. If GICV_CTLR.EOImode == 0, this request corresponds to a write to GICV_EOIR or GICV_AEOIR, otherwise it corresponds to a write to GICV_DIR. |
The reset behavior of this field is:
- On a Warm reset, this field resets to an architecturally UNKNOWN value.
Group, bit [30]:
Indicates whether the interrupt is Group 0 or Group 1:
| Group | Meaning |
|---|---|
| 0b0 | Group 0 virtual interrupt. GICV_CTLR.FIQEn determines whether it is signaled as a virtual IRQ or as a virtual FIQ, and GICV_CTLR.EnableGrp0 enables signaling of this interrupt to the virtual machine. |
| 0b1 | Group 1 virtual interrupt, signaled as a virtual IRQ. GICV_CTLR.EnableGrp1 enables signaling of this interrupt to the virtual machine. |
GICV_CTLR.CBPR controls whether GICV_BPR or GICV_ABPR determines if a pending Group 1 interrupt has sufficient priority to preempt current execution.
The reset behavior of this field is:
- On a Warm reset, this field resets to an architecturally UNKNOWN value.
State, bits [29:28]:
The state of the interrupt. This field has one of the following values:
| State | Meaning |
|---|---|
| 0b00 | Inactive |
| 0b01 | Pending |
| 0b10 | Active |
| 0b11 | Active and pending |
The GIC updates these state bits as virtual interrupts proceed through the interrupt life cycle. Entries in the inactive state are ignored, except for the purpose of generating virtual maintenance interrupts.
For hardware interrupts, the active and pending state is held in the Distributor rather than the virtual CPU interface. A hypervisor must only use the active and pending state for software originated interrupts, which are typically associated with virtual devices, or for SGIs.
The reset behavior of this field is:
- On a Warm reset, this field resets to an architecturally UNKNOWN value.
Priority, bits [27:23]:
The priority of this interrupt.
The reset behavior of this field is:
- On a Warm reset, this field resets to an architecturally UNKNOWN value.
Bits [22:20]:
Reserved, RES0.
pINTID, bits [19:10]:
The function of this field depends on the value of GICH_LR<n>.HW.
When GICH_LR<n>.HW == 0:
-
Bit [19] indicates whether the interrupt triggers an EOI maintenance interrupt. If this bit is 1, then when the interrupt identified by vINTID is deactivated, an EOI maintenance interrupt is asserted.
-
Bits [18:13] are reserved, SBZ.
-
If the vINTID field value corresponds to an SGI (that is, 0-15), bits [12:10] contain the number of the requesting PE. This appears in the corresponding field of GICV_IAR or GICV_AIAR. If the vINTID field value is not 0-15, this field must be cleared to 0. When GICH_LR<n>.HW == 1:
-
This field indicates the pINTID that the hypervisor forwards to the Distributor. This field is only required to implement enough bits to hold a valid value for the ID configuration. Any unused higher order bits are RAZ/WI.
-
If the value of pINTID is 0-15 or 1020-1023, behavior is UNPREDICTABLE. If the value of pINTID is 16-31, this field applies to the PPI associated with this same PE as the virtual CPU interface requesting the deactivation. The reset behavior of this field is:
-
On a Warm reset, this field resets to an architecturally UNKNOWN value.
vINTID, bits [9:0]:
This INTID is returned to the VM when the interrupt is acknowledged through GICV_IAR. Each valid interrupt stored in the List registers must have a unique vINTID for that virtual CPU interface. If the value of vINTID is 1020-1023, behavior is UNPREDICTABLE.
The reset behavior of this field is:
- On a Warm reset, this field resets to an architecturally UNKNOWN value.
Accessing GICH_LR<n>
This register is used only when System register access is not enabled. When System register access is enabled:
- For AArch32 implementations, ICH_LR<n> provides equivalent functionality.
- For AArch64 implementations, ICH_LR<n>_EL2 provides equivalent functionality.
GICH_LR<n> can be accessed through the memory-mapped interfaces:
| Component | Offset | Instance |
|---|---|---|
| GIC Virtual interface control | 0x0100 + (4 * n) | GICH_LR<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.
GICH_MISR
Maintenance Interrupt Status Register
Indicates which maintenance interrupts are asserted.
Configuration
This register is present only when FEAT_GICv3_LEGACY is implemented and EL2 is implemented. Otherwise, direct accesses to GICH_MISR are RES0.
This register is available when the GIC implementation supports interrupt virtualization.
Attributes
GICH_MISR 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RES0 | VGrp1D | VGrp1E | VGrp0D | VGrp0E | NP | LRENP | U | EOI |
Bits [31:8]:
Reserved, RES0.
VGrp1D, bit [7]:
vPE Group 1 Disabled.
| VGrp1D | Meaning |
|---|---|
| 0b0 | vPE Group 1 Disabled maintenance interrupt not asserted. |
| 0b1 | vPE Group 1 Disabled maintenance interrupt asserted. |
This maintenance interrupt is asserted when GICH_HCR.VGrp1DIE == 1 and GICH_VMCR.VENG1 == 0.
The reset behavior of this field is:
- On a Warm reset, this field resets to '0'.
VGrp1E, bit [6]:
vPE Group 1 Enabled.
| VGrp1E | Meaning |
|---|---|
| 0b0 | vPE Group 1 Enabled maintenance interrupt not asserted. |
| 0b1 | vPE Group 1 Enabled maintenance interrupt asserted. |
This maintenance interrupt is asserted when GICH_HCR.VGrp1EIE == 1 and GICH_VMCR.VENG1 == 1.
The reset behavior of this field is:
- On a Warm reset, this field resets to '0'.
VGrp0D, bit [5]:
vPE Group 0 Disabled.
| VGrp0D | Meaning |
|---|---|
| 0b0 | vPE Group 0 Disabled maintenance interrupt not asserted. |
| 0b1 | vPE Group 0 Disabled maintenance interrupt asserted. |
This maintenance interrupt is asserted when GICH_HCR.VGrp0DIE == 1 and GICH_VMCR.VENG0 == 0.
The reset behavior of this field is:
- On a Warm reset, this field resets to '0'.
VGrp0E, bit [4]:
vPE Group 0 Enabled.
| VGrp0E | Meaning |
|---|---|
| 0b0 | vPE Group 0 Enabled maintenance interrupt not asserted. |
| 0b1 | vPE Group 0 Enabled maintenance interrupt asserted. |
This maintenance interrupt is asserted when GICH_HCR.VGrp0EIE == 1 and GICH_VMCR.VENG0 == 1.
The reset behavior of this field is:
- On a Warm reset, this field resets to '0'.
NP, bit [3]:
No Pending.
| NP | Meaning |
|---|---|
| 0b0 | No Pending maintenance interrupt not asserted. |
| 0b1 | No Pending maintenance interrupt asserted. |
This maintenance interrupt is asserted when GICH_HCR.NPIE == 1 and no List register is in the pending state.
The reset behavior of this field is:
- On a Warm reset, this field resets to '0'.
LRENP, bit [2]:
List Register Entry Not Present.
| LRENP | Meaning |
|---|---|
| 0b0 | List Register Entry Not Present maintenance interrupt not asserted. |
| 0b1 | List Register Entry Not Present maintenance interrupt asserted. |
This maintenance interrupt is asserted when GICH_HCR.LRENPIE == 1 and GICH_HCR.EOICount is nonzero.
The reset behavior of this field is:
- On a Warm reset, this field resets to '0'.
U, bit [1]:
Underflow.
| U | Meaning |
|---|---|
| 0b0 | Underflow maintenance interrupt not asserted. |
| 0b1 | Underflow maintenance interrupt asserted. |
This maintenance interrupt is asserted when GICH_HCR.UIE == 1 and zero or one of the List register entries are marked as a valid interrupt.
The reset behavior of this field is:
- On a Warm reset, this field resets to '0'.
EOI, bit [0]:
End Of Interrupt.
| EOI | Meaning |
|---|---|
| 0b0 | End Of Interrupt maintenance interrupt not asserted. |
| 0b1 | End Of Interrupt maintenance interrupt asserted. |
This maintenance interrupt is asserted when at least one bit in GICH_EISR == 1.
The reset behavior of this field is:
- On a Warm reset, this field resets to '0'.
Additional information
A List register is in the pending state only if the corresponding GICH_LR<n> value is 0b01, that is, pending. The active and pending state is not included.
Accessing GICH_MISR
This register is used only when System register access is not enabled. When System register access is enabled:
- For AArch32 implementations, ICH_MISR provides equivalent functionality.
- For AArch64 implementations, ICH_MISR_EL2 provides equivalent functionality. A maintenance interrupt is asserted only if at least one bit is set to 1 in this register and if GICH_HCR.En == 1.
GICH_MISR can be accessed through the memory-mapped interfaces:
| Component | Offset | Instance |
|---|---|---|
| GIC Virtual interface control | 0x0010 | GICH_MISR |
Accessible as follows:
- When GICD_CTLR.DS == '0', accesses to this register are RO.
- When an access is Secure, accesses to this register are RO.
- When an access is Non-secure, accesses to this register are RO.
GICH_VMCR
Virtual Machine Control Register
Enables the hypervisor to save and restore the virtual machine view of the GIC state. This register is updated when a virtual machine updates the virtual CPU interface registers.
Configuration
This register is present only when FEAT_GICv3_LEGACY is implemented and EL2 is implemented. Otherwise, direct accesses to GICH_VMCR are RES0.
This register is available when the GIC implementation supports interrupt virtualization.
Attributes
GICH_VMCR 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| VPMR | VBPR0 | VBPR1 | RES0 | VEOIM | RES0 | VCBPR | VFIQEn | VAckCtl | VENG1 | VENG0 |
VPMR, bits [31:24]:
Virtual priority mask. The priority mask level for the CPU interface. If the priority of an interrupt is higher than the value indicated by this field, the interface signals the interrupt to the PE.
This alias field is updated when a VM updates GICV_PMR.Priority.
The reset behavior of this field is:
- On a Warm reset, this field resets to an architecturally UNKNOWN value.
VBPR0, bits [23:21]:
Virtual Binary Point Register, Group 0. Defines the point at which the priority value fields split into two parts, the Group priority field and the subpriority field. The Group priority field determines Group 0 interrupt preemption, and also determines Group 1 interrupt preemption if GICH_VMCR.VCBPR == 1.
This alias field is updated when a VM updates GICV_BPR.Binary_Point.
The reset behavior of this field is:
- On a Warm reset, this field resets to an architecturally UNKNOWN value.
VBPR1, bits [20:18]:
Virtual Binary Point Register, Group 1. Defines the point at which the priority value fields split into two parts, the Group priority field and the subpriority field. The Group priority field determines Group 1 interrupt preemption if GICH_VMCR.VCBPR == 0.
This alias field is updated when a VM updates GICV_ABPR.Binary_Point.
The reset behavior of this field is:
- On a Warm reset, this field resets to an architecturally UNKNOWN value.
Bits [17:10]:
Reserved, RES0.
VEOIM, bit [9]:
Virtual EOImode. Possible values of this bit are:
| VEOIM | Meaning |
|---|---|
| 0b0 | A write of an INTID to GICV_EOIR or GICV_AEOIR drops the priority of the interrupt with that INTID, and also deactivates that interrupt. |
| 0b1 | A write of an INTID to GICV_EOIR or GICV_AEOIR only drops the priority of the interrupt with that INTID. Software must write to GICV_DIR to deactivate the interrupt. |
This alias field is updated when a VM updates GICV_CTLR.EOImode.
The reset behavior of this field is:
- On a Warm reset, this field resets to an architecturally UNKNOWN value.
Bits [8:5]:
Reserved, RES0.
VCBPR, bit [4]:
Virtual Common Binary Point Register. Possible values of this bit are:
| VCBPR | Meaning |
|---|---|
| 0b0 | GICV_ABPR determines the preemption group for Group 1 interrupts. |
| 0b1 | GICV_BPR determines the preemption group for Group 1 interrupts. |
This alias field is updated when a VM updates GICV_CTLR.CBPR.
The reset behavior of this field is:
- On a Warm reset, this field resets to an architecturally UNKNOWN value.
VFIQEn, bit [3]:
Virtual FIQ enable. Possible values of this bit are:
| VFIQEn | Meaning |
|---|---|
| 0b0 | Group 0 virtual interrupts are presented as virtual IRQs. |
| 0b1 | Group 0 virtual interrupts are presented as virtual FIQs. |
This alias field is updated when a VM updates GICV_CTLR.FIQEn.
The reset behavior of this field is:
- On a Warm reset, this field resets to an architecturally UNKNOWN value.
VAckCtl, bit [2]:
Virtual AckCtl. Possible values of this bit are:
| VAckCtl | Meaning |
|---|---|
| 0b0 | If the highest priority pending interrupt is Group 1, a read of GICV_IAR or GICV_HPPIR returns an INTID of 1022. |
| 0b1 | If the highest priority pending interrupt is Group 1, a read of GICV_IAR or GICV_HPPIR returns the INTID of the corresponding interrupt. |
This alias field is updated when a VM updates GICV_CTLR.AckCtl.
This field is supported for backward compatibility with GICv2. Arm deprecates the use of this field.
The reset behavior of this field is:
- On a Warm reset, this field resets to an architecturally UNKNOWN value.
VENG1, bit [1]:
Virtual interrupt enable, Group 1. Possible values of this bit are:
| VENG1 | Meaning |
|---|---|
| 0b0 | Group 1 virtual interrupts are disabled. |
| 0b1 | Group 1 virtual interrupts are enabled. |
This alias field is updated when a VM updates GICV_CTLR.EnableGrp1.
The reset behavior of this field is:
- On a Warm reset, this field resets to an architecturally UNKNOWN value.
VENG0, bit [0]:
Virtual interrupt enable, Group 0. Possible values of this bit are:
| VENG0 | Meaning |
|---|---|
| 0b0 | Group 0 virtual interrupts are disabled. |
| 0b1 | Group 0 virtual interrupts are enabled. |
This alias field is updated when a VM updates GICV_CTLR.EnableGrp0.
The reset behavior of this field is:
- On a Warm reset, this field resets to an architecturally UNKNOWN value.
Additional information
A List register is in the pending state only if the corresponding GICH_LR<n> value is 0b01, that is, pending. The active and pending state is not included.
Accessing GICH_VMCR
This register is used only when System register access is not enabled. When System register access is enabled:
- For AArch32 implementations, ICH_VMCR provides equivalent functionality.
- For AArch64 implementations, ICH_VMCR_EL2 provides equivalent functionality.
GICH_VMCR can be accessed through the memory-mapped interfaces:
| Component | Offset | Instance |
|---|---|---|
| GIC Virtual interface control | 0x0008 | GICH_VMCR |
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.
GICH_VTR
Virtual Type Register
Indicates the number of implemented virtual priority bits and List registers.
Configuration
This register is present only when FEAT_GICv3_LEGACY is implemented and EL2 is implemented. Otherwise, direct accesses to GICH_VTR are RES0.
This register is available when the GIC implementation supports interrupt virtualization.
Attributes
GICH_VTR 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| PRIbits | PREbits | IDbits | SEIS | A3V | RES0 | ListRegs |
PRIbits, bits [31:29]:
The number of virtual priority bits implemented, minus one.
An implementation must implement at least 32 levels of virtual priority (5 priority bits).
PREbits, bits [28:26]:
The number of virtual preemption bits implemented, minus one.
An implementation must implement at least 32 levels of virtual preemption priority (5 preemption bits).
The value of this field must be less than or equal to the value of GICH_VTR.PRIbits.
IDbits, bits [25:23]:
The number of virtual interrupt identifier bits supported:
| IDbits | Meaning |
|---|---|
| 0b000 | 16 bits. |
| 0b001 | 24 bits. |
All other values are reserved.
SEIS, bit [22]:
SEI support. Indicates whether the virtual CPU interface supports generation of SEIs:
| SEIS | Meaning |
|---|---|
| 0b0 | The virtual CPU interface logic does not support generation of SEIs. |
| 0b1 | The virtual CPU interface logic supports generation of SEIs. |
A3V, bit [21]:
Affinity 3 valid. Possible values are:
| A3V | Meaning |
|---|---|
| 0b0 | The virtual CPU interface logic only supports zero values of the Aff3 field in ICC_SGI0R_EL1, ICC_SGI1R_EL1, and ICC_ASGI1R_EL1. |
| 0b1 | The virtual CPU interface logic supports nonzero values of the Aff3 field in ICC_SGI0R_EL1, ICC_SGI1R_EL1, and ICC_ASGI1R_EL1. |
Bits [20:5]:
Reserved, RES0.
ListRegs, bits [4:0]:
The number of implemented List registers, minus one.
Accessing GICH_VTR
This register is used only when System register access is not enabled. When System register access is enabled:
- For AArch32 implementations, ICH_VTR provides equivalent functionality.
- For AArch64 implementations, ICH_VTR_EL2 provides equivalent functionality.
GICH_VTR can be accessed through the memory-mapped interfaces:
| Component | Offset | Instance |
|---|---|---|
| GIC Virtual interface control | 0x0004 | GICH_VTR |
Accessible as follows:
- When GICD_CTLR.DS == '0', accesses to this register are RO.
- When an access is Secure, accesses to this register are RO.
- When an access is Non-secure, accesses to this register are RO.
GICR_CLRLPIR
Clear LPI Pending Register
Clears the pending state of the specified LPI.
Configuration
A copy of this register is provided for each Redistributor.
Attributes
GICR_CLRLPIR is a 64-bit register.
Field descriptions
When GICR_TYPER.DirectLPI == '1':
| 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 | |||||||||||||||||||||||||||||||
| pINTID |
Bits [63:32]:
Reserved, RES0.
pINTID, bits [31:0]:
The INTID of the physical LPI.
The size of this field is IMPLEMENTATION DEFINED, and is specified by the GICD_TYPER.IDbits field. Unimplemented bits are RES0.
When GICR_TYPER.DirectLPI == '0':
| 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 |
| IMPLEMENTATION DEFINED | |||||||||||||||||||||||||||||||
| IMPLEMENTATION DEFINED |
IMPLEMENTATION DEFINED, bits [63:0]:
IMPLEMENTATION DEFINED.
Accessing GICR_CLRLPIR
When written with a 32-bit write the data is zero-extended to 64 bits.
This register is mandatory in an implementation that supports LPIs and does not include an ITS. The functionality of this register is IMPLEMENTATION DEFINED in an implementation that does include an ITS.
Writes to this register have no effect if any of the following apply:
GICR_CTLR.EnableLPIs == 0.
The pINTID value specifies an unimplemented LPI.
The pINTID value specifies an LPI that is not pending.
GICR_CLRLPIR can be accessed through the memory-mapped interfaces:
| Component | Frame | Offset | Instance | | GIC Redistributor | RD_base | 0x0048 | GICR_CLRLPIR |
Accesses to this register are WO.
GICR_CTLR
Redistributor Control Register
Controls the operation of a Redistributor, and enables the signaling of LPIs by the Redistributor to the connected PE.
Configuration
A copy of this register is provided for each Redistributor.
Attributes
GICR_CTLR 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| UWP | RES0 | DPG1S | DPG1NS | DPG0 | RES0 | RWP | IR | CES | EnableLPIs |
UWP, bit [31]:
Upstream Write Pending. Read-only. Indicates whether all upstream writes have been communicated to the Distributor.
| UWP | Meaning |
|---|---|
| 0b0 | The effects of all upstream writes have been communicated to the Distributor, including any Generate SGI packets. For more information, see 'Generate SGI (ICC)' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069). |
| 0b1 | Not all the effects of upstream writes, including any Generate SGI packets, have been communicated to the Distributor. For more information, see 'Generate SGI (ICC)' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069). |
Bits [30:27]:
Reserved, RES0.
DPG1S, bit [26]:
Disable Processor selection for Group 1 Secure interrupts. When GICR_TYPER.DPGS == 1:
| DPG1S | Meaning |
|---|---|
| 0b0 | A Group 1 Secure SPI configured to use the 1 of N distribution model can select this PE, if the PE is not asleep and if Secure Group 1 interrupts are enabled. |
| 0b1 | A Group 1 Secure SPI configured to use the 1 of N distribution model cannot select this PE. |
When GICR_TYPER.DPGS == 0 this bit is RAZ/WI.
When GICD_CTLR.DS==1, this field is RAZ/WI. In GIC implementations that support two Security states, this field is only accessible by Secure accesses, and is RAZ/WI to Non-secure accesses.
It is IMPLEMENTATION DEFINED whether these bits affect the selection of PEs for interrupts using the 1 of N distribution model when GICD_CTLR.S_ACCESS.ARE_S==0.
The reset behavior of this field is:
- On a GIC reset, this field resets to '0'.
DPG1NS, bit [25]:
Disable Processor selection for Group 1 Non-secure interrupts. When GICR_TYPER.DPGS == 1:
| DPG1NS | Meaning |
|---|---|
| 0b0 | A Group 1 Non-secure SPI configured to use the 1 of N distribution model can select this PE, if the PE is not asleep and if Non-secure Group 1 interrupts are enabled. |
| 0b1 | A Group 1 Non-secure SPI configured to use the 1 of N distribution model cannot select this PE. |
When GICR_TYPER.DPGS == 0 this bit is RAZ/WI.
It is IMPLEMENTATION DEFINED whether these bits affect the selection of PEs for interrupts using the 1 of N distribution model when GICD_CTLR.S_ACCESS.ARE_NS==0.
The reset behavior of this field is:
- On a GIC reset, this field resets to '0'.
DPG0, bit [24]:
Disable Processor selection for Group 0 interrupts. When GICR_TYPER.DPGS == 1:
| DPG0 | Meaning |
|---|---|
| 0b0 | A Group 0 SPI configured to use the 1 of N distribution model can select this PE, if the PE is not asleep and if Group 0 interrupts are enabled. |
| 0b1 | A Group 0 SPI configured to use the 1 of N distribution model cannot select this PE. |
When GICR_TYPER.DPGS == 0 this bit is RAZ/WI.
When GICD_CTLR.DS == 1, this field is always accessible. In GIC implementations that support two Security states, this field is RAZ/WI to Non-secure accesses.
It is IMPLEMENTATION DEFINED whether these bits affect the selection of PEs for interrupts using the 1 of N distribution model when GICD_CTLR.S_ACCESS.ARE_S == 0.
The reset behavior of this field is:
- On a GIC reset, this field resets to '0'.
Bits [23:4]:
Reserved, RES0.
RWP, bit [3]:
Register Write Pending. This bit indicates whether a register write for the current Security state is in progress or not.
| RWP | Meaning |
|---|---|
| 0b0 | The effect of all previous writes to the following registers are visible to all agents in the system: GICR_ICENABLER0 GICR_CTLR.DPG1S GICR_CTLR.DPG1NS GICR_CTLR.DPG0 GICR_CTLR, which clears EnableLPIs from 1 to 0. In FEAT_GICv4p1, GICR_VPROPBASER, which clears Valid from 1 to 0. |
| 0b1 | The effect of all previous writes to the following registers are not guaranteed by the architecture to be visible to all agents in the system while the changes are still being propagated: GICR_ICENABLER0 GICR_CTLR.DPG1S GICR_CTLR.DPG1NS GICR_CTLR.DPG0 GICR_CTLR, which clears EnableLPIs from 1 to 0. In FEAT_GICv4p1, GICR_VPROPBASER, which clears Valid from 1 to 0. |
IR, bit [2]:
LPI invalidate registers supported.
This bit is read-only.
| IR | Meaning |
|---|---|
| 0b0 | This bit does not indicate whether the GICR_INVLPIR, GICR_INVALLR and GICR_SYNCR are implemented or not. |
| 0b1 | GICR_INVLPIR, GICR_INVALLR and GICR_SYNCR are implemented. |
If GICR_TYPER.DirectLPI is 1 or GICR_TYPER.RVPEI is 1, GICR_INVLPIR, GICR_INVALLR, and GICR_SYNCR are always implemented.
Arm recommends that implementations report GICR_CTLR.IR as 1 in these cases.
CES, bit [1]:
Clear Enable Supported.
This bit is read-only.
| CES | Meaning |
|---|---|
| 0b0 | The IRI does not indicate whether GICR_CTLR.EnableLPIs is RES1 once set. |
| 0b1 | GICR_CTLR.EnableLPIs is not RES1 once set. |
Implementing GICR_CTLR.EnableLPIs as programmable and not reporting GICR_CLTR.CES == 1 is deprecated.
Implementing GICR_CTLR.EnableLPIs as RES1 once set is deprecated.
When GICR_CLTR.CES == 0, software cannot assume that GICR_CTLR.EnableLPIs is programmable without observing the bit being cleared to 0.
EnableLPIs, bit [0]:
In implementations where affinity routing is enabled for the Security state:
| EnableLPIs | Meaning |
|---|---|
| 0b0 | LPI support is disabled. Any doorbell interrupt generated as a result of a write to a virtual LPI register must be discarded, and any ITS translation requests or commands involving LPIs in this Redistributor are ignored. |
| 0b1 | LPI support is enabled. |
If GICR_TYPER.PLPIS == 0, this field is RES0. If GICD_CTLR.S_ACCESS.ARE_NS is written from 1 to 0 when this bit is 1, behavior is an IMPLEMENTATION DEFINED choice between clearing GICR_CTLR.EnableLPIs to 0 or maintaining its current value.
When affinity routing is not enabled for the Non-secure state, this bit is RES0.
When written from 0 to 1, the Redistributor loads the LPI Pending table from memory to check for any pending interrupts.
After it has been written to 1, it is IMPLEMENTATION DEFINED whether the bit becomes RES1 or can be cleared by to 0.
Where the bit remains programmable:
- Software must observe GICR_CTLR.RWP==0 after clearing GICR_CTLR.EnableLPIs from 1 to 0 before writing GICR_PENDBASER or GICR_PROPBASER, otherwise behavior is UNPREDICTABLE.
- Software must observe GICR_CTLR.RWP==0 after clearing GICR_CTLR.EnableLPIs from 1 to 0 before setting GICR_CTLR.EnableLPIs to 1, otherwise behavior is UNPREDICTABLE. If one or more ITS is implemented, Arm strongly recommends that all LPIs are mapped to another Redistributor before GICR_CTLR.EnableLPIs is cleared to 0.
The reset behavior of this field is:
- On a GIC reset, this field resets to '0'.
Additional information
The participation of a PE in the 1 of N distribution model for a given interrupt group is governed by the concatenation of GICR_WAKER.ProcessorSleep, the appropriate GICR_CTLR.DPG{1, 0} bit, and the PE interrupt group enable. The behavior options are:
| PS | DPG{1S, 1NS, 0} | Enable | PE Behavior | | 0b0 | 0b0 | 0b0 | The PE cannot be selected. | | 0b0 | 0b0 | 0b1 | The PE can be selected. | | 0b0 | 0b1 | * | The PE cannot be selected. | | 0b1 | * | * | The PE cannot be selected when GICD_CTLR.S_ACCESS.E1NWF == 0. When GICD_CTLR.S_ACCESS.E1NWF == 1, the mechanism by which PEs are selected isIMPLEMENTATION DEFINED. |
If an SPI using the 1 of N distribution model has been forwarded to the PE, and a write to GICR_CTLR occurs that changes the DPG bit for the interrupt group of the SPI, the IRI must attempt to select a different target PE for the SPI. This might have no effect on the forwarded SPI if it has already been activated.
Accessing GICR_CTLR
GICR_CTLR can be accessed through the memory-mapped interfaces:
| Component | Frame | Offset | Instance | | GIC Redistributor | RD_base | 0x0000 | GICR_CTLR |
Accesses to this register are RW.
GICR_ICACTIVER0
Interrupt Clear-Active Register 0
Deactivates the corresponding SGI or PPI. These registers are used when saving and restoring GIC state.
Configuration
A copy of this register is provided for each Redistributor.
Attributes
GICR_ICACTIVER0 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Clear_active_bit31 | Clear_active_bit30 | Clear_active_bit29 | Clear_active_bit28 | Clear_active_bit27 | Clear_active_bit26 | Clear_active_bit25 | Clear_active_bit24 | Clear_active_bit23 | Clear_active_bit22 | Clear_active_bit21 | Clear_active_bit20 | Clear_active_bit19 | Clear_active_bit18 | Clear_active_bit17 | Clear_active_bit16 | Clear_active_bit15 | Clear_active_bit14 | Clear_active_bit13 | Clear_active_bit12 | Clear_active_bit11 | Clear_active_bit10 | Clear_active_bit9 | Clear_active_bit8 | Clear_active_bit7 | Clear_active_bit6 | Clear_active_bit5 | Clear_active_bit4 | Clear_active_bit3 | Clear_active_bit2 | Clear_active_bit1 | Clear_active_bit0 |
Clear_active_bit<x>, bit [x], for x = 31 to 0:
Removes the active state from interrupt number x. Reads and writes have the following behavior:
| Clear_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, 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:
- On a GIC reset, this field resets to the expression 0x00000000.
Accessing GICR_ICACTIVER0
When affinity routing is not enabled for the Security state of an interrupt in GICR_ICACTIVER0, the corresponding bit is RAZ/WI and equivalent functionality is provided by GICD_ICACTIVER<n> with n=0.
This register only applies to SGIs (bits [15:0]) and PPIs (bits [31:16]). For SPIs, this functionality is provided by GICD_ICACTIVER<n>.
When GICD_CTLR.DS == 0, bits corresponding to Secure SGIs and PPIs are RAZ/WI to Non-secure accesses.
The effect of a write must be visible in finite time.
GICR_ICACTIVER0 can be accessed through the memory-mapped interfaces:
| Component | Frame | Offset | Instance | | GIC Redistributor | SGI_base | 0x0380 | GICR_ICACTIVER0 |
Accesses to this register are RW.
GICR_ICENABLER0
Interrupt Clear-Enable Register 0
Disables forwarding of the corresponding SGI or PPI to the CPU interfaces.
Configuration
A copy of this register is provided for each Redistributor.
Attributes
GICR_ICENABLER0 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Clear_enable_bit31 | Clear_enable_bit30 | Clear_enable_bit29 | Clear_enable_bit28 | Clear_enable_bit27 | Clear_enable_bit26 | Clear_enable_bit25 | Clear_enable_bit24 | Clear_enable_bit23 | Clear_enable_bit22 | Clear_enable_bit21 | Clear_enable_bit20 | Clear_enable_bit19 | Clear_enable_bit18 | Clear_enable_bit17 | Clear_enable_bit16 | Clear_enable_bit15 | Clear_enable_bit14 | Clear_enable_bit13 | Clear_enable_bit12 | Clear_enable_bit11 | Clear_enable_bit10 | Clear_enable_bit9 | Clear_enable_bit8 | Clear_enable_bit7 | Clear_enable_bit6 | Clear_enable_bit5 | Clear_enable_bit4 | Clear_enable_bit3 | Clear_enable_bit2 | Clear_enable_bit1 | Clear_enable_bit0 |
Clear_enable_bit<x>, bit [x], for x = 31 to 0:
For PPIs and SGIs, controls the forwarding of interrupt number x to the CPU interfaces. Reads and writes have the following behavior:
| Clear_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, disables 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:
- On a GIC reset, this field resets to an architecturally UNKNOWN value.
Accessing GICR_ICENABLER0
When affinity routing is not enabled for the Security state of an interrupt in GICR_ICENABLER0, the corresponding bit is RAZ/WI and equivalent functionality is provided by GICD_ICENABLER<n> with n=0.
This register only applies to SGIs (bits [15:0]) and PPIs (bits [31:16]). For SPIs, this functionality is provided by GICD_ICENABLER<n>.
When GICD_CTLR.DS == 0, bits corresponding to Secure SGIs and PPIs are RAZ/WI to Non-secure accesses.
GICR_ICENABLER0 can be accessed through the memory-mapped interfaces:
| Component | Frame | Offset | Instance | | GIC Redistributor | SGI_base | 0x0180 | GICR_ICENABLER0 |
Accesses to this register are RW.
GICR_ICPENDR0
Interrupt Clear-Pending Register 0
Removes the pending state from the corresponding SGI or PPI.
Configuration
A copy of this register is provided for each Redistributor.
Attributes
GICR_ICPENDR0 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Clear_pending_bit31 | Clear_pending_bit30 | Clear_pending_bit29 | Clear_pending_bit28 | Clear_pending_bit27 | Clear_pending_bit26 | Clear_pending_bit25 | Clear_pending_bit24 | Clear_pending_bit23 | Clear_pending_bit22 | Clear_pending_bit21 | Clear_pending_bit20 | Clear_pending_bit19 | Clear_pending_bit18 | Clear_pending_bit17 | Clear_pending_bit16 | Clear_pending_bit15 | Clear_pending_bit14 | Clear_pending_bit13 | Clear_pending_bit12 | Clear_pending_bit11 | Clear_pending_bit10 | Clear_pending_bit9 | Clear_pending_bit8 | Clear_pending_bit7 | Clear_pending_bit6 | Clear_pending_bit5 | Clear_pending_bit4 | Clear_pending_bit3 | Clear_pending_bit2 | Clear_pending_bit1 | Clear_pending_bit0 |
Clear_pending_bit<x>, bit [x], for x = 31 to 0:
Removes the pending state from interrupt number x. Reads and writes have the following behavior:
| Clear_pending_bit<x> | Meaning |
|---|---|
| 0b0 | If read, indicates that the corresponding interrupt is not pending. 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 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>. 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:
- On a GIC reset, this field resets to an architecturally UNKNOWN value.
Accessing GICR_ICPENDR0
When affinity routing is not enabled for the Security state of an interrupt in GICR_ICPENDR0, the corresponding bit is RAZ/WI and equivalent functionality is provided by GICD_ICPENDR<n> with n=0.
This register only applies to SGIs (bits [15:0]) and PPIs (bits [31:16]). For SPIs, this functionality is provided by GICD_ICENABLER<n>.
When GICD_CTLR.DS == 0, bits corresponding to Secure SGIs and PPIs are RAZ/WI to Non-secure accesses.
GICR_ICPENDR0 can be accessed through the memory-mapped interfaces:
| Component | Frame | Offset | Instance | | GIC Redistributor | SGI_base | 0x0280 | GICR_ICPENDR0 |
Accesses to this register are RW.
GICR_IGROUPR0
Interrupt Group Register 0
Controls whether the corresponding SGI or PPI is in Group 0 or Group 1.
Configuration
This register is available in all GIC configurations. If the GIC implementation supports two Security states, this register is Secure.
A copy of this register is provided for each Redistributor.
Attributes
GICR_IGROUPR0 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Redistributor_group_status_bit31 | Redistributor_group_status_bit30 | Redistributor_group_status_bit29 | Redistributor_group_status_bit28 | Redistributor_group_status_bit27 | Redistributor_group_status_bit26 | Redistributor_group_status_bit25 | Redistributor_group_status_bit24 | Redistributor_group_status_bit23 | Redistributor_group_status_bit22 | Redistributor_group_status_bit21 | Redistributor_group_status_bit20 | Redistributor_group_status_bit19 | Redistributor_group_status_bit18 | Redistributor_group_status_bit17 | Redistributor_group_status_bit16 | Redistributor_group_status_bit15 | Redistributor_group_status_bit14 | Redistributor_group_status_bit13 | Redistributor_group_status_bit12 | Redistributor_group_status_bit11 | Redistributor_group_status_bit10 | Redistributor_group_status_bit9 | Redistributor_group_status_bit8 | Redistributor_group_status_bit7 | Redistributor_group_status_bit6 | Redistributor_group_status_bit5 | Redistributor_group_status_bit4 | Redistributor_group_status_bit3 | Redistributor_group_status_bit2 | Redistributor_group_status_bit1 | Redistributor_group_status_bit0 |
Redistributor_group_status_bit<x>, bit [x], for x = 31 to 0:
Group status bit. In this register:
- Bits [31:16] are group status bits for PPIs.
- Bits [15:0] are group status bits for SGIs.
| Redistributor_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. |
When GICD_CTLR.DS == 0, the bit that corresponds to the interrupt is concatenated with the equivalent bit in GICR_IGRPMODR0 to form a 2-bit field that defines an interrupt group. The encoding of this field is at GICR_IGRPMODR0.
The reset behavior of this field is:
- On a GIC reset, this field resets to an architecturally UNKNOWN value.
Additional information
The considerations for the reset value of this register are the same as those for GICD_IGROUPR<n> with n=0.
Accessing GICR_IGROUPR0
When affinity routing is not enabled for the Security state of an interrupt in GICR_IGROUPR0, the corresponding bit is RES0 and equivalent functionality is provided by GICD_IGROUPR<n> with n=0.
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.
GICR_IGROUPR0 can be accessed through the memory-mapped interfaces:
| Component | Frame | Offset | Instance | | GIC Redistributor | SGI_base | 0x0080 | GICR_IGROUPR0 |
Accesses to this register are RW.
GICR_IGRPMODR0
Interrupt Group Modifier Register 0
When GICD_CTLR.DS==0, this register together with the GICR_IGROUPR0 register, controls whether the corresponding interrupt is in:
- Secure Group 0.
- Non-secure Group 1.
- When System register access is enabled, Secure Group 1.
Configuration
When GICD_CTLR.DS==0, this register is Secure.
A copy of this register is provided for each Redistributor.
Attributes
GICR_IGRPMODR0 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 GICR_IGROUPR0 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 an architecturally UNKNOWN value.
Accessing GICR_IGRPMODR0
When affinity routing is not enabled for the Security state of an interrupt in GICR_IGRPMODR0, the corresponding bit is RES0 and equivalent functionality is provided by GICD_IGRPMODR<n> with n=0.
This register only applies to SGIs (bits [15:0]) and PPIs (bits [31:16]). For SPIs, this functionality is provided by GICD_IGRPMODR<n>.
When GICD_CTLR.S_ACCESS.ARE_S == 0 or GICD_CTLR.DS == 1, GICR_IGRPMODR0 is RES0. An implementation can make this register RAZ/WI in this case.
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.
GICR_IGRPMODR0 can be accessed through the memory-mapped interfaces:
| Component | Frame | Offset | Instance | | GIC Redistributor | SGI_base | 0x0D00 | GICR_IGRPMODR0 |
Accesses to this register are RW.
GICR_INVALLR
Redistributor Invalidate All Register
Invalidates any cached configuration data of all LPIs, causing the GIC to reload the interrupt configuration from the appropriate LPI Configuration table.
Configuration
A copy of this register is provided for each Redistributor.
Attributes
GICR_INVALLR 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 |
| V | RES0 | vPEID | |||||||||||||||||||||||||||||
| RES0 |
V, bit [63] when GICv4.1 is implemented:
Indicates whether the INTID is virtual or physical.
| V | Meaning |
|---|---|
| 0b0 | Invalidate is for a physical INTID. |
| 0b1 | Invalidate is for a virtual INTID. |
Otherwise:
Reserved, RES0.
Bits [62:48]:
Reserved, RES0.
vPEID, bits [47:32] when GICv4.1 is implemented:
When GICR_INVLPIR.V == 0, this field is RES0
When GICR_INVLPIR.V == 1, this field is the target vPEID of the invalidate.
The size of this field is IMPLEMENTATION DEFINED, and is specified by the GICD_TYPER2.VIL and GICD_TYPER2.VID fields. Unimplemented bits are RES0.
Otherwise:
Reserved, RES0.
Bits [31:0]:
Reserved, RES0.
Additional information
If any LPI has been forwarded to the PE and a valid write to GICR_INVALLR is received, the Redistributor must ensure it reloads its properties from memory. This has no effect on the forwarded LPI if it has already been activated.
Accessing GICR_INVALLR
This register is mandatory when any of the following are true:
- GICR_TYPER.Direct is 1.
- GICR_CTLR.IR is 1.
- GICv4.1 is implemented. Otherwise, the functionality is IMPLEMENTATION DEFINED.
Writes to this register have no effect if no physical LPIs are currently stored in the local Redistributor cache.
GICR_INVALLR can be accessed through the memory-mapped interfaces:
| Component | Frame | Offset | Instance | | GIC Redistributor | RD_base | 0x00B0 | GICR_INVALLR |
Accesses to this register are WO.
GICR_INVLPIR
Redistributor Invalidate LPI Register
Invalidates the cached configuration data of a specified LPI, causing the GIC to reload the interrupt configuration from the appropriate LPI Configuration table.
Configuration
A copy of this register is provided for each Redistributor.
Attributes
GICR_INVLPIR 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 |
| V | RES0 | vPEID | |||||||||||||||||||||||||||||
| INTID |
V, bit [63] when GICv4.1 is implemented:
Indicates whether the INTID is virtual or physical.
| V | Meaning |
|---|---|
| 0b0 | Invalidate is for a physical INTID. |
| 0b1 | Invalidate is for a virtual INTID. |
Otherwise:
Reserved, RES0.
Bits [62:48]:
Reserved, RES0.
vPEID, bits [47:32] when GICv4.1 is implemented:
When GICR_INVLPIR.V == 0, this field is RES0
When GICR_INVLPIR.V == 1, this field is the target vPEID of the invalidate.
The size of this field is IMPLEMENTATION DEFINED, and is specified by the GICD_TYPER2.VIL and GICD_TYPER2.VID fields. Unimplemented bits are RES0.
Otherwise:
Reserved, RES0.
INTID, bits [31:0]:
The INTID of the LPI to be invalidated.
The size of this field is IMPLEMENTATION DEFINED, and is specified by the GICD_TYPER.IDbits field. Unimplemented bits are RES0.
Additional information
If any LPI has been forwarded to the PE and a valid write to GICR_INVLPIR is received, the Redistributor must ensure it reloads its properties from memory and apply any changes by retrieving and reforwarding the LPI as required. This has no effect on the forwarded LPI if it has already been activated.
Accessing GICR_INVLPIR
When written with a 32-bit write the data is zero-extended to 64 bits.
This register is mandatory when any of the following are true:
- GICR_TYPER.Direct is 1.
- GICR_CTLR.IR is 1.
- GICv4.1 is implemented. Otherwise, the functionality is IMPLEMENTATION DEFINED.
Writes to this register have no effect if either:
- The specified LPI is not currently stored in the local Redistributor.
- The INTID field corresponds to an unimplemented LPI.
GICR_INVLPIR can be accessed through the memory-mapped interfaces:
| Component | Frame | Offset | Instance | | GIC Redistributor | RD_base | 0x00A0 | GICR_INVLPIR |
Accesses to this register are WO.