HCRXMASK_EL2
Extended Hypervisor Configuration Masking Register
Mask register to prevent updates of fields in HCRX_EL2 on direct writes to HCRX_EL2.
Configuration
This register is present only when FEAT_SRMASK2 is implemented and FEAT_AA64 is implemented. Otherwise, direct accesses to HCRXMASK_EL2 are UNDEFINED.
Attributes
HCRXMASK_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.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
VTLBIDOSEn, bit [35] when FEAT_TLBID is implemented:
Mask bit for VTLBIDOSEn.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
NVnTTLBOS, bit [34] when FEAT_NV3 is implemented:
Mask bit for NVnTTLBOS.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
NVnTTLBIS, bit [33] when FEAT_NV3 is implemented:
Mask bit for NVnTTLBIS.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
NVnTTLB, bit [32] when FEAT_NV3 is implemented:
Mask bit for NVnTTLB.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
FDIT, bit [31] when FEAT_FDIT is implemented:
Mask bit for FDIT.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
Bits [30:28]:
Reserved, RES0.
NVTGE, bit [27] when FEAT_NV3 is implemented:
Mask bit for NVTGE.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
SRMASKEn, bit [26] when FEAT_SRMASK is implemented:
Mask bit for SRMASKEn.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
VTLBIDEn, bit [25] when FEAT_TLBID is implemented:
Mask bit for VTLBIDEn.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
PACMEn, bit [24] when FEAT_PAuth_LR is implemented:
Mask bit for PACMEn.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
EnFPM, bit [23] when FEAT_FPMR is implemented:
Mask bit for EnFPM.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
GCSEn, bit [22] when FEAT_GCS is implemented:
Mask bit for GCSEn.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
EnIDCP128, bit [21] when FEAT_SYSREG128 is implemented:
Mask bit for EnIDCP128.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
EnSDERR, bit [20] when FEAT_ADERR is implemented:
Mask bit for EnSDERR.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
TMEA, bit [19] when FEAT_DoubleFault2 is implemented:
Mask bit for TMEA.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
EnSNERR, bit [18] when FEAT_ANERR is implemented:
Mask bit for EnSNERR.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
D128En, bit [17] when FEAT_D128 is implemented:
Mask bit for D128En.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
PTTWI, bit [16] when FEAT_THE is implemented:
Mask bit for PTTWI.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
SCTLR2En, bit [15] when FEAT_SCTLR2 is implemented:
Mask bit for SCTLR2En.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
TCR2En, bit [14] when FEAT_TCR2 is implemented:
Mask bit for TCR2En.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
Bits [13:12]:
Reserved, RES0.
MSCEn, bit [11] when FEAT_MOPS is implemented:
Mask bit for MSCEn.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
MCE2, bit [10] when FEAT_MOPS is implemented:
Mask bit for MCE2.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
CMOW, bit [9] when FEAT_CMOW is implemented:
Mask bit for CMOW.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
VFNMI, bit [8] when FEAT_NMI is implemented:
Mask bit for VFNMI.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
VINMI, bit [7] when FEAT_NMI is implemented:
Mask bit for VINMI.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
TALLINT, bit [6] when FEAT_NMI is implemented:
Mask bit for TALLINT.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
SMPME, bit [5] when FEAT_SME is implemented:
Mask bit for SMPME.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
FGTnXS, bit [4] when FEAT_XS is implemented:
Mask bit for FGTnXS.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
FnXS, bit [3] when FEAT_XS is implemented:
Mask bit for FnXS.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
EnASR, bit [2] when FEAT_LS64_V is implemented:
Mask bit for EnASR.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
EnALS, bit [1] when FEAT_LS64 is implemented:
Mask bit for EnALS.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
EnAS0, bit [0] when FEAT_LS64_ACCDATA is implemented:
Mask bit for EnAS0.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
Access Instructions
Accesses to this register use the following encodings in the System register encoding space:
MRS <Xt>, HCRXMASK_EL2
(op0 = 0b11, op1 = 0b100, CRn = 0b0001, CRm = 0b0101, op2 = 0b111)
if !(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 EffectiveHCRX_EL2_NVTGE() == '1' && (!HaveEL(EL3) || SCR2_EL3().SRMASK2En == '1') then
X{64}(t) = NVHCRXMASK_EL2();
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) = HCRXMASK_EL2();
end;
elsif PSTATE.EL == EL3 then
X{64}(t) = HCRXMASK_EL2();
end;
MSR HCRXMASK_EL2, <Xt>
(op0 = 0b11, op1 = 0b100, CRn = 0b0001, CRm = 0b0101, op2 = 0b111)
if !(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 EffectiveHCRX_EL2_NVTGE() == '1' && (!HaveEL(EL3) || SCR2_EL3().SRMASK2En == '1') then
if !IsZero(NVHCRXMASK_EL2()) then
Undefined();
else
NVHCRXMASK_EL2() = X{64}(t);
end;
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;
elsif !IsZero(HCRXMASK_EL2()) then
Undefined();
else
HCRXMASK_EL2() = X{64}(t);
end;
elsif PSTATE.EL == EL3 then
HCRXMASK_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.