arm64/kvm: Fix bitrotted comment for SVE handling in handle_exit.c
PATCH 1/1 arm64/kvm: Fix bitrotted comment for SVE handling in handle_exit.c
The comment on the SVE trap handler in handle_exit.c says that it is a placeholder until we support SVE in guests which we now do for both VHE and nVHE cases so we really shouldn't get here in any sort of standard case. Update the comment to be less immediately incorrect, the handling of such a situation is correct.
--- arch/arm64/kvm/handle_exit.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
arch/arm64/kvm/handle_exit.c +4 -1
@@ -140,9 +140,12 @@ 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) { -/* Until SVE is supported for guests: */ kvm_inject_undefined (vcpu);return 1 ; }
Signature · 6 lines
2.30.2 _______________________________________________ kvmarm mailing list [email protected] https://lists.cs.columbia.edu/mailman/listinfo/kvmarm
Quoted 5 lines · Mark Brown
The comment on the SVE trap handler in
handle_exit.csays that it is a placeholder until we support SVE in guests which we now do for both VHE and nVHE cases so we really shouldn't get here in any sort of standard case. Update the comment to be less immediately incorrect, the handling of such a situation is correct.
Applied to arm64 (for-next/misc), thanks!
[1/1] arm64/kvm: Fix bitrotted comment for SVE handling in handle_exit.c
https://git.kernel.org/arm64/c/d658220a1c45
Signature · 6 lines
Catalin _______________________________________________ kvmarm mailing list [email protected] https://lists.cs.columbia.edu/mailman/listinfo/kvmarm