summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kvm/psci.c
diff options
context:
space:
mode:
authorFuad Tabba <tabba@google.com>2021-12-08 19:32:57 +0000
committerMarc Zyngier <maz@kernel.org>2021-12-20 13:57:13 +0000
commitdda0190d7ff7f26c221f9ab1659a73d4517920e7 (patch)
treeed89ed3c41375d05c3687c859606fbc70a65fc68 /arch/arm64/kvm/psci.c
parenta080e323be8d66415944ad862fcf750825f871e7 (diff)
downloadlinux-stable-dda0190d7ff7f26c221f9ab1659a73d4517920e7.tar.gz
linux-stable-dda0190d7ff7f26c221f9ab1659a73d4517920e7.tar.bz2
linux-stable-dda0190d7ff7f26c221f9ab1659a73d4517920e7.zip
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 <tabba@google.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20211208193257.667613-3-tabba@google.com
Diffstat (limited to 'arch/arm64/kvm/psci.c')
-rw-r--r--arch/arm64/kvm/psci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kvm/psci.c b/arch/arm64/kvm/psci.c
index 74c47d420253..9b82d6878aac 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();