Archived Arm source pages for the External debug and trace register pages. Part 15 of 22. This part covers GICR_VPROPBASER through GICV_PMR.
GICR_VPROPBASER
Virtual Redistributor Properties Base Address Register
In GICv4.0, specifies the base address of the memory that holds the virtual LPI Configuration table for the currently scheduled virtual machine.
In GICv4.1, specifies the base address of the memory that holds the vPE Configuration table.
Configuration
This register is present only when GICv4 is implemented or GICv4.1 is implemented. Otherwise, direct accesses to GICR_VPROPBASER are RES0.
Attributes
GICR_VPROPBASER is a 64-bit register.
Field descriptions
When GICv4.1 is implemented:
| 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 |
| Valid | RES0 | Entry_Size | OuterCache | Indirect | Page_Size | Z | Physical_Address | ||||||||||||||||||||||||
| Physical_Address | Shareability | InnerCache | Size |
Valid, bit [63]:
This bit controls whether the vPE Configuration Table is valid.
| Valid | Meaning |
|---|---|
| 0b0 | The vPE Configuration table is not valid. |
| 0b1 | The vPE Configuration table is valid. |
The reset behavior of this field is:
- On a GIC reset, this field resets to '0'.
Bit [62]:
Reserved, RES0.
Entry_Size, bits [61:59]:
Specifies the number 64-bit doublewords per table entry, minus one.
This bit is read-only.
OuterCache, bits [58:56]:
Indicates the Outer Cacheability attributes of accesses to the table.
| OuterCache | Meaning |
|---|---|
| 0b000 | Memory type defined in InnerCache field. For Normal memory, Outer Cacheability is the same as Inner Cacheability. |
| 0b001 | Normal Outer Non-cacheable. |
| 0b010 | Normal Outer Cacheable Read-allocate, Write-through. |
| 0b011 | Normal Outer Cacheable Read-allocate, Write-back. |
| 0b100 | Normal Outer Cacheable Write-allocate, Write-through. |
| 0b101 | Normal Outer Cacheable Write-allocate, Write-back. |
| 0b110 | Normal Outer Cacheable Read-allocate, Write-allocate, Write-through. |
| 0b111 | Normal Outer Cacheable Read-allocate, Write-allocate, Write-back. |
It is IMPLEMENTATION DEFINED whether this field has a fixed value or can be programmed by software. Implementing this field with a fixed value is deprecated.
The reset behavior of this field is:
- On a GIC reset, this field resets to an UNKNOWN value.
Indirect, bit [55]:
This field indicates whether GICR_VPROPBASER specifies a single, flat table or a two-level table where the first level contains a list of descriptors.
| Indirect | Meaning |
|---|---|
| 0b0 | Single Level. The Size field indicates the number of pages used to store data associated with each table entry. |
| 0b1 | Two Level. The Size field indicates the number of pages that contain an array of 64-bit descriptors to pages that are used to store the data associated with each table entry. A little endian memory order model is used. |
This field is RAZ/WI for GIC implementations that only support flat tables.
If the supported vPEID width indicated by GICD_TYPER2.VIL and GICD_TYPER2.VID, and the smallest page size that is supported result in a single level table that requires multiple pages, then implementing this bit as RAZ/WI is deprecated.
The reset behavior of this field is:
- On a GIC reset, this field resets to an UNKNOWN value.
Page_Size, bits [54:53]:
The following values indicate the size of page that the translation table uses:
| Page_Size | Meaning |
|---|---|
| 0b00 | 4KB. |
| 0b01 | 16KB. |
| 0b10 | 64KB. |
| 0b11 | Reserved. Treated as 0b10. |
If the GIC implementation supports only a single, fixed page size, this field might be RO.
The reset behavior of this field is:
- On a GIC reset, this field resets to an UNKNOWN value.
Z, bit [52]:
When GICR_VPROPBASER.Valid is written from 0 to 1, GICR_VPROPBASER.Z indicates whether the vPE Configuration table is known to contain all zeros.
| Z | Meaning |
|---|---|
| 0b0 | The vPE Configuration table is not zero, and contains live data. |
| 0b1 | The vPE Configuration table is zero. |
Setting GICR_VPROPBASER.Z to 0 causes the IRI to reload configuration from memory
When GICR_VPROPBASER.Valid is written from 0 to 1, if GICR_VPROPBASER.Z==1 behavior is UNPREDICTABLE if the allocated memory does not contain all zeros.
This field is WO, and reads as 0.
Physical_Address, bits [51:12]:
Bits [51:12] of the physical address containing the vPE Configuration table.
In implementations supporting fewer than 52 bits of physical address, unimplemented upper bits are RES0.
The reset behavior of this field is:
- On a GIC reset, this field resets to an UNKNOWN value.
Shareability, bits [11:10]:
Indicates the Shareability attributes of accesses to the vPE Configuration table.
| Shareability | Meaning |
|---|---|
| 0b00 | Non-shareable. |
| 0b01 | Inner Shareable. |
| 0b10 | Outer Shareable. |
| 0b11 | Reserved. Treated as 0b00. |
It is IMPLEMENTATION DEFINED whether this field has a fixed value or can be programmed by software. Implementing this field with a fixed value is deprecated.
The reset behavior of this field is:
- On a GIC reset, this field resets to an UNKNOWN value.
InnerCache, bits [9:7]:
Indicates the Inner Cacheability attributes of accesses to the vPE Configuration table.
| InnerCache | Meaning |
|---|---|
| 0b000 | Device-nGnRnE. |
| 0b001 | Normal Inner Non-cacheable. |
| 0b010 | Normal Inner Cacheable Read-allocate, Write-through. |
| 0b011 | Normal Inner Cacheable Read-allocate, Write-back. |
| 0b100 | Normal Inner Cacheable Write-allocate, Write-through. |
| 0b101 | Normal Inner Cacheable Write-allocate, Write-back. |
| 0b110 | Normal Inner Cacheable Read-allocate, Write-allocate, Write-through. |
| 0b111 | Normal Inner Cacheable Read-allocate, Write-allocate, Write-back. |
The reset behavior of this field is:
- On a GIC reset, this field resets to an UNKNOWN value.
Size, bits [6:0]:
The number of pages of physical memory allocated to the table, minus one.
GICR_VPROPBASER.Page_Size specifies the size of each page.
The reset behavior of this field is:
- On a GIC reset, this field resets to an UNKNOWN value.
When GICv4 is implemented:
| 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 | OuterCache | RES0 | Physical_Address | ||||||||||||||||||||||||||||
| Physical_Address | Shareability | InnerCache | RES0 | IDbits |
Bits [63:59]:
Reserved, RES0.
OuterCache, bits [58:56]:
Indicates the Outer Cacheability attributes of accesses to the LPI Configuration table.
| OuterCache | Meaning |
|---|---|
| 0b000 | Memory type defined in InnerCache field. For Normal memory, Outer Cacheability is the same as Inner Cacheability. |
| 0b001 | Normal Outer Non-cacheable. |
| 0b010 | Normal Outer Cacheable Read-allocate, Write-through. |
| 0b011 | Normal Outer Cacheable Read-allocate, Write-back. |
| 0b100 | Normal Outer Cacheable Write-allocate, Write-through. |
| 0b101 | Normal Outer Cacheable Write-allocate, Write-back. |
| 0b110 | Normal Outer Cacheable Read-allocate, Write-allocate, Write-through. |
| 0b111 | Normal Outer Cacheable Read-allocate, Write-allocate, Write-back. |
It is IMPLEMENTATION DEFINED whether this field has a fixed value or can be programmed by software. Implementing this field with a fixed value is deprecated.
The reset behavior of this field is:
- On a GIC reset, this field resets to an architecturally UNKNOWN value.
Bits [55:52]:
Reserved, RES0.
Physical_Address, bits [51:12]:
Bits [51:12] of the physical address containing the virtual LPI Configuration table.
In implementations supporting fewer than 52 bits of physical address, unimplemented upper bits are RES0.
The reset behavior of this field is:
- On a GIC reset, this field resets to an architecturally UNKNOWN value.
Shareability, bits [11:10]:
Indicates the Shareability attributes of accesses to the vPE Configuration table.
| Shareability | Meaning |
|---|---|
| 0b00 | Non-shareable. |
| 0b01 | Inner Shareable. |
| 0b10 | Outer Shareable. |
| 0b11 | Reserved. Treated as 0b00. |
It is IMPLEMENTATION DEFINED whether this field has a fixed value or can be programmed by software. Implementing this field with a fixed value is deprecated.
The reset behavior of this field is:
- On a GIC reset, this field resets to an architecturally UNKNOWN value.
InnerCache, bits [9:7]:
Indicates the Inner Cacheability attributes of accesses to the vPE Configuration table.
| InnerCache | Meaning |
|---|---|
| 0b000 | Device-nGnRnE. |
| 0b001 | Normal Inner Non-cacheable. |
| 0b010 | Normal Inner Cacheable Read-allocate, Write-through. |
| 0b011 | Normal Inner Cacheable Read-allocate, Write-back. |
| 0b100 | Normal Inner Cacheable Write-allocate, Write-through. |
| 0b101 | Normal Inner Cacheable Write-allocate, Write-back. |
| 0b110 | Normal Inner Cacheable Read-allocate, Write-allocate, Write-through. |
| 0b111 | Normal Inner Cacheable Read-allocate, Write-allocate, Write-back. |
The reset behavior of this field is:
- On a GIC reset, this field resets to an architecturally UNKNOWN value.
Bits [6:5]:
Reserved, RES0.
IDbits, bits [4:0]:
The number of bits of virtual LPI INTID supported, minus one.
If the value of this field is less than 0b1101, indicating that the largest INTID is less than 8192 (the smallest LPI interrupt ID), the GIC will behave as if all virtual LPIs are out of range.
The reset behavior of this field is:
- On a GIC reset, this field resets to an architecturally UNKNOWN value.
Accessing GICR_VPROPBASER
GICR_VPROPBASER can be accessed through the memory-mapped interfaces:
| Component | Frame | Offset | Instance | | GIC Redistributor | VLPI_base | 0x0070 | GICR_VPROPBASER |
Accesses to this register are RW.
GICR_WAKER
Redistributor Wake Register
Permits software to control the behavior of the WakeRequest power management signal corresponding to the Redistributor. Power management operations follow the rules in 'Power management' in in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069).
Configuration
A copy of this register is provided for each Redistributor.
Attributes
GICR_WAKER 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| IMPLEMENTATION DEFINED | RES0 | ChildrenAsleep | ProcessorSleep | IMPLEMENTATION DEFINED |
IMPLEMENTATION DEFINED, bit [31]:
IMPLEMENTATION DEFINED.
Bits [30:3]:
Reserved, RES0.
ChildrenAsleep, bit [2]:
Read-only. Indicates whether the connected PE is quiescent:
| ChildrenAsleep | Meaning |
|---|---|
| 0b0 | An interface to the connected PE might be active. |
| 0b1 | All interfaces to the connected PE are quiescent. |
The reset behavior of this field is:
- On a GIC reset, this field resets to '1'.
ProcessorSleep, bit [1]:
Indicates whether the Redistributor can assert the WakeRequest signal:
| ProcessorSleep | Meaning |
|---|---|
| 0b0 | This PE is not in, and is not entering, a low power state. |
| 0b1 | The PE is either in, or is in the process of entering, a low power state. All interrupts that arrive at the Redistributor: Assert a WakeRequest signal. Are held in the pending state at the Redistributor, and are not communicated to the CPU interface. When ProcessorSleep == 1, the Redistributor must ensure that any interrupts that are pending on the CPU interface are released.For an implementation that is using the GIC Stream Protocol Interface: A Quiesce command puts the interface between the Redistributor and the CPU interface in a quiescent state. For more information, see 'Quiesce (IRI)' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069). A Release command releases any interrupts that are pending on the CPU interface. For more information, see 'Release (ICC)' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069). |
Before powering down a PE, software must set this bit to 1 and wait until ChildrenAsleep == 1. After powering up a PE, or following a failed powerdown, software must set this bit to 0 and wait until ChildrenAsleep == 0.
Changing ProcessorSleep from 1 to 0 when ChildrenAsleep is not 1 results in UNPREDICTABLE behavior.
Changing ProcessorSleep from 0 to 1 when the Enable for each interrupt group in the associated CPU interface is not 0 results in UNPREDICTABLE behavior.
The reset behavior of this field is:
- On a GIC reset, this field resets to '1'.
IMPLEMENTATION DEFINED, bit [0]:
IMPLEMENTATION DEFINED.
Accessing GICR_WAKER
To ensure a Redistributor is quiescent, software must write to GICR_WAKER with ProcessorSleep == 1, then poll the register until ChildrenAsleep == 1.
Resetting the connected PE when GICR_WAKER.ProcessorSleep==0 or GICR_WAKER.ChildrenAsleep==0, can lead to UNPREDICTABLE behavior in the IRI.
Resetting the IRI when GICR_WAKER.ProcessorSleep==0 or GICR_WAKER.ChildrenAsleep==0 can lead to UNPREDICTABLE behavior in the connected PE.
GICR_WAKER can be accessed through the memory-mapped interfaces:
| Component | Frame | Offset | Instance | | GIC Redistributor | RD_base | 0x0014 | GICR_WAKER |
Accessible as follows:
- When GICD_CTLR.DS == '1', accesses to this register are RW.
- When GICD_CTLR.DS == '0' and an access is Secure, accesses to this register are RW.
- When GICD_CTLR.DS == '0' and an access is Non-secure, accesses to this register are RAZ/WI.
- When GICD_CTLR.DS == '0', FEAT_RME is implemented, and an access is Root, accesses to this register are RW.
- When GICD_CTLR.DS == '0', FEAT_RME is implemented, and an access is Realm, accesses to this register are RAZ/WI.
GICV_ABPR
Virtual Machine Aliased Binary Point Register
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.
This register corresponds to GICC_ABPR in the physical CPU interface.
GICH_LR<n>.Group determines whether a virtual interrupt is Group 0 or Group 1.
Configuration
This register is present only when FEAT_GICv3_LEGACY is implemented and EL2 is implemented. Otherwise, direct accesses to GICV_ABPR are RES0.
This register is available when the GIC implementation supports interrupt virtualization.
Attributes
GICV_ABPR 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 | Binary_Point |
Bits [31:3]:
Reserved, RES0.
Binary_Point, bits [2:0]:
Controls how the 8-bit interrupt priority field is split into a group priority field, that determines interrupt preemption, and a subpriority field.
For information about how this field determines the interrupt priority bits assigned to the group priority field, see 'Priority grouping' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069).
The reset behavior of this field is:
- On a Warm reset, this field resets to '000'.
Additional information
The Binary_Point field of this register is aliased to GICH_VMCR.VBPR1.
Accessing GICV_ABPR
This register is used only when System register access is not enabled. When System register access is enabled:
- For AArch32 implementations, ICC_BPR1 provides equivalent functionality.
- For AArch64 implementations, ICC_BPR1_EL1 provides equivalent functionality. The value contained in this register is one greater than the actual applied binary point value, as described in 'Priority grouping' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069).
This register is used for Group 1 interrupts when GICV_CTLR.CBPR == 0. GICV_BPR provides equivalent functionality for Group 0 interrupts, and for Group 1 interrupts when GICV_CTLR.CBPR == 1.
GICV_ABPR can be accessed through the memory-mapped interfaces:
| Component | Offset | Instance |
|---|---|---|
| GIC Virtual CPU interface | 0x001C | GICV_ABPR |
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.
GICV_AEOIR
Virtual Machine Aliased End Of Interrupt Register
A write to this register performs a priority drop for the specified Group 1 virtual interrupt and, if GICV_CTLR.EOImode == 0, also deactivates the interrupt.
Configuration
This register is present only when FEAT_GICv3_LEGACY is implemented and EL2 is implemented. Otherwise, direct accesses to GICV_AEOIR are RES0.
This register is available when the GIC implementation supports interrupt virtualization.
Attributes
GICV_AEOIR 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 | INTID |
Bits [31:25]:
Reserved, RES0.
INTID, bits [24:0]:
The INTID of the signaled interrupt.
INTIDs 1020-1023 are reserved and convey additional information such as spurious interrupts.
When affinity routing is not enabled:
- Bits [23:13] are RES0.
- For SGIs, bits [12:10] identify the CPU interface corresponding to the source PE. For all other interrupts these bits are RES0.
Additional information
A successful EOI request means that:
- The highest priority bit in GICH_APR<n> is cleared, causing the running priority to drop.
- If the appropriate GICV_CTLR.EOImode bit == 0, the interrupt is deactivated in the corresponding List register. If the INTID corresponds to a hardware interrupt, the interrupt is also deactivated in the Distributor. Only Group 1 interrupts can target the hypervisor, and therefore only Group 1 interrupts are deactivated in the Distributor.
A write to this register is UNPREDICTABLE if the INTID corresponds to a Group 0 interrupt. In addition, the following GICv2 UNPREDICTABLE cases require specific actions:
- If highest active priority is Group 0 and the identified interrupt is in the List Registers and it matches the highest active priority. When EL2 is using System registers and ICH_VTR_EL2.SEIS is 1, an IMPLEMENTATION DEFINED SEI might be generated, otherwise GICv3 implementations must ignore such writes.
- If the identified interrupt is in the List Registers, and the HW bit is 1, and the interrupt to be deactivated is an SGI (that is, the value of Physical_ID is between 0 and 15). GICv3 implementations must perform the deactivate operation. This means that a GICv3 implementation in legacy operation must ensure only a single SGI is active for a PE.
- If the identified interrupt is in the List Registers, and the HW bit is 1, and the corresponding pINTID field value is between 1020 and 1023, indicating a special purpose INTID. GICv3 implementations must not perform a deactivate operation but must still change the state of the List register as appropriate. When EL2 is using System registers and ICH_VTR_EL2.SEIS is 1, an implementation might generate a system error.
Accessing GICV_AEOIR
This register is used only when System register access is not enabled. When System register access is enabled:
- For AArch32 implementations, ICC_EOIR1 provides equivalent functionality.
- For AArch64 implementations, ICC_EOIR1_EL1 provides equivalent functionality. This register is used for Group 1 interrupts only. GICV_EOIR provides equivalent functionality for Group 0 interrupts.
When affinity routing is enabled, it is a programming error to use memory-mapped registers to access the GIC.
GICV_AEOIR can be accessed through the memory-mapped interfaces:
| Component | Offset | Instance |
|---|---|---|
| GIC Virtual CPU interface | 0x0024 | GICV_AEOIR |
Accessible as follows:
- When GICD_CTLR.DS == '0', accesses to this register are WO.
- When an access is Secure, accesses to this register are WO.
- When an access is Non-secure, accesses to this register are WO.
GICV_AHPPIR
Virtual Machine Aliased Highest Priority Pending Interrupt Register
Provides the INTID of the highest priority pending Group 1 virtual interrupt in the List registers.
This register corresponds to the physical CPU interface register GICC_AHPPIR.
Configuration
This register is present only when FEAT_GICv3_LEGACY is implemented and EL2 is implemented. Otherwise, direct accesses to GICV_AHPPIR are RES0.
This register is available when the GIC implementation supports interrupt virtualization.
Attributes
GICV_AHPPIR 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 | INTID |
Bits [31:25]:
Reserved, RES0.
INTID, bits [24:0]:
The INTID of the signaled interrupt.
INTIDs 1020-1023 are reserved and convey additional information such as spurious interrupts.
When affinity routing is not enabled:
- Bits [23:13] are RES0.
- For SGIs, bits [12:10] identify the CPU interface corresponding to the source PE. For all other interrupts these bits are RES0.
Additional information
A read of this register returns the spurious INTID 1023 if any of the following are true:
- There are no pending interrupts of sufficiently high priority value to be signaled to the PE.
- The highest priority pending interrupt is in Group 0.
Accessing GICV_AHPPIR
This register is used only when System register access is not enabled. When System register access is enabled:
- For AArch32 implementations, ICC_HPPIR1 provides equivalent functionality.
- For AArch64 implementations, ICC_HPPIR1_EL1 provides equivalent functionality. This register is used for Group 1 interrupts only. GICV_HPPIR provides equivalent functionality for Group 0 interrupts.
The register does not return the INTID of an interrupt that is active and pending.
When affinity routing is enabled, it is a programming error to use memory-mapped registers to access the GIC.
GICV_AHPPIR can be accessed through the memory-mapped interfaces:
| Component | Offset | Instance |
|---|---|---|
| GIC Virtual CPU interface | 0x0028 | GICV_AHPPIR |
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.
GICV_AIAR
Virtual Machine Aliased Interrupt Acknowledge Register
Provides the INTID of the signaled Group 1 virtual interrupt. A read of this register by the PE acts as an acknowledge for the interrupt.
This register corresponds to the physical CPU interface register GICC_AIAR.
Configuration
This register is present only when FEAT_GICv3_LEGACY is implemented and EL2 is implemented. Otherwise, direct accesses to GICV_AIAR are RES0.
This register is available when the GIC implementation supports interrupt virtualization.
Attributes
GICV_AIAR 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 | INTID |
Bits [31:25]:
Reserved, RES0.
INTID, bits [24:0]:
The INTID of the signaled interrupt.
INTIDs 1020-1023 are reserved and convey additional information such as spurious interrupts.
When affinity routing is not enabled:
- Bits [23:13] are RES0.
- For SGIs, bits [12:10] identify the CPU interface corresponding to the source PE. For all other interrupts these bits are RES0.
Additional information
The operation of this register is similar to the operation of GICV_IAR. When a vPE reads this register, the corresponding GICH_LR<n>.Group field is checked to determine whether the interrupt is in Group 0 or Group 1:
- If the interrupt is Group 0, the spurious INTID 1023 is returned and the interrupt is not acknowledged.
- If the interrupt is Group 1, the INTID is returned. The List register entry is updated to active state, and the appropriate bit in GICH_APR<n> is set to 1. A read of this register returns the spurious INTID 1023 if any of the following are true:
When the virtual CPU interface is enabled and GICH_HCR.En == 1:
- There are no pending interrupts of sufficiently high priority value to be signaled to the PE.
- The highest priority pending interrupt is in Group 0.
- Interrupt signaling by the virtual CPU interface is disabled.
Accessing GICV_AIAR
This register is used only when System register access is not enabled. When System register access is enabled:
- For AArch32 implementations, ICC_IAR1 provides equivalent functionality.
- For AArch64 implementations, ICC_IAR1_EL1 provides equivalent functionality. This register is used for Group 1 interrupts only. GICV_IAR provides equivalent functionality for Group 0 interrupts.
When affinity routing is enabled, it is a programming error to use memory-mapped registers to access the GIC.
GICV_AIAR can be accessed through the memory-mapped interfaces:
| Component | Offset | Instance |
|---|---|---|
| GIC Virtual CPU interface | 0x0020 | GICV_AIAR |
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.
GICV_APR<n>, n = 0, 3
Virtual Machine Active Priorities Registers
Provides information about interrupt active priorities.
These registers correspond to the physical CPU interface registers GICC_APR<n>.
Configuration
This register is present only when FEAT_GICv3_LEGACY is implemented and EL2 is implemented. Otherwise, direct accesses to GICV_APR<n> are RES0.
When System register access is disabled for EL2, these registers access GICH_APR<n>, and all active priorities for virtual machines are held in GICH_APR<n> regardless of interrupt group.
When System register access is enabled for EL2, these registers access ICH_AP1R<n>_EL2, and all active priorities for virtual machines are held in ICH_AP1R<n>_EL2 regardless of interrupt group.
Attributes
GICV_APR<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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| P31 | P30 | P29 | P28 | P27 | P26 | P25 | P24 | P23 | P22 | P21 | P20 | P19 | P18 | P17 | P16 | P15 | P14 | P13 | P12 | P11 | P10 | P9 | P8 | P7 | P6 | P5 | P4 | P3 | P2 | P1 | P0 |
P<x>, bit [x], for x = 31 to 0:
Provides information about active priorities for the virtual machine.
See GICH_APR<n> and ICH_AP1R<n>_EL2 for the correspondence between priorities and bits.
Accessing GICV_APR<n>
If System register access is not enabled for EL2, these registers access GICH_APR<n>. If System register access is enabled for EL2, these registers access ICH_AP1R<n>_EL2. All active priority mapped guests are held in the accessed registers, regardless of interrupt group.
GICV_APR<n> can be accessed through the memory-mapped interfaces:
| Component | Offset | Instance |
|---|---|---|
| GIC Virtual CPU interface | 0x00D0 + (4 * n) | GICV_APR<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.
GICV_BPR
Virtual Machine Binary Point Register
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.
This register corresponds to GICC_BPR in the physical CPU interface.
GICH_LR<n>.Group determines whether a virtual interrupt is Group 0 or Group 1.
Configuration
This register is present only when FEAT_GICv3_LEGACY is implemented and EL2 is implemented. Otherwise, direct accesses to GICV_BPR are RES0.
This register is available when the GIC implementation supports interrupt virtualization.
When GICV_CTLR.CBPR == 1, this register determines interrupt preemption for both Group 0 and Group 1 interrupts.
Attributes
GICV_BPR 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 | Binary_Point |
Bits [31:3]:
Reserved, RES0.
Binary_Point, bits [2:0]:
Controls how the 8-bit interrupt priority field is split into a group priority field, that determines interrupt preemption, and a subpriority field.
For information about how this field determines the interrupt priority bits assigned to the group priority field, see 'ICC_BPR0_EL1 Binary Point for Group 1 interrupts when CBPR == 1, or for Group 0 interrupts' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069).
The reset behavior of this field is:
- On a Warm reset, this field resets to an architecturally UNKNOWN value.
Additional information
The Binary_Point field of this register is aliased to GICH_VMCR.VBPR0.
Accessing GICV_BPR
This register is used only when System register access is not enabled. When System register access is enabled:
- For AArch32 implementations, ICC_BPR0 provides equivalent functionality.
- For AArch64 implementations, ICC_BPR0_EL1 provides equivalent functionality.
GICV_BPR can be accessed through the memory-mapped interfaces:
| Component | Offset | Instance |
|---|---|---|
| GIC Virtual CPU interface | 0x0008 | GICV_BPR |
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.
GICV_CTLR
Virtual Machine Control Register
Controls the behavior of virtual interrupts.
This register corresponds to the physical CPU interface register GICC_CTLR.
Configuration
This register is present only when FEAT_GICv3_LEGACY is implemented and EL2 is implemented. Otherwise, direct accesses to GICV_CTLR are RES0.
This register is available when a GIC implementation supports interrupt virtualization.
Attributes
GICV_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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RES0 | EOImode | RES0 | CBPR | FIQEn | AckCtl | EnableGrp1 | EnableGrp0 |
Bits [31:10]:
Reserved, RES0.
EOImode, bit [9]:
Controls the behavior associated with the GICV_EOIR, GICV_AEOIR, and GICV_DIR registers:
| EOImode | Meaning |
|---|---|
| 0b0 | Writes to GICV_EOIR and GICV_AEOIR perform priority drop and deactivate interrupt operations simultaneously. Behavior on a write to GICV_DIR is unpredictable. When it has completed processing the interrupt, the virtual machine writes to GICV_EOIR or GICV_AEOIR to deactivate the interrupt. The write updates the List registers and causes the virtual CPU interface to signal the interrupt completion to the physical Distributor. |
| 0b1 | Writes to GICV_EOIR and GICV_AEOIR perform priority drop operation only. Writes to GICV_DIR perform deactivate interrupt operation only. When it has completed processing the interrupt, the virtual machine writes to GICV_DIR to deactivate the interrupt. The write updates the List registers and causes the virtual CPU interface to signal the interrupt completion to the Distributor. |
The reset behavior of this field is:
- On a Warm reset, this field resets to an architecturally UNKNOWN value.
Bits [8:5]:
Reserved, RES0.
CBPR, bit [4]:
Controls whether GICV_BPR affects both Group 0 and Group 1 interrupts:
| CBPR | Meaning |
|---|---|
| 0b0 | GICV_BPR affects Group 0 virtual interrupts only. GICV_ABPR affects Group 1 virtual interrupts only. |
| 0b1 | GICV_BPR affects both Group 0 and Group 1 virtual interrupts. |
For more information, see 'Priority grouping' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069).
The reset behavior of this field is:
- On a Warm reset, this field resets to an architecturally UNKNOWN value.
FIQEn, bit [3]:
FIQ Enable. Controls whether Group 0 virtual interrupts are presented as virtual FIQs:
| FIQEn | Meaning |
|---|---|
| 0b0 | Group 0 virtual interrupts are presented as virtual IRQs. |
| 0b1 | Group 0 virtual interrupts are presented as virtual FIQs. |
The reset behavior of this field is:
- On a Warm reset, this field resets to an architecturally UNKNOWN value.
AckCtl, bit [2]:
Arm deprecates use of this bit. Arm strongly recommends that software is written to operate with this bit always cleared to 0.
Acknowledge control. When the highest priority interrupt is Group 1, determines whether GICV_IAR causes the CPU interface to acknowledge the interrupt or returns the spurious identifier 1022, and whether GICV_HPPIR returns the interrupt ID or the special identifier 1022.
| AckCtl | Meaning |
|---|---|
| 0b0 | If the highest priority pending interrupt is Group 1, a read of GICV_IAR or GICV_HPPIR returns an interrupt ID of 1022. |
| 0b1 | If the highest priority pending interrupt is Group 1, a read of GICV_IAR or GICV_HPPIR returns the interrupt ID of the corresponding interrupt. |
The reset behavior of this field is:
- On a Warm reset, this field resets to an architecturally UNKNOWN value.
EnableGrp1, bit [1]:
Enables the signaling of Group 1 virtual interrupts by the virtual CPU interface to the virtual machine:
| EnableGrp1 | Meaning |
|---|---|
| 0b0 | Signaling of Group 1 interrupts is disabled. |
| 0b1 | Signaling of Group 1 interrupts is enabled. |
The reset behavior of this field is:
- On a Warm reset, this field resets to an architecturally UNKNOWN value.
EnableGrp0, bit [0]:
Enables the signaling of Group 0 virtual interrupts by the virtual CPU interface to the virtual machine:
| EnableGrp0 | Meaning |
|---|---|
| 0b0 | Signaling of Group 0 interrupts is disabled. |
| 0b1 | Signaling of Group 0 interrupts is enabled. |
The reset behavior of this field is:
- On a Warm reset, this field resets to an architecturally UNKNOWN value.
Accessing GICV_CTLR
This register is used only when System register access is not enabled. When System register access is enabled:
- For AArch32 implementations, ICC_CTLR provides equivalent functionality.
- For AArch64 implementations, ICC_CTLR_EL1 provides equivalent functionality.
GICV_CTLR can be accessed through the memory-mapped interfaces:
| Component | Offset | Instance |
|---|---|---|
| GIC Virtual CPU interface | 0x0000 | GICV_CTLR |
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.
GICV_DIR
Virtual Machine Deactivate Interrupt Register
Deactivates a specified virtual interrupt in the GICH_LR<n> List registers.
This register corresponds to the physical CPU interface register GICC_DIR.
Configuration
This register is present only when FEAT_GICv3_LEGACY is implemented and EL2 is implemented. Otherwise, direct accesses to GICV_DIR are RES0.
This register is available when the GIC implementation supports interrupt virtualization.
Attributes
GICV_DIR 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 | INTID |
Bits [31:25]:
Reserved, RES0.
INTID, bits [24:0]:
The INTID of the signaled interrupt.
INTIDs 1020-1023 are reserved and convey additional information such as spurious interrupts.
When affinity routing is not enabled:
- Bits [23:13] are RES0.
- For SGIs, bits [12:10] identify the CPU interface corresponding to the source PE. For all other interrupts these bits are RES0.
Additional information
When the virtual machine writes to this register, the specified interrupt in the List registers is changed from active to inactive, or from active and pending to pending. If the specified interrupt is present in the List registers but is not in either the active or active and pending states, the effect is UNPREDICTABLE. If the specified interrupt is not present in the List registers, GICH_HCR.EOICount is incremented, potentially generating a maintenance interrupt.
If the specified interrupt is not present in the List registers, the virtual machine cannot recover the INTID. Therefore, the hypervisor must ensure that, when GICV_CTLR.EOImode == 1, no more than one active interrupt is transferred from the List registers into a software list. If more than one active interrupt that is not stored in the List registers exists, the hypervisor must handle accesses to GICV_DIR in software, typically by trapping these accesses.
If the corresponding GICH_LR<n>.HW == 1, indicating a hardware interrupt, then a deactivate request is sent to the physical Distributor, identifying the physical INTID from the corresponding field in the List register. This effect is identical to a Non-secure write to GICC_DIR from the PE having that physical INTID. This means that if the corresponding physical interrupt is marked as Group 0, the request is ignored.
Interrupt deactivation using this register is based on the provided INTID, with no requirement to deactivate interrupts in any particular order. A single register is therefore used to deactivate both Group 0 and Group 1 interrupts.
Accessing GICV_DIR
This register is used only when System register access is not enabled. When System register access is enabled:
- For AArch32 implementations, ICC_DIR provides equivalent functionality.
- For AArch64 implementations, ICC_DIR_EL1 provides equivalent functionality. Writes to this register are valid only when GICV_CTLR.EOImode == 1. Writes to this register are otherwise UNPREDICTABLE.
When affinity routing is enabled, it is a programming error to use memory-mapped registers to access the GIC.
GICV_DIR can be accessed through the memory-mapped interfaces:
| Component | Offset | Instance |
|---|---|---|
| GIC Virtual CPU interface | 0x1000 | GICV_DIR |
Accessible as follows:
- When GICD_CTLR.DS == '0', accesses to this register are WO.
- When an access is Secure, accesses to this register are WO.
- When an access is Non-secure, accesses to this register are WO.
GICV_EOIR
Virtual Machine End Of Interrupt Register
A write to this register performs a priority drop for the specified Group 0 virtual interrupt and, if GICV_CTLR.EOImode == 0, also deactivates the interrupt.
This register corresponds to the physical CPU interface register GICC_EOIR.
Configuration
This register is present only when FEAT_GICv3_LEGACY is implemented and EL2 is implemented. Otherwise, direct accesses to GICV_EOIR are RES0.
This register is available when the GIC implementation supports interrupt virtualization.
Attributes
GICV_EOIR 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 | INTID |
Bits [31:25]:
Reserved, RES0.
INTID, bits [24:0]:
The INTID of the signaled interrupt.
INTIDs 1020-1023 are reserved and convey additional information such as spurious interrupts.
When affinity routing is not enabled:
- Bits [23:13] are RES0.
- For SGIs, bits [12:10] identify the CPU interface corresponding to the source PE. For all other interrupts these bits are RES0.
Additional information
The behavior of this register depends on the setting of GICV_CTLR.EOImode:
| GICV_CTLR.EOImode | Behavior |
|---|---|
| 0b0 | Both the priority drop and the deactivate interrupt effects occur |
| 0b1 | Only the priority drop effect occurs. |
A successful EOI request means that:
- The highest priority bit in GICH_APR<n> is cleared, causing the running priority to drop.
- If the appropriate GICV_CTLR.EOImode bit == 0, the interrupt is deactivated in the corresponding List register GICH_LR<n>. If GICH_LR<n>.HW == 1, indicating the INTID corresponds to a hardware interrupt, a deactivate request is also sent to the physical Distributor, identifying the physical INTID from the corresponding field in the List register. This effect is identical to a Non-secure write to GICC_DIR from the PE having that physical INTID. This means that if the corresponding physical interrupt is marked as Group 0, and GICD_CTLR.DS == 0, the deactivation request is ignored. See GICC_EOIR for more information. Only Group 1 interrupts can target the hypervisor, and therefore only Group 1 interrupts are deactivated in the Distributor.
Accessing GICV_EOIR
This register is used only when System register access is not enabled. When System register access is enabled:
- For AArch32 implementations, ICC_EOIR0 provides equivalent functionality.
- For AArch64 implementations, ICC_EOIR0_EL1 provides equivalent functionality. This register is used for Group 0 interrupts only. GICV_AEOIR provides equivalent functionality for Group 1 interrupts.
When affinity routing is enabled, it is a programming error to use memory-mapped registers to access the GIC.
GICV_EOIR can be accessed through the memory-mapped interfaces:
| Component | Offset | Instance |
|---|---|---|
| GIC Virtual CPU interface | 0x0010 | GICV_EOIR |
Accessible as follows:
- When GICD_CTLR.DS == '0', accesses to this register are WO.
- When an access is Secure, accesses to this register are WO.
- When an access is Non-secure, accesses to this register are WO.
GICV_HPPIR
Virtual Machine Highest Priority Pending Interrupt Register
Provides the INTID of the highest priority pending Group 0 virtual interrupt in the List registers.
This register corresponds to the physical CPU interface register GICC_HPPIR.
Configuration
This register is present only when FEAT_GICv3_LEGACY is implemented and EL2 is implemented. Otherwise, direct accesses to GICV_HPPIR are RES0.
This register is available when the GIC implementation supports interrupt virtualization.
Attributes
GICV_HPPIR 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 | INTID |
Bits [31:25]:
Reserved, RES0.
INTID, bits [24:0]:
The INTID of the signaled interrupt.
INTIDs 1020-1023 are reserved and convey additional information such as spurious interrupts.
When affinity routing is not enabled:
- Bits [23:13] are RES0.
- For SGIs, bits [12:10] identify the CPU interface corresponding to the source PE. For all other interrupts these bits are RES0.
Additional information
Reads of the GICC_HPPIR that do not return a valid INTID return a spurious INTID, 1022 or 1023. See 'Special INTIDs' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069).
| Highest priority pending interrupt Group | GICV_HPPIR read | GICV_CTLR.AckCtl | Returned INTID | | 1 | Non-secure | x | ID of Group 1 interrupt | | 1 | Secure | 0 | 1022 | | 1 | Secure | 1 | ID of Group 1 interrupt | | 0 | Non-secure | x | 1023 | | 0 | Secure | x | ID of Group 0 interrupt | | No pending interrupts | x | x | 1023 |
If the CPU interface supports only a single Security state, the entries that apply to Secure reads describe the behavior.
Accessing GICV_HPPIR
This register is used only when System register access is not enabled. When System register access is enabled:
- For AArch32 implementations, ICC_HPPIR0 provides equivalent functionality.
- For AArch64 implementations, ICC_HPPIR0_EL1 provides equivalent functionality. This register is used for Group 0 interrupts only. GICV_AHPPIR provides equivalent functionality for Group 1 interrupts.
When affinity routing is enabled, it is a programming error to use memory-mapped registers to access the GIC.
GICV_HPPIR can be accessed through the memory-mapped interfaces:
| Component | Offset | Instance |
|---|---|---|
| GIC Virtual CPU interface | 0x0018 | GICV_HPPIR |
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.
GICV_IAR
Virtual Machine Interrupt Acknowledge Register
Provides the INTID of the signaled Group 0 virtual interrupt. A read of this register by the PE acts as an acknowledge for the interrupt.
This register corresponds to the physical CPU interface register GICC_IAR.
Configuration
This register is present only when FEAT_GICv3_LEGACY is implemented and EL2 is implemented. Otherwise, direct accesses to GICV_IAR are RES0.
This register is available when the GIC implementation supports interrupt virtualization.
Attributes
GICV_IAR 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 | INTID |
Bits [31:25]:
Reserved, RES0.
INTID, bits [24:0]:
The INTID of the signaled interrupt.
INTIDs 1020-1023 are reserved and convey additional information such as spurious interrupts.
When affinity routing is not enabled:
- Bits [23:13] are RES0.
- For SGIs, bits [12:10] identify the CPU interface corresponding to the source PE. For all other interrupts these bits are RES0.
Additional information
When the virtual machine writes to this register, the virtual CPU interface acknowledges the highest priority pending virtual interrupt and sets the state in the corresponding List register to active. The appropriate bit in the active priorities register GICH_APR<n> is set to 1.
If GICH_LR<n>.HW == 0, indicating that the interrupt is software-triggered, then bits [12:10] of GICH_LR<n> are returned in bits [12:10] of GICV_IAR. Otherwise bits [12:10] are RES0.
A read of this register returns the spurious INTID 1023 if either of the following is true:
- There are no pending interrupts of sufficiently high priority value to be signaled to the PE with the virtual CPU interface enabled and GICH_HCR.En == 1.
- Interrupt signaling by the virtual CPU interface is disabled. A read of this register returns the spurious INTID 1022 if the highest priority pending interrupt is Group 1 and GICV_CTLR.AckCtl == 0.
Accessing GICV_IAR
This register is used only when System register access is not enabled. When System register access is enabled:
- For AArch32 implementations, ICC_IAR0 provides equivalent functionality.
- For AArch64 implementations, ICC_IAR0_EL1 provides equivalent functionality. This register is used for Group 0 interrupts only. GICV_AIAR provides equivalent functionality for Group 1 interrupts.
When affinity routing is enabled, it is a programming error to use memory-mapped registers to access the GIC.
GICV_IAR can be accessed through the memory-mapped interfaces:
| Component | Offset | Instance |
|---|---|---|
| GIC Virtual CPU interface | 0x000C | GICV_IAR |
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.
GICV_PMR
Virtual Machine Priority Mask Register
This register provides a virtual interrupt priority filter. Only virtual interrupts with a higher priority than the value in this register are signaled to the PE.
Higher interrupt priority corresponds to a lower value of the Priority field.
This register corresponds to the physical CPU interface register GICC_PMR.
Configuration
This register is present only when FEAT_GICv3_LEGACY is implemented and EL2 is implemented. Otherwise, direct accesses to GICV_PMR are RES0.
This register is available when the GIC implementation supports interrupt virtualization.
The Priority field of this register is aliased to GICH_VMCR.VMPR, to enable state to be switched easily between virtual machines during context-switching.
Attributes
GICV_PMR 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 | Priority |
Bits [31:8]:
Reserved, RES0.
Priority, bits [7:0]:
The priority mask level for the virtual CPU interface. If the priority of the interrupt is higher than the value indicated by this field, the interface signals the interrupt to the PE.
If the GIC implementation supports fewer than 256 priority levels some bits might be RAZ/WI, as follows:
- For 128 supported levels, bit [0] = 0b0.
- For 64 supported levels, bits [1:0] = 0b00.
- For 32 supported levels, bits [2:0] = 0b000.
- For 16 supported levels, bits [3:0] = 0b0000. For more information, see 'Interrupt prioritization' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069).
The reset behavior of this field is:
- On a Warm reset, this field resets to an architecturally UNKNOWN value.
Accessing GICV_PMR
This register is used only when System register access is not enabled. When System register access is enabled:
- For AArch32 implementations, ICC_PMR provides equivalent functionality.
- For AArch64 implementations, ICC_PMR_EL1 provides equivalent functionality.
GICV_PMR can be accessed through the memory-mapped interfaces:
| Component | Offset | Instance |
|---|---|---|
| GIC Virtual CPU interface | 0x0004 | GICV_PMR |
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.