Skip to content

Commit a080e32

Browse files
Fuad TabbaMarc Zyngier
authored andcommitted
KVM: arm64: Fix comment for kvm_reset_vcpu()
The comment for kvm_reset_vcpu() refers to the sysreg table as being the table above, probably because of the code extracted at commit f467275 ("arm64: KVM: virtual CPU reset"). Fix the comment to remove the potentially confusing reference. Signed-off-by: Fuad Tabba <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 500ca52 commit a080e32

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

arch/arm64/kvm/reset.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,10 +193,9 @@ static bool vcpu_allowed_register_width(struct kvm_vcpu *vcpu)
193193
* kvm_reset_vcpu - sets core registers and sys_regs to reset value
194194
* @vcpu: The VCPU pointer
195195
*
196-
* This function finds the right table above and sets the registers on
197-
* the virtual CPU struct to their architecturally defined reset
198-
* values, except for registers whose reset is deferred until
199-
* kvm_arm_vcpu_finalize().
196+
* This function sets the registers on the virtual CPU struct to their
197+
* architecturally defined reset values, except for registers whose reset is
198+
* deferred until kvm_arm_vcpu_finalize().
200199
*
201200
* Note: This function can be called from two paths: The KVM_ARM_VCPU_INIT
202201
* ioctl or as part of handling a request issued by another VCPU in the PSCI

0 commit comments

Comments
 (0)