ARM / OFFLINE REFERENCE

On this page
← Home

NVHCR_EL2

Nested Virtual Hypervisor Configuration Register

Provides storage for a virtual view of HCR_EL2 under nested virtualization. Except for the TGE bit, all bits in this register are simply stateful and have no effect on PE behavior.

Configuration

This register is present only when FEAT_NV3 is implemented and FEAT_AA64 is implemented. Otherwise, direct accesses to NVHCR_EL2 are UNDEFINED.

Attributes

NVHCR_EL2 is a 64-bit register.

Field descriptions

63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TWEDEL TWEDEn TID5 DCT ATA TTLBOS TTLBIS EnSCXT TOCU AMVOFFEN TICAB TID4 GPF FIEN FWB NV2 AT NV1 NV API APK RES0 TEA TERR TLOR E2H ID CD
RW TRVM HCD TDZ TGE TVM TTLB TPU TPCP TSW TACR TIDCP TSC TID3 TID2 TID1 TID0 TWE TWI DC BSU FB VSE VI VF AMO IMO FMO PTW SWIO VM

TWEDEL, bits [63:60] when FEAT_TWED is implemented:

Storage for the virtual view of HCR_EL2.TWEDEL under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

Otherwise:

Reserved, RES0.

TWEDEn, bit [59] when FEAT_TWED is implemented:

Storage for the virtual view of HCR_EL2.TWEDEn under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

Otherwise:

Reserved, RES0.

TID5, bit [58] when FEAT_MTE2 is implemented:

Storage for the virtual view of HCR_EL2.TID5 under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

Otherwise:

Reserved, RES0.

DCT, bit [57] when FEAT_MTE2 is implemented and ID_AA64MMFR2_EL1.HCRMAC == '1111':

Storage for the virtual view of HCR_EL2.DCT under nested virtualization.

This field is RES0.

when FEAT_MTE2 is implemented:

Storage for the virtual view of HCR_EL2.DCT under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

Otherwise:

Reserved, RES0.

ATA, bit [56] when FEAT_MTE2 is implemented:

Storage for the virtual view of HCR_EL2.ATA under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

Otherwise:

Reserved, RES0.

TTLBOS, bit [55] when FEAT_EVT is implemented:

Storage for the virtual view of HCR_EL2.TTLBOS under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

Otherwise:

Reserved, RES0.

TTLBIS, bit [54] when FEAT_EVT is implemented:

Storage for the virtual view of HCR_EL2.TTLBIS under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

Otherwise:

Reserved, RES0.

EnSCXT, bit [53] when FEAT_CSV2_2 is implemented:

Storage for the virtual view of HCR_EL2.EnSCXT under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

Otherwise:

Reserved, RES0.

TOCU, bit [52] when FEAT_EVT is implemented:

Storage for the virtual view of HCR_EL2.TOCU under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

Otherwise:

Reserved, RES0.

AMVOFFEN, bit [51] when FEAT_AMUv1p1 is implemented:

Storage for the virtual view of HCR_EL2.AMVOFFEN under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

Otherwise:

Reserved, RES0.

TICAB, bit [50] when FEAT_EVT is implemented:

Storage for the virtual view of HCR_EL2.TICAB under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

Otherwise:

Reserved, RES0.

TID4, bit [49] when FEAT_EVT is implemented:

Storage for the virtual view of HCR_EL2.TID4 under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

Otherwise:

Reserved, RES0.

GPF, bit [48] when FEAT_RME is implemented:

Storage for the virtual view of HCR_EL2.GPF under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

Otherwise:

Reserved, RES0.

FIEN, bit [47] when FEAT_RASv1p1 is implemented:

Storage for the virtual view of HCR_EL2.FIEN under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

Otherwise:

Reserved, RES0.

FWB, bit [46] when FEAT_S2FWB is implemented and ID_AA64MMFR2_EL1.HCRMAC == '1111':

Storage for the virtual view of HCR_EL2.FWB under nested virtualization.

This field is RES1.

when FEAT_S2FWB is implemented:

Storage for the virtual view of HCR_EL2.FWB under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

Otherwise:

Reserved, RES0.

NV2, bit [45] when FEAT_NV2 is implemented:

Storage for the virtual view of HCR_EL2.NV2 under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

Otherwise:

Reserved, RES0.

AT, bit [44] when FEAT_NV is implemented:

Storage for the virtual view of HCR_EL2.AT under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

Otherwise:

Reserved, RES0.

NV1, bit [43] when FEAT_NV is implemented:

Storage for the virtual view of HCR_EL2.NV1 under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

Otherwise:

Reserved, RES0.

NV, bit [42] when FEAT_NV is implemented:

Storage for the virtual view of HCR_EL2.NV under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

Otherwise:

Reserved, RES0.

API, bit [41] when FEAT_PAuth is implemented:

Storage for the virtual view of HCR_EL2.API under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

Otherwise:

Reserved, RES0.

APK, bit [40] when FEAT_PAuth is implemented:

Storage for the virtual view of HCR_EL2.APK under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

Otherwise:

Reserved, RES0.

Bits [39:38]:

Reserved, RES0.

TEA, bit [37] when FEAT_RAS is implemented:

Storage for the virtual view of HCR_EL2.TEA under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

Otherwise:

Reserved, RES0.

TERR, bit [36] when FEAT_RAS is implemented:

Storage for the virtual view of HCR_EL2.TERR under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

Otherwise:

Reserved, RES0.

TLOR, bit [35] when FEAT_LOR is implemented:

Storage for the virtual view of HCR_EL2.TLOR under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

Otherwise:

Reserved, RES0.

E2H, bit [34] when FEAT_VHE is implemented and FEAT_E2H0 is implemented:

Storage for the virtual view of HCR_EL2.E2H under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

when FEAT_VHE is implemented:

Storage for the virtual view of HCR_EL2.E2H under nested virtualization.

This field is RES1.

Otherwise:

Reserved, RES0.

ID, bit [33] when ID_AA64MMFR2_EL1.HCRMAC == '1111':

Storage for the virtual view of HCR_EL2.ID under nested virtualization.

This field is RES0.

Otherwise:

Storage for the virtual view of HCR_EL2.ID under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

CD, bit [32] when ID_AA64MMFR2_EL1.HCRMAC == '1111':

Storage for the virtual view of HCR_EL2.CD under nested virtualization.

This field is RES0.

Otherwise:

Storage for the virtual view of HCR_EL2.CD under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

RW, bit [31] when FEAT_AA32EL1 is implemented:

Storage for the virtual view of HCR_EL2.RW under nested virtualization.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

TRVM, bit [30]:

Storage for the virtual view of HCR_EL2.TRVM under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

HCD, bit [29] when EL3 is not implemented:

Storage for the virtual view of HCR_EL2.HCD under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

Otherwise:

Reserved, RES0.

TDZ, bit [28]:

Storage for the virtual view of HCR_EL2.TDZ under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

TGE, bit [27]:

Guest TGE control bit.

The reset behavior of this field is:

Accessing this field has the following behavior:

TVM, bit [26]:

Storage for the virtual view of HCR_EL2.TVM under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

TTLB, bit [25]:

Storage for the virtual view of HCR_EL2.TTLB under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

TPU, bit [24]:

Storage for the virtual view of HCR_EL2.TPU under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

TPCP, bit [23]:

Storage for the virtual view of HCR_EL2.TPCP under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

TSW, bit [22]:

Storage for the virtual view of HCR_EL2.TSW under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

TACR, bit [21]:

Storage for the virtual view of HCR_EL2.TACR under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

TIDCP, bit [20]:

Storage for the virtual view of HCR_EL2.TIDCP under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

TSC, bit [19]:

Storage for the virtual view of HCR_EL2.TSC under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

TID3, bit [18]:

Storage for the virtual view of HCR_EL2.TID3 under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

TID2, bit [17]:

Storage for the virtual view of HCR_EL2.TID2 under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

TID1, bit [16]:

Storage for the virtual view of HCR_EL2.TID1 under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

TID0, bit [15] when FEAT_AA32 is implemented:

Storage for the virtual view of HCR_EL2.TID0 under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

Otherwise:

Reserved, RES0.

TWE, bit [14]:

Storage for the virtual view of HCR_EL2.TWE under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

TWI, bit [13]:

Storage for the virtual view of HCR_EL2.TWI under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

DC, bit [12] when ID_AA64MMFR2_EL1.HCRMAC == '1111':

Storage for the virtual view of HCR_EL2.DC under nested virtualization.

This field is RES0.

Otherwise:

Storage for the virtual view of HCR_EL2.DC under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

BSU, bits [11:10]:

Storage for the virtual view of HCR_EL2.BSU under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

FB, bit [9]:

Storage for the virtual view of HCR_EL2.FB under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

VSE, bit [8]:

Storage for the virtual view of HCR_EL2.VSE under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

VI, bit [7]:

Storage for the virtual view of HCR_EL2.VI under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

VF, bit [6]:

Storage for the virtual view of HCR_EL2.VF under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

AMO, bit [5]:

Storage for the virtual view of HCR_EL2.AMO under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

IMO, bit [4]:

Storage for the virtual view of HCR_EL2.IMO under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

FMO, bit [3]:

Storage for the virtual view of HCR_EL2.FMO under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

PTW, bit [2] when ID_AA64MMFR2_EL1.HCRMAC == '1111':

Storage for the virtual view of HCR_EL2.PTW under nested virtualization.

This field is RES1.

Otherwise:

Storage for the virtual view of HCR_EL2.PTW under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

SWIO, bit [1]:

Storage for the virtual view of HCR_EL2.SWIO under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

VM, bit [0]:

Storage for the virtual view of HCR_EL2.VM under nested virtualization.

The reset behavior of this field is:

Accessing this field has the following behavior:

Access Instructions

Accesses to this register use the following encodings in the System register encoding space:

MRS <Xt>, NVHCR_EL2

(op0 = 0b11, op1 = 0b100, CRn = 0b0001, CRm = 0b0101, op2 = 0b000)


if !(IsFeatureImplemented(FEAT_NV3) && IsFeatureImplemented(FEAT_AA64)) then
    Undefined();
elsif HaveEL(EL3) && PSTATE.EL == EL2 && EL3SDDUndefPriority() && SCR2_EL3().NV3En == '0' then
    Undefined();
elsif PSTATE.EL == EL0 then
    Undefined();
elsif PSTATE.EL == EL1 then
    if IsFeatureImplemented(FEAT_NV3) && EffectiveHCRX_EL2_NVTGE() == '1' then
        X{64}(t) = NVMem(0x078);
    elsif EffectiveHCR_EL2_NVx() IN {'xx1'} then
        AArch64_SystemAccessTrap(EL2, 0x18);
    else
        Undefined();
    end;
elsif PSTATE.EL == EL2 then
    if HaveEL(EL3) && IsFeatureImplemented(FEAT_SCR2) && SCR2_EL3().NV3En == '0' then
        if EL3SDDUndef() then
            Undefined();
        else
            AArch64_SystemAccessTrap(EL3, 0x18);
        end;
    else
        X{64}(t) = NVHCR_EL2();
    end;
elsif PSTATE.EL == EL3 then
    X{64}(t) = NVHCR_EL2();
end;
                

MSR NVHCR_EL2, <Xt>

(op0 = 0b11, op1 = 0b100, CRn = 0b0001, CRm = 0b0101, op2 = 0b000)


if !(IsFeatureImplemented(FEAT_NV3) && IsFeatureImplemented(FEAT_AA64)) then
    Undefined();
elsif HaveEL(EL3) && PSTATE.EL == EL2 && EL3SDDUndefPriority() && SCR2_EL3().NV3En == '0' then
    Undefined();
elsif PSTATE.EL == EL0 then
    Undefined();
elsif PSTATE.EL == EL1 then
    if IsFeatureImplemented(FEAT_NV3) && EffectiveHCRX_EL2_NVTGE() == '1' then
        NVMem(0x078) = X{64}(t);
    elsif EffectiveHCR_EL2_NVx() IN {'xx1'} then
        AArch64_SystemAccessTrap(EL2, 0x18);
    else
        Undefined();
    end;
elsif PSTATE.EL == EL2 then
    if HaveEL(EL3) && IsFeatureImplemented(FEAT_SCR2) && SCR2_EL3().NV3En == '0' then
        if EL3SDDUndef() then
            Undefined();
        else
            AArch64_SystemAccessTrap(EL3, 0x18);
        end;
    else
        NVHCR_EL2() = X{64}(t);
    end;
elsif PSTATE.EL == EL3 then
    NVHCR_EL2() = X{64}(t);
end;
                

Version 2026.09 — Copyright © 2010-2026 Arm Limited or its affiliates.

This site is provided as a community resource and is NOT affiliated with nor endorsed by Arm Limited.