KVM: arm/arm64: Remove leftover comment from kvm_vcpu_run_vhe
authorChristoffer Dall <christoffer.dall@linaro.org>
Sun, 3 Dec 2017 19:38:52 +0000 (20:38 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 19 Mar 2018 10:53:15 +0000 (10:53 +0000)
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>
arch/arm64/kvm/hyp/switch.c

index d60d3a0..fd845dd 100644 (file)
@@ -410,10 +410,6 @@ int kvm_vcpu_run_vhe(struct kvm_vcpu *vcpu)
                __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;