diff options
author | Olivier Martin <olivier.martin@arm.com> | 2013-07-26 17:14:07 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2013-07-26 17:14:07 +0000 |
commit | 70f89c0b5fa54dc8879e2ece3be2d2596b0b37cc (patch) | |
tree | f4d295f1be8fa480dd46bcf1406d8696bc96ec41 /ArmPkg/Library/ArmLib/Common | |
parent | e21227c62730aa438b8f6e48f81c58a2ddfd6656 (diff) | |
download | edk2-platforms-70f89c0b5fa54dc8879e2ece3be2d2596b0b37cc.tar.xz |
ArmPkg/ArmLib: Fixed TBLs invalidation in EL1
'tlb alle1' was used to invalidate the TLBs in EL1. Expect this instruction can only
be invoked from EL2.
The correct instruction to invalidate TLBs in EL1 is 'tlbi vmalle1' - it invalidates
the TLBs of the current VMID.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14509 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg/Library/ArmLib/Common')
-rw-r--r-- | ArmPkg/Library/ArmLib/Common/AArch64/ArmLibSupport.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ArmPkg/Library/ArmLib/Common/AArch64/ArmLibSupport.S b/ArmPkg/Library/ArmLib/Common/AArch64/ArmLibSupport.S index d7b2881b98..2db812616a 100644 --- a/ArmPkg/Library/ArmLib/Common/AArch64/ArmLibSupport.S +++ b/ArmPkg/Library/ArmLib/Common/AArch64/ArmLibSupport.S @@ -167,7 +167,7 @@ ASM_PFX(ArmUpdateTranslationTableEntry): ASM_PFX(ArmInvalidateTlb):
EL1_OR_EL2_OR_EL3(x0)
-1: tlbi alle1
+1: tlbi vmalle1
b 4f
2: tlbi alle2
b 4f
|