ARM / OFFLINE REFERENCE

On this page
← Home

NVHCRXMASK_EL2

Nested Virtual Extended Hypervisor Configuration Masking Register

Mask register to prevent updates of fields in NVHCRX_EL2 on direct writes to NVHCRX_EL2.

Configuration

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

Attributes

NVHCRXMASK_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
RES0 FNB VTLBIDOSEn NVnTTLBOS NVnTTLBIS NVnTTLB
FDIT RES0 NVTGE SRMASKEn VTLBIDEn PACMEn EnFPM GCSEn EnIDCP128 EnSDERR TMEA EnSNERR D128En PTTWI SCTLR2En TCR2En RES0 MSCEn MCE2 CMOW VFNMI VINMI TALLINT SMPME FGTnXS FnXS EnASR EnALS EnAS0

Bits [63:37]:

Reserved, RES0.

FNB, bit [36] when FEAT_TLBID is implemented:

Mask bit for FNB.

FNB Meaning
0b0

NVHCRX_EL2.FNB is writable.

0b1

NVHCRX_EL2.FNB is not writable.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

VTLBIDOSEn, bit [35] when FEAT_TLBID is implemented:

Mask bit for VTLBIDOSEn.

VTLBIDOSEn Meaning
0b0

NVHCRX_EL2.VTLBIDOSEn is writable.

0b1

NVHCRX_EL2.VTLBIDOSEn is not writable.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

NVnTTLBOS, bit [34] when FEAT_NV3 is implemented:

Mask bit for NVnTTLBOS.

NVnTTLBOS Meaning
0b0

NVHCRX_EL2.NVnTTLBOS is writable.

0b1

NVHCRX_EL2.NVnTTLBOS is not writable.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

NVnTTLBIS, bit [33] when FEAT_NV3 is implemented:

Mask bit for NVnTTLBIS.

NVnTTLBIS Meaning
0b0

NVHCRX_EL2.NVnTTLBIS is writable.

0b1

NVHCRX_EL2.NVnTTLBIS is not writable.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

NVnTTLB, bit [32] when FEAT_NV3 is implemented:

Mask bit for NVnTTLB.

NVnTTLB Meaning
0b0

NVHCRX_EL2.NVnTTLB is writable.

0b1

NVHCRX_EL2.NVnTTLB is not writable.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

FDIT, bit [31] when FEAT_FDIT is implemented:

Mask bit for FDIT.

FDIT Meaning
0b0

NVHCRX_EL2.FDIT is writable.

0b1

NVHCRX_EL2.FDIT is not writable.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

Bits [30:28]:

Reserved, RES0.

NVTGE, bit [27] when FEAT_NV3 is implemented:

Mask bit for NVTGE.

NVTGE Meaning
0b0

NVHCRX_EL2.NVTGE is writable.

0b1

NVHCRX_EL2.NVTGE is not writable.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

SRMASKEn, bit [26] when FEAT_SRMASK is implemented:

Mask bit for SRMASKEn.

SRMASKEn Meaning
0b0

NVHCRX_EL2.SRMASKEn is writable.

0b1

NVHCRX_EL2.SRMASKEn is not writable.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

VTLBIDEn, bit [25] when FEAT_TLBID is implemented:

Mask bit for VTLBIDEn.

VTLBIDEn Meaning
0b0

NVHCRX_EL2.VTLBIDEn is writable.

0b1

NVHCRX_EL2.VTLBIDEn is not writable.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

PACMEn, bit [24] when FEAT_PAuth_LR is implemented:

Mask bit for PACMEn.

PACMEn Meaning
0b0

NVHCRX_EL2.PACMEn is writable.

0b1

NVHCRX_EL2.PACMEn is not writable.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

EnFPM, bit [23] when FEAT_FPMR is implemented:

Mask bit for EnFPM.

EnFPM Meaning
0b0

NVHCRX_EL2.EnFPM is writable.

0b1

NVHCRX_EL2.EnFPM is not writable.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

GCSEn, bit [22] when FEAT_GCS is implemented:

Mask bit for GCSEn.

GCSEn Meaning
0b0

NVHCRX_EL2.GCSEn is writable.

0b1

NVHCRX_EL2.GCSEn is not writable.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

EnIDCP128, bit [21] when FEAT_SYSREG128 is implemented:

Mask bit for EnIDCP128.

EnIDCP128 Meaning
0b0

NVHCRX_EL2.EnIDCP128 is writable.

0b1

NVHCRX_EL2.EnIDCP128 is not writable.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

EnSDERR, bit [20] when FEAT_ADERR is implemented:

Mask bit for EnSDERR.

EnSDERR Meaning
0b0

NVHCRX_EL2.EnSDERR is writable.

0b1

NVHCRX_EL2.EnSDERR is not writable.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

TMEA, bit [19] when FEAT_DoubleFault2 is implemented:

Mask bit for TMEA.

TMEA Meaning
0b0

NVHCRX_EL2.TMEA is writable.

0b1

NVHCRX_EL2.TMEA is not writable.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

EnSNERR, bit [18] when FEAT_ANERR is implemented:

Mask bit for EnSNERR.

EnSNERR Meaning
0b0

NVHCRX_EL2.EnSNERR is writable.

0b1

NVHCRX_EL2.EnSNERR is not writable.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

D128En, bit [17] when FEAT_D128 is implemented:

Mask bit for D128En.

D128En Meaning
0b0

NVHCRX_EL2.D128En is writable.

0b1

NVHCRX_EL2.D128En is not writable.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

PTTWI, bit [16] when FEAT_THE is implemented:

Mask bit for PTTWI.

PTTWI Meaning
0b0

NVHCRX_EL2.PTTWI is writable.

0b1

NVHCRX_EL2.PTTWI is not writable.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

SCTLR2En, bit [15] when FEAT_SCTLR2 is implemented:

Mask bit for SCTLR2En.

SCTLR2En Meaning
0b0

NVHCRX_EL2.SCTLR2En is writable.

0b1

NVHCRX_EL2.SCTLR2En is not writable.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

TCR2En, bit [14] when FEAT_TCR2 is implemented:

Mask bit for TCR2En.

TCR2En Meaning
0b0

NVHCRX_EL2.TCR2En is writable.

0b1

NVHCRX_EL2.TCR2En is not writable.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

Bits [13:12]:

Reserved, RES0.

MSCEn, bit [11] when FEAT_MOPS is implemented:

Mask bit for MSCEn.

MSCEn Meaning
0b0

NVHCRX_EL2.MSCEn is writable.

0b1

NVHCRX_EL2.MSCEn is not writable.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

MCE2, bit [10] when FEAT_MOPS is implemented:

Mask bit for MCE2.

MCE2 Meaning
0b0

NVHCRX_EL2.MCE2 is writable.

0b1

NVHCRX_EL2.MCE2 is not writable.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

CMOW, bit [9] when FEAT_CMOW is implemented:

Mask bit for CMOW.

CMOW Meaning
0b0

NVHCRX_EL2.CMOW is writable.

0b1

NVHCRX_EL2.CMOW is not writable.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

VFNMI, bit [8] when FEAT_NMI is implemented:

Mask bit for VFNMI.

VFNMI Meaning
0b0

NVHCRX_EL2.VFNMI is writable.

0b1

NVHCRX_EL2.VFNMI is not writable.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

VINMI, bit [7] when FEAT_NMI is implemented:

Mask bit for VINMI.

VINMI Meaning
0b0

NVHCRX_EL2.VINMI is writable.

0b1

NVHCRX_EL2.VINMI is not writable.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

TALLINT, bit [6] when FEAT_NMI is implemented:

Mask bit for TALLINT.

TALLINT Meaning
0b0

NVHCRX_EL2.TALLINT is writable.

0b1

NVHCRX_EL2.TALLINT is not writable.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

SMPME, bit [5] when FEAT_SME is implemented:

Mask bit for SMPME.

SMPME Meaning
0b0

NVHCRX_EL2.SMPME is writable.

0b1

NVHCRX_EL2.SMPME is not writable.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

FGTnXS, bit [4] when FEAT_XS is implemented:

Mask bit for FGTnXS.

FGTnXS Meaning
0b0

NVHCRX_EL2.FGTnXS is writable.

0b1

NVHCRX_EL2.FGTnXS is not writable.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

FnXS, bit [3] when FEAT_XS is implemented:

Mask bit for FnXS.

FnXS Meaning
0b0

NVHCRX_EL2.FnXS is writable.

0b1

NVHCRX_EL2.FnXS is not writable.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

EnASR, bit [2] when FEAT_LS64_V is implemented:

Mask bit for EnASR.

EnASR Meaning
0b0

NVHCRX_EL2.EnASR is writable.

0b1

NVHCRX_EL2.EnASR is not writable.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

EnALS, bit [1] when FEAT_LS64 is implemented:

Mask bit for EnALS.

EnALS Meaning
0b0

NVHCRX_EL2.EnALS is writable.

0b1

NVHCRX_EL2.EnALS is not writable.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

EnAS0, bit [0] when FEAT_LS64_ACCDATA is implemented:

Mask bit for EnAS0.

EnAS0 Meaning
0b0

NVHCRX_EL2.EnAS0 is writable.

0b1

NVHCRX_EL2.EnAS0 is not writable.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

Access Instructions

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

MRS <Xt>, NVHCRXMASK_EL2

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


if !(IsFeatureImplemented(FEAT_NV3) && IsFeatureImplemented(FEAT_SRMASK2) && IsFeatureImplemented(FEAT_AA64)) then
    Undefined();
elsif HaveEL(EL3) && PSTATE.EL == EL2 && EL3SDDUndefPriority() && SCR2_EL3().SRMASK2En == '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(0x0F8);
    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().SRMASK2En == '0' then
        if EL3SDDUndef() then
            Undefined();
        else
            AArch64_SystemAccessTrap(EL3, 0x18);
        end;
    else
        X{64}(t) = NVHCRXMASK_EL2();
    end;
elsif PSTATE.EL == EL3 then
    X{64}(t) = NVHCRXMASK_EL2();
end;
                

MSR NVHCRXMASK_EL2, <Xt>

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


if !(IsFeatureImplemented(FEAT_NV3) && IsFeatureImplemented(FEAT_SRMASK2) && IsFeatureImplemented(FEAT_AA64)) then
    Undefined();
elsif HaveEL(EL3) && PSTATE.EL == EL2 && EL3SDDUndefPriority() && SCR2_EL3().SRMASK2En == '0' then
    Undefined();
elsif PSTATE.EL == EL0 then
    Undefined();
elsif PSTATE.EL == EL1 then
    if IsFeatureImplemented(FEAT_NV3) && EffectiveHCRX_EL2_NVTGE() == '1' then
        NVMem(0x0F8) = 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().SRMASK2En == '0' then
        if EL3SDDUndef() then
            Undefined();
        else
            AArch64_SystemAccessTrap(EL3, 0x18);
        end;
    else
        NVHCRXMASK_EL2() = X{64}(t);
    end;
elsif PSTATE.EL == EL3 then
    NVHCRXMASK_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.