From: Fuad Tabba Date: Wed, 8 Dec 2021 19:32:57 +0000 (+0000) Subject: KVM: arm64: Fix comment on barrier in kvm_psci_vcpu_on() X-Git-Tag: v5.17-rc1~69^2~50^2^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dda0190d7ff7f26c221f9ab1659a73d4517920e7;p=thirdparty%2Fkernel%2Flinux.git KVM: arm64: Fix comment on barrier in kvm_psci_vcpu_on() The barrier is there for power_off rather than power_state. Probably typo in commit 358b28f09f0ab074 ("arm/arm64: KVM: Allow a VCPU to fully reset itself"). Signed-off-by: Fuad Tabba Signed-off-by: Marc Zyngier Link: https://lore.kernel.org/r/20211208193257.667613-3-tabba@google.com --- diff --git a/arch/arm64/kvm/psci.c b/arch/arm64/kvm/psci.c index 74c47d4202534..9b82d6878aac8 100644 --- a/arch/arm64/kvm/psci.c +++ b/arch/arm64/kvm/psci.c @@ -109,7 +109,7 @@ static unsigned long kvm_psci_vcpu_on(struct kvm_vcpu *source_vcpu) /* * Make sure the reset request is observed if the change to - * power_state is observed. + * power_off is observed. */ smp_wmb();