TLBI ALLE2, TLBI ALLE2NXS
TLB Invalidate All, EL2
If EL2 is implemented and enabled in the current Security state, invalidates cached copies of translation table entries from TLBs that meet all the following requirements:
-
The entry is a stage 1 translation table entry, from any level of the translation table walk.
-
If FEAT_RME is implemented, one of the following applies:
- SCR_EL3.{NSE, NS} is {0, 0} and the entry would be required to translate any address using the Secure EL2&0 or EL2 translation regime.
- SCR_EL3.{NSE, NS} is {0, 1} and the entry would be required to translate any address using the Non-secure EL2&0 or EL2 translation regime.
- SCR_EL3.{NSE, NS} is {1, 1} and the entry would be required to translate any address using the Realm EL2&0 or EL2 translation regime.
-
If FEAT_RME is not implemented, one of the following applies:
The invalidation only applies to the PE that executes this System instruction.
If FEAT_XS is implemented, the nXS variant of this System instruction is defined.
It is IMPLEMENTATION SPECIFIC whether the TLBI System instruction with the nXS qualifier invalidates TLB entries with the XS attribute set to 1.
The TLBI System instruction without the nXS qualifier waits for all memory accesses using in-scope old translation information to complete before it is considered complete.
The TLBI System instruction with the nXS qualifier is considered complete when the subset of these memory accesses with XS attribute set to 0 are complete.
Configuration
This instruction is present only when FEAT_AA64 is implemented. Otherwise, direct accesses to TLBI ALLE2, TLBI ALLE2NXS are UNDEFINED.
Attributes
TLBI ALLE2, TLBI ALLE2NXS is a 64-bit System instruction.
Field descriptions
This instruction has no applicable fields.
The value in the register specified by <Xt> is ignored.
Executing TLBI ALLE2, TLBI ALLE2NXS
The Rt field should be set to 0b11111. If the Rt field is not set to 0b11111, it is CONSTRAINED UNPREDICTABLE whether:
-
The instruction is UNDEFINED.
-
The instruction behaves as if the Rt field is set to 0b11111.
This system instruction is an alias of the SYS instruction.
The following pseudocode describes traps which apply to the System instruction. For information about changes to the scope of the invalidation to the instruction under different conditions, see AArch64_TLBI_ALL() in the Pseudocode for AArch64 operation.
Accesses to this instruction use the following encodings in the System instruction encoding space:
TLBI ALLE2{, <Xt>}
(op0 = 0b01, op1 = 0b100, CRn = 0b1000, CRm = 0b0111, op2 = 0b000)
if !IsFeatureImplemented(FEAT_AA64) then
Undefined();
elsif PSTATE.EL == EL0 then
Undefined();
elsif PSTATE.EL == EL1 then
if EffectiveHCR_EL2_NVx() IN {'xx1'} then
AArch64_SystemAccessTrap(EL2, 0x18);
else
Undefined();
end;
elsif PSTATE.EL == EL2 then
AArch64_TLBI_ALL(SecurityStateAtEL(EL2), Regime_EL2, Broadcast_NSH, TLBI_AllAttr, X{64}(t));
elsif PSTATE.EL == EL3 then
if !EL2Enabled() then
Undefined();
else
if IsFeatureImplemented(FEAT_RME) && !ValidSecurityStateAtEL(EL2) then
return;
else
AArch64_TLBI_ALL(SecurityStateAtEL(EL2), Regime_EL2, Broadcast_NSH, TLBI_AllAttr, X{64}(t));
end;
end;
end;
When FEAT_XS is implemented:
TLBI ALLE2NXS{, <Xt>}
(op0 = 0b01, op1 = 0b100, CRn = 0b1001, CRm = 0b0111, op2 = 0b000)
if !IsFeatureImplemented(FEAT_AA64) then
Undefined();
elsif !IsFeatureImplemented(FEAT_XS) then
Undefined();
elsif PSTATE.EL == EL0 then
Undefined();
elsif PSTATE.EL == EL1 then
if EffectiveHCR_EL2_NVx() IN {'xx1'} then
AArch64_SystemAccessTrap(EL2, 0x18);
else
Undefined();
end;
elsif PSTATE.EL == EL2 then
AArch64_TLBI_ALL(SecurityStateAtEL(EL2), Regime_EL2, Broadcast_NSH, TLBI_ExcludeXS, X{64}(t));
elsif PSTATE.EL == EL3 then
if !EL2Enabled() then
Undefined();
else
if IsFeatureImplemented(FEAT_RME) && !ValidSecurityStateAtEL(EL2) then
return;
else
AArch64_TLBI_ALL(SecurityStateAtEL(EL2), Regime_EL2, Broadcast_NSH, TLBI_ExcludeXS, X{64}(t));
end;
end;
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.