aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZenghui Yu <yuzenghui@huawei.com>2021-12-30 22:15:35 +0800
committerMarc Zyngier <maz@kernel.org>2022-01-04 13:41:25 +0000
commite938eddbeb85f4c0c47e56cd9e09ee196ea1bc1a (patch)
tree63959816058d9429c619fcadfb5be691c8a818a0
parentKVM: arm64: selftests: get-reg-list: Add pauth configuration (diff)
downloadlinux-dev-e938eddbeb85f4c0c47e56cd9e09ee196ea1bc1a.tar.xz
linux-dev-e938eddbeb85f4c0c47e56cd9e09ee196ea1bc1a.zip
KVM: arm64: Fix comment typo in kvm_vcpu_finalize_sve()
kvm_arm_init_arch_resources() was renamed to kvm_arm_init_sve() in commit a3be836df7cb ("KVM: arm/arm64: Demote kvm_arm_init_arch_resources() to just set up SVE"). Fix the function name in comment of kvm_vcpu_finalize_sve(). Signed-off-by: Zenghui Yu <yuzenghui@huawei.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20211230141535.1389-1-yuzenghui@huawei.com
-rw-r--r--arch/arm64/kvm/reset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kvm/reset.c b/arch/arm64/kvm/reset.c
index 2bbfeadeb6ae..34d7c5d54e5b 100644
--- a/arch/arm64/kvm/reset.c
+++ b/arch/arm64/kvm/reset.c
@@ -99,7 +99,7 @@ static int kvm_vcpu_finalize_sve(struct kvm_vcpu *vcpu)
/*
* Responsibility for these properties is shared between
- * kvm_arm_init_arch_resources(), kvm_vcpu_enable_sve() and
+ * kvm_arm_init_sve(), kvm_vcpu_enable_sve() and
* set_sve_vls(). Double-check here just to be sure:
*/
if (WARN_ON(!sve_vl_valid(vl) || vl > sve_max_virtualisable_vl() ||