OSDN Git Service

KVM: arm64: Fix comment on barrier in kvm_psci_vcpu_on()
authorFuad Tabba <tabba@google.com>
Wed, 8 Dec 2021 19:32:57 +0000 (19:32 +0000)
committerMarc Zyngier <maz@kernel.org>
Mon, 20 Dec 2021 13:57:13 +0000 (13:57 +0000)
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 <tabba@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211208193257.667613-3-tabba@google.com
arch/arm64/kvm/psci.c

index 74c47d4..9b82d68 100644 (file)
@@ -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();