diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2015-10-23 07:26:37 (GMT) |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2015-12-14 11:30:41 (GMT) |
commit | 5eec0a91e32a2862e86265532ae773820e0afd77 (patch) | |
tree | 3d203014ef6404447626247c880c84cfa7e86e2a /arch/arm64/kvm/hyp/entry.S | |
parent | c13d1683df16db16c91372177ca10c31677b5ed5 (diff) | |
download | linux-5eec0a91e32a2862e86265532ae773820e0afd77.tar.xz |
arm64: KVM: Implement TLB handling
Implement the TLB handling as a direct translation of the assembly
code version.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'arch/arm64/kvm/hyp/entry.S')
-rw-r--r-- | arch/arm64/kvm/hyp/entry.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/kvm/hyp/entry.S b/arch/arm64/kvm/hyp/entry.S index 90cbf0f..1050b2b 100644 --- a/arch/arm64/kvm/hyp/entry.S +++ b/arch/arm64/kvm/hyp/entry.S @@ -147,6 +147,7 @@ ENTRY(__fpsimd_guest_restore) add x0, x2, #CPU_GP_REG_OFFSET(CPU_FP_REGS) bl __fpsimd_restore_state + // Skip restoring fpexc32 for AArch64 guests mrs x1, hcr_el2 tbnz x1, #HCR_RW_SHIFT, 1f ldr x4, [x2, #CPU_SYSREG_OFFSET(FPEXC32_EL2)] |