From: Christoffer Dall <christoffer.dall@linaro.org>
Date: Sun, 3 Dec 2017 20:38:52 +0100
Subject: KVM: arm/arm64: Remove leftover comment from kvm_vcpu_run_vhe
Patch-mainline: v4.17-rc1
Git-commit: 0a62d43314e9f886e37fdf26a9ea9505a4e467cf
References: jsc#SLE-4084
The comment only applied to SPE on non-VHE systems, so we simply remove
it.
Suggested-by: Andrew Jones <drjones@redhat.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Liang Yan <lyan@suse.com>
---
arch/arm64/kvm/hyp/switch.c | 4 ----
1 file changed, 4 deletions(-)
--- a/arch/arm64/kvm/hyp/switch.c
+++ b/arch/arm64/kvm/hyp/switch.c
@@ -410,10 +410,6 @@ int kvm_vcpu_run_vhe(struct kvm_vcpu *vc
__fpsimd_restore_state(&host_ctxt->gp_regs.fp_regs);
}
- /*
- * This must come after restoring the host sysregs, since a non-VHE
- * system may enable SPE here and make use of the TTBRs.
- */
__debug_switch_to_host(vcpu);
return exit_code;