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

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

Edit history

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

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

Revision 1

current by admin · 2d ago #1

Reason: replace numeric range dashes in intro

Archived Arm source pages for the External debug and trace register pages. Part 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

313029282726252423222120191817161514131211109876543210
HWGroupStatePriorityRES0pINTIDvINTID

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:

HWMeaning
0b0This interrupt is triggered entirely in software. No notification is sent to the Distributor when the virtual interrupt is deactivated.
0b1A 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:

GroupMeaning
0b0Group 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.
0b1Group 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:

StateMeaning
0b00Inactive
0b01Pending
0b10Active
0b11Active 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:

ComponentOffsetInstance
GIC Virtual interface control0x0100 + (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

313029282726252423222120191817161514131211109876543210
RES0VGrp1DVGrp1EVGrp0DVGrp0ENPLRENPUEOI

Bits [31:8]:

Reserved, RES0.

VGrp1D, bit [7]:

vPE Group 1 Disabled.

VGrp1DMeaning
0b0vPE Group 1 Disabled maintenance interrupt not asserted.
0b1vPE 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.

VGrp1EMeaning
0b0vPE Group 1 Enabled maintenance interrupt not asserted.
0b1vPE 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.

VGrp0DMeaning
0b0vPE Group 0 Disabled maintenance interrupt not asserted.
0b1vPE 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.

VGrp0EMeaning
0b0vPE Group 0 Enabled maintenance interrupt not asserted.
0b1vPE 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.

NPMeaning
0b0No Pending maintenance interrupt not asserted.
0b1No 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.

LRENPMeaning
0b0List Register Entry Not Present maintenance interrupt not asserted.
0b1List 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.

UMeaning
0b0Underflow maintenance interrupt not asserted.
0b1Underflow 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.

EOIMeaning
0b0End Of Interrupt maintenance interrupt not asserted.
0b1End 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:

ComponentOffsetInstance
GIC Virtual interface control0x0010GICH_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

313029282726252423222120191817161514131211109876543210
VPMRVBPR0VBPR1RES0VEOIMRES0VCBPRVFIQEnVAckCtlVENG1VENG0

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:

VEOIMMeaning
0b0A write of an INTID to GICV_EOIR or GICV_AEOIR drops the priority of the interrupt with that INTID, and also deactivates that interrupt.
0b1A 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:

VCBPRMeaning
0b0GICV_ABPR determines the preemption group for Group 1 interrupts.
0b1GICV_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:

VFIQEnMeaning
0b0Group 0 virtual interrupts are presented as virtual IRQs.
0b1Group 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:

VAckCtlMeaning
0b0If the highest priority pending interrupt is Group 1, a read of GICV_IAR or GICV_HPPIR returns an INTID of 1022.
0b1If 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:

VENG1Meaning
0b0Group 1 virtual interrupts are disabled.
0b1Group 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:

VENG0Meaning
0b0Group 0 virtual interrupts are disabled.
0b1Group 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:

ComponentOffsetInstance
GIC Virtual interface control0x0008GICH_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

313029282726252423222120191817161514131211109876543210
PRIbitsPREbitsIDbitsSEISA3VRES0ListRegs

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:

IDbitsMeaning
0b00016 bits.
0b00124 bits.

All other values are reserved.

SEIS, bit [22]:

SEI support. Indicates whether the virtual CPU interface supports generation of SEIs:

SEISMeaning
0b0The virtual CPU interface logic does not support generation of SEIs.
0b1The virtual CPU interface logic supports generation of SEIs.

A3V, bit [21]:

Affinity 3 valid. Possible values are:

A3VMeaning
0b0The virtual CPU interface logic only supports zero values of the Aff3 field in ICC_SGI0R_EL1, ICC_SGI1R_EL1, and ICC_ASGI1R_EL1.
0b1The 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:

ComponentOffsetInstance
GIC Virtual interface control0x0004GICH_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':

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
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':

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
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

313029282726252423222120191817161514131211109876543210
UWPRES0DPG1SDPG1NSDPG0RES0RWPIRCESEnableLPIs

UWP, bit [31]:

Upstream Write Pending. Read-only. Indicates whether all upstream writes have been communicated to the Distributor.

UWPMeaning
0b0The 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).
0b1Not 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:

DPG1SMeaning
0b0A 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.
0b1A 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:

DPG1NSMeaning
0b0A 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.
0b1A 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:

DPG0Meaning
0b0A 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.
0b1A 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.

RWPMeaning
0b0The 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.
0b1The 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.

IRMeaning
0b0This bit does not indicate whether the GICR_INVLPIR, GICR_INVALLR and GICR_SYNCR are implemented or not.
0b1GICR_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.

CESMeaning
0b0The IRI does not indicate whether GICR_CTLR.EnableLPIs is RES1 once set.
0b1GICR_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:

EnableLPIsMeaning
0b0LPI 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.
0b1LPI 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

313029282726252423222120191817161514131211109876543210
Clear_active_bit31Clear_active_bit30Clear_active_bit29Clear_active_bit28Clear_active_bit27Clear_active_bit26Clear_active_bit25Clear_active_bit24Clear_active_bit23Clear_active_bit22Clear_active_bit21Clear_active_bit20Clear_active_bit19Clear_active_bit18Clear_active_bit17Clear_active_bit16Clear_active_bit15Clear_active_bit14Clear_active_bit13Clear_active_bit12Clear_active_bit11Clear_active_bit10Clear_active_bit9Clear_active_bit8Clear_active_bit7Clear_active_bit6Clear_active_bit5Clear_active_bit4Clear_active_bit3Clear_active_bit2Clear_active_bit1Clear_active_bit0

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

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

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

The reset behavior of this field is:

  • 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

313029282726252423222120191817161514131211109876543210
Clear_enable_bit31Clear_enable_bit30Clear_enable_bit29Clear_enable_bit28Clear_enable_bit27Clear_enable_bit26Clear_enable_bit25Clear_enable_bit24Clear_enable_bit23Clear_enable_bit22Clear_enable_bit21Clear_enable_bit20Clear_enable_bit19Clear_enable_bit18Clear_enable_bit17Clear_enable_bit16Clear_enable_bit15Clear_enable_bit14Clear_enable_bit13Clear_enable_bit12Clear_enable_bit11Clear_enable_bit10Clear_enable_bit9Clear_enable_bit8Clear_enable_bit7Clear_enable_bit6Clear_enable_bit5Clear_enable_bit4Clear_enable_bit3Clear_enable_bit2Clear_enable_bit1Clear_enable_bit0

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

For 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
0b0If read, indicates that forwarding of the corresponding interrupt is disabled. If written, has no effect.
0b1If read, indicates that forwarding of the corresponding interrupt is enabled. If written, disables forwarding of the corresponding interrupt. After a write of 1 to this bit, a subsequent read of this bit returns 0.

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

313029282726252423222120191817161514131211109876543210
Clear_pending_bit31Clear_pending_bit30Clear_pending_bit29Clear_pending_bit28Clear_pending_bit27Clear_pending_bit26Clear_pending_bit25Clear_pending_bit24Clear_pending_bit23Clear_pending_bit22Clear_pending_bit21Clear_pending_bit20Clear_pending_bit19Clear_pending_bit18Clear_pending_bit17Clear_pending_bit16Clear_pending_bit15Clear_pending_bit14Clear_pending_bit13Clear_pending_bit12Clear_pending_bit11Clear_pending_bit10Clear_pending_bit9Clear_pending_bit8Clear_pending_bit7Clear_pending_bit6Clear_pending_bit5Clear_pending_bit4Clear_pending_bit3Clear_pending_bit2Clear_pending_bit1Clear_pending_bit0

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

Removes the pending state from interrupt number x. Reads and writes have the following behavior:

Clear_pending_bit<x>Meaning
0b0If read, indicates that the corresponding interrupt is not pending. If written, has no effect.
0b1If read, indicates that the corresponding interrupt is pending, or active and pending. If written, changes the state of the corresponding interrupt from pending to inactive, or from active and pending to active. This has no effect in the following cases: If the interrupt is not pending and is not active and pending. If the interrupt is a level-sensitive interrupt that is pending or active and pending for a reason other than a write to GICD_ISPENDR<n>. 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

313029282726252423222120191817161514131211109876543210
Redistributor_group_status_bit31Redistributor_group_status_bit30Redistributor_group_status_bit29Redistributor_group_status_bit28Redistributor_group_status_bit27Redistributor_group_status_bit26Redistributor_group_status_bit25Redistributor_group_status_bit24Redistributor_group_status_bit23Redistributor_group_status_bit22Redistributor_group_status_bit21Redistributor_group_status_bit20Redistributor_group_status_bit19Redistributor_group_status_bit18Redistributor_group_status_bit17Redistributor_group_status_bit16Redistributor_group_status_bit15Redistributor_group_status_bit14Redistributor_group_status_bit13Redistributor_group_status_bit12Redistributor_group_status_bit11Redistributor_group_status_bit10Redistributor_group_status_bit9Redistributor_group_status_bit8Redistributor_group_status_bit7Redistributor_group_status_bit6Redistributor_group_status_bit5Redistributor_group_status_bit4Redistributor_group_status_bit3Redistributor_group_status_bit2Redistributor_group_status_bit1Redistributor_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
0b0When GICD_CTLR.DS==1, the corresponding interrupt is Group 0. When GICD_CTLR.DS==0, the corresponding interrupt is Secure.
0b1When 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

313029282726252423222120191817161514131211109876543210
Group_modifier_bit31Group_modifier_bit30Group_modifier_bit29Group_modifier_bit28Group_modifier_bit27Group_modifier_bit26Group_modifier_bit25Group_modifier_bit24Group_modifier_bit23Group_modifier_bit22Group_modifier_bit21Group_modifier_bit20Group_modifier_bit19Group_modifier_bit18Group_modifier_bit17Group_modifier_bit16Group_modifier_bit15Group_modifier_bit14Group_modifier_bit13Group_modifier_bit12Group_modifier_bit11Group_modifier_bit10Group_modifier_bit9Group_modifier_bit8Group_modifier_bit7Group_modifier_bit6Group_modifier_bit5Group_modifier_bit4Group_modifier_bit3Group_modifier_bit2Group_modifier_bit1Group_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

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
VRES0vPEID
RES0

V, bit [63] when GICv4.1 is implemented:

Indicates whether the INTID is virtual or physical.

VMeaning
0b0Invalidate is for a physical INTID.
0b1Invalidate 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

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
VRES0vPEID
INTID

V, bit [63] when GICv4.1 is implemented:

Indicates whether the INTID is virtual or physical.

VMeaning
0b0Invalidate is for a physical INTID.
0b1Invalidate 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.

Changes from the previous version
<p>Archived Arm source pages for the External debug and trace register pages. Part 13 of 22. This part covers GICH_LR<n>, n = 0 - 15 through GICR_INVLPIR.</p><p>Archived Arm source pages for the External debug and trace register pages. Part 13 of 22. This part covers GICH_LR<n>, n = 0 to 15 through GICR_INVLPIR.</p><h1>GICH_LR&lt;n&gt;, n = 0, 15</h1><p>List Registers</p><p>These registers provide context information for the virtual CPU interface.</p>… 831 unchanged lines

Original

by admin · 2d ago #0

Archived Arm source pages for the External debug and trace register pages. Part 13 of 22. This part covers GICH_LR, n = 0 - 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

313029282726252423222120191817161514131211109876543210
HWGroupStatePriorityRES0pINTIDvINTID

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:

HWMeaning
0b0This interrupt is triggered entirely in software. No notification is sent to the Distributor when the virtual interrupt is deactivated.
0b1A 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:

GroupMeaning
0b0Group 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.
0b1Group 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:

StateMeaning
0b00Inactive
0b01Pending
0b10Active
0b11Active 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:

ComponentOffsetInstance
GIC Virtual interface control0x0100 + (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

313029282726252423222120191817161514131211109876543210
RES0VGrp1DVGrp1EVGrp0DVGrp0ENPLRENPUEOI

Bits [31:8]:

Reserved, RES0.

VGrp1D, bit [7]:

vPE Group 1 Disabled.

VGrp1DMeaning
0b0vPE Group 1 Disabled maintenance interrupt not asserted.
0b1vPE 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.

VGrp1EMeaning
0b0vPE Group 1 Enabled maintenance interrupt not asserted.
0b1vPE 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.

VGrp0DMeaning
0b0vPE Group 0 Disabled maintenance interrupt not asserted.
0b1vPE 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.

VGrp0EMeaning
0b0vPE Group 0 Enabled maintenance interrupt not asserted.
0b1vPE 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.

NPMeaning
0b0No Pending maintenance interrupt not asserted.
0b1No 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.

LRENPMeaning
0b0List Register Entry Not Present maintenance interrupt not asserted.
0b1List 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.

UMeaning
0b0Underflow maintenance interrupt not asserted.
0b1Underflow 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.

EOIMeaning
0b0End Of Interrupt maintenance interrupt not asserted.
0b1End 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:

ComponentOffsetInstance
GIC Virtual interface control0x0010GICH_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

313029282726252423222120191817161514131211109876543210
VPMRVBPR0VBPR1RES0VEOIMRES0VCBPRVFIQEnVAckCtlVENG1VENG0

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:

VEOIMMeaning
0b0A write of an INTID to GICV_EOIR or GICV_AEOIR drops the priority of the interrupt with that INTID, and also deactivates that interrupt.
0b1A 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:

VCBPRMeaning
0b0GICV_ABPR determines the preemption group for Group 1 interrupts.
0b1GICV_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:

VFIQEnMeaning
0b0Group 0 virtual interrupts are presented as virtual IRQs.
0b1Group 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:

VAckCtlMeaning
0b0If the highest priority pending interrupt is Group 1, a read of GICV_IAR or GICV_HPPIR returns an INTID of 1022.
0b1If 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:

VENG1Meaning
0b0Group 1 virtual interrupts are disabled.
0b1Group 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:

VENG0Meaning
0b0Group 0 virtual interrupts are disabled.
0b1Group 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:

ComponentOffsetInstance
GIC Virtual interface control0x0008GICH_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

313029282726252423222120191817161514131211109876543210
PRIbitsPREbitsIDbitsSEISA3VRES0ListRegs

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:

IDbitsMeaning
0b00016 bits.
0b00124 bits.

All other values are reserved.

SEIS, bit [22]:

SEI support. Indicates whether the virtual CPU interface supports generation of SEIs:

SEISMeaning
0b0The virtual CPU interface logic does not support generation of SEIs.
0b1The virtual CPU interface logic supports generation of SEIs.

A3V, bit [21]:

Affinity 3 valid. Possible values are:

A3VMeaning
0b0The virtual CPU interface logic only supports zero values of the Aff3 field in ICC_SGI0R_EL1, ICC_SGI1R_EL1, and ICC_ASGI1R_EL1.
0b1The 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:

ComponentOffsetInstance
GIC Virtual interface control0x0004GICH_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':

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
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':

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
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

313029282726252423222120191817161514131211109876543210
UWPRES0DPG1SDPG1NSDPG0RES0RWPIRCESEnableLPIs

UWP, bit [31]:

Upstream Write Pending. Read-only. Indicates whether all upstream writes have been communicated to the Distributor.

UWPMeaning
0b0The 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).
0b1Not 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:

DPG1SMeaning
0b0A 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.
0b1A 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:

DPG1NSMeaning
0b0A 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.
0b1A 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:

DPG0Meaning
0b0A 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.
0b1A 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.

RWPMeaning
0b0The 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.
0b1The 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.

IRMeaning
0b0This bit does not indicate whether the GICR_INVLPIR, GICR_INVALLR and GICR_SYNCR are implemented or not.
0b1GICR_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.

CESMeaning
0b0The IRI does not indicate whether GICR_CTLR.EnableLPIs is RES1 once set.
0b1GICR_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:

EnableLPIsMeaning
0b0LPI 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.
0b1LPI 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

313029282726252423222120191817161514131211109876543210
Clear_active_bit31Clear_active_bit30Clear_active_bit29Clear_active_bit28Clear_active_bit27Clear_active_bit26Clear_active_bit25Clear_active_bit24Clear_active_bit23Clear_active_bit22Clear_active_bit21Clear_active_bit20Clear_active_bit19Clear_active_bit18Clear_active_bit17Clear_active_bit16Clear_active_bit15Clear_active_bit14Clear_active_bit13Clear_active_bit12Clear_active_bit11Clear_active_bit10Clear_active_bit9Clear_active_bit8Clear_active_bit7Clear_active_bit6Clear_active_bit5Clear_active_bit4Clear_active_bit3Clear_active_bit2Clear_active_bit1Clear_active_bit0

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

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

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

The reset behavior of this field is:

  • 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

313029282726252423222120191817161514131211109876543210
Clear_enable_bit31Clear_enable_bit30Clear_enable_bit29Clear_enable_bit28Clear_enable_bit27Clear_enable_bit26Clear_enable_bit25Clear_enable_bit24Clear_enable_bit23Clear_enable_bit22Clear_enable_bit21Clear_enable_bit20Clear_enable_bit19Clear_enable_bit18Clear_enable_bit17Clear_enable_bit16Clear_enable_bit15Clear_enable_bit14Clear_enable_bit13Clear_enable_bit12Clear_enable_bit11Clear_enable_bit10Clear_enable_bit9Clear_enable_bit8Clear_enable_bit7Clear_enable_bit6Clear_enable_bit5Clear_enable_bit4Clear_enable_bit3Clear_enable_bit2Clear_enable_bit1Clear_enable_bit0

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

For 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
0b0If read, indicates that forwarding of the corresponding interrupt is disabled. If written, has no effect.
0b1If read, indicates that forwarding of the corresponding interrupt is enabled. If written, disables forwarding of the corresponding interrupt. After a write of 1 to this bit, a subsequent read of this bit returns 0.

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

313029282726252423222120191817161514131211109876543210
Clear_pending_bit31Clear_pending_bit30Clear_pending_bit29Clear_pending_bit28Clear_pending_bit27Clear_pending_bit26Clear_pending_bit25Clear_pending_bit24Clear_pending_bit23Clear_pending_bit22Clear_pending_bit21Clear_pending_bit20Clear_pending_bit19Clear_pending_bit18Clear_pending_bit17Clear_pending_bit16Clear_pending_bit15Clear_pending_bit14Clear_pending_bit13Clear_pending_bit12Clear_pending_bit11Clear_pending_bit10Clear_pending_bit9Clear_pending_bit8Clear_pending_bit7Clear_pending_bit6Clear_pending_bit5Clear_pending_bit4Clear_pending_bit3Clear_pending_bit2Clear_pending_bit1Clear_pending_bit0

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

Removes the pending state from interrupt number x. Reads and writes have the following behavior:

Clear_pending_bit<x>Meaning
0b0If read, indicates that the corresponding interrupt is not pending. If written, has no effect.
0b1If read, indicates that the corresponding interrupt is pending, or active and pending. If written, changes the state of the corresponding interrupt from pending to inactive, or from active and pending to active. This has no effect in the following cases: If the interrupt is not pending and is not active and pending. If the interrupt is a level-sensitive interrupt that is pending or active and pending for a reason other than a write to GICD_ISPENDR<n>. 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

313029282726252423222120191817161514131211109876543210
Redistributor_group_status_bit31Redistributor_group_status_bit30Redistributor_group_status_bit29Redistributor_group_status_bit28Redistributor_group_status_bit27Redistributor_group_status_bit26Redistributor_group_status_bit25Redistributor_group_status_bit24Redistributor_group_status_bit23Redistributor_group_status_bit22Redistributor_group_status_bit21Redistributor_group_status_bit20Redistributor_group_status_bit19Redistributor_group_status_bit18Redistributor_group_status_bit17Redistributor_group_status_bit16Redistributor_group_status_bit15Redistributor_group_status_bit14Redistributor_group_status_bit13Redistributor_group_status_bit12Redistributor_group_status_bit11Redistributor_group_status_bit10Redistributor_group_status_bit9Redistributor_group_status_bit8Redistributor_group_status_bit7Redistributor_group_status_bit6Redistributor_group_status_bit5Redistributor_group_status_bit4Redistributor_group_status_bit3Redistributor_group_status_bit2Redistributor_group_status_bit1Redistributor_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
0b0When GICD_CTLR.DS==1, the corresponding interrupt is Group 0. When GICD_CTLR.DS==0, the corresponding interrupt is Secure.
0b1When 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

313029282726252423222120191817161514131211109876543210
Group_modifier_bit31Group_modifier_bit30Group_modifier_bit29Group_modifier_bit28Group_modifier_bit27Group_modifier_bit26Group_modifier_bit25Group_modifier_bit24Group_modifier_bit23Group_modifier_bit22Group_modifier_bit21Group_modifier_bit20Group_modifier_bit19Group_modifier_bit18Group_modifier_bit17Group_modifier_bit16Group_modifier_bit15Group_modifier_bit14Group_modifier_bit13Group_modifier_bit12Group_modifier_bit11Group_modifier_bit10Group_modifier_bit9Group_modifier_bit8Group_modifier_bit7Group_modifier_bit6Group_modifier_bit5Group_modifier_bit4Group_modifier_bit3Group_modifier_bit2Group_modifier_bit1Group_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

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
VRES0vPEID
RES0

V, bit [63] when GICv4.1 is implemented:

Indicates whether the INTID is virtual or physical.

VMeaning
0b0Invalidate is for a physical INTID.
0b1Invalidate 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

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
VRES0vPEID
INTID

V, bit [63] when GICv4.1 is implemented:

Indicates whether the INTID is virtual or physical.

VMeaning
0b0Invalidate is for a physical INTID.
0b1Invalidate 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.