The ICH_VTR characteristics are:
Reports supported GIC virtualization features.
AArch32 System register ICH_VTR bits [31:0] are architecturally mapped to AArch64 System register ICH_VTR_EL2[31:0].
This register is present only when EL2 is capable of using AArch32, GICv3 is implemented, and (EL2 is implemented or EL3 is implemented). Otherwise, direct accesses to ICH_VTR are UNDEFINED.
If EL2 is not implemented, all bits in this register are RES0 from EL3, except for nV4, which is RES1 from EL3.
ICH_VTR is a 32-bit register.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PRIbits | PREbits | IDbits | SEIS | A3V | nV4 | TDS | RES0 | ListRegs |
Priority bits. The number of virtual priority bits implemented, minus one.
An implementation must implement at least 32 levels of virtual priority (5 priority bits).
This field is an alias of ICV_CTLR.PRIbits.
This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
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 ICH_VTR.PRIbits.
This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
The number of virtual interrupt identifier bits supported:
The value of this field is an IMPLEMENTATION DEFINED choice of:
IDbits | Meaning |
---|---|
0b000 |
16 bits. |
0b001 |
24 bits. |
All other values are reserved.
This field is an alias of ICV_CTLR.IDbits.
Access to this field is RO.
SEI Support. Indicates whether the virtual CPU interface supports generation of SEIs:
The value of this field is an IMPLEMENTATION DEFINED choice of:
SEIS | Meaning |
---|---|
0b0 |
The virtual CPU interface logic does not support generation of SEIs. |
0b1 |
The virtual CPU interface logic supports generation of SEIs. |
This bit is an alias of ICV_CTLR.SEIS.
Access to this field is RO.
Affinity 3 Valid. Possible values are:
The value of this field is an IMPLEMENTATION DEFINED choice of:
A3V | Meaning |
---|---|
0b0 |
The virtual CPU interface logic only supports zero values of Affinity 3 in SGI generation System registers. |
0b1 |
The virtual CPU interface logic supports nonzero values of Affinity 3 in SGI generation System registers. |
This bit is an alias of ICV_CTLR.A3V.
Access to this field is RO.
Direct injection of virtual interrupts not supported. Possible values are:
The value of this field is an IMPLEMENTATION DEFINED choice of:
nV4 | Meaning |
---|---|
0b0 |
The CPU interface logic supports direct injection of virtual interrupts. |
0b1 |
The CPU interface logic does not support direct injection of virtual interrupts. |
In GICv3, the only permitted value is 0b1.
Access to this field is RO.
Separate trapping of Non-secure EL1 writes to ICV_DIR supported.
The value of this field is an IMPLEMENTATION DEFINED choice of:
TDS | Meaning |
---|---|
0b0 |
Implementation does not support ICH_HCR.TDIR. |
0b1 |
Implementation supports ICH_HCR.TDIR. |
FEAT_GICv3_TDIR implements the functionality added by the value 0b1.
Access to this field is RO.
Reserved, RES0.
The number of implemented List registers, minus one. For example, a value of 0b01111 indicates that the maximum of 16 List registers are implemented.
This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
Accesses to this register use the following encodings in the System register encoding space:
coproc | opc1 | CRn | CRm | opc2 |
---|---|---|---|---|
0b1111 | 0b100 | 0b1100 | 0b1011 | 0b001 |
if !(HaveAArch32EL(EL2) && IsFeatureImplemented(FEAT_GICv3) && (HaveEL(EL2) || HaveEL(EL3))) then UNDEFINED; elsif PSTATE.EL == EL0 then UNDEFINED; elsif PSTATE.EL == EL1 then if EL2Enabled() && !ELUsingAArch32(EL2) && HSTR_EL2.T12 == '1' then AArch64.AArch32SystemAccessTrap(EL2, 0x03); elsif EL2Enabled() && ELUsingAArch32(EL2) && HSTR.T12 == '1' then AArch32.TakeHypTrapException(0x03); else UNDEFINED; elsif PSTATE.EL == EL2 then if ICC_HSRE.SRE == '0' then UNDEFINED; else R[t] = ICH_VTR; elsif PSTATE.EL == EL3 then if ICC_MSRE.SRE == '0' then UNDEFINED; else R[t] = ICH_VTR;
15/12/2024 22:27; 5e0a212688c6bd7aee92394b6f5e491b4d0fee1d
Copyright © 2010-2024 Arm Limited or its affiliates. All rights reserved. This document is Non-Confidential.