The comment for handle_sve() says that we only call it if the guest does not support SVE but it is now also used for nested guests which have enabled traps at EL2. Just remove the comment.
Signed-off-by: Mark Brown <[email protected]> --- arch/arm64/kvm/handle_exit.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/arm64/kvm/handle_exit.c b/arch/arm64/kvm/handle_exit.c index 54aedf93c78b..f674cd25d894 100644 --- a/arch/arm64/kvm/handle_exit.c +++ b/arch/arm64/kvm/handle_exit.c @@ -224,10 +224,6 @@ static int kvm_handle_unknown_ec(struct kvm_vcpu *vcpu) return 1; } -/* - * Guest access to SVE registers should be routed to this handler only - * when the system doesn't support SVE. - */ static int handle_sve(struct kvm_vcpu *vcpu) { if (guest_hyp_sve_traps_enabled(vcpu)) -- 2.47.3

