From c2584234f2bb09676cb5bbe6b4532c77cfb6a0eb Mon Sep 17 00:00:00 2001 From: Will Deacon Date: Thu, 7 Jul 2022 15:52:02 +0100 Subject: [PATCH] Revert "FROMLIST: KVM: arm64: Fix comment for kvm_reset_vcpu()" This reverts commit 439be95f5b2cfb607817097f2bd26779bf6210f8. Bug: 233587962 Signed-off-by: Will Deacon Change-Id: Icbd909427a20fb604699151855be80a12c9414f4 --- arch/arm64/kvm/reset.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/arm64/kvm/reset.c b/arch/arm64/kvm/reset.c index 750ad7d8fb7b..12a658cbed32 100644 --- a/arch/arm64/kvm/reset.c +++ b/arch/arm64/kvm/reset.c @@ -208,9 +208,10 @@ static bool vcpu_allowed_register_width(struct kvm_vcpu *vcpu) * kvm_reset_vcpu - sets core registers and sys_regs to reset value * @vcpu: The VCPU pointer * - * This function sets the registers on the virtual CPU struct to their - * architecturally defined reset values, except for registers whose reset is - * deferred until kvm_arm_vcpu_finalize(). + * This function finds the right table above and sets the registers on + * the virtual CPU struct to their architecturally defined reset + * values, except for registers whose reset is deferred until + * kvm_arm_vcpu_finalize(). * * Note: This function can be called from two paths: The KVM_ARM_VCPU_INIT * ioctl or as part of handling a request issued by another VCPU in the PSCI