OSDN Git Service

KVM: arm64: vgic: Fix locking comment
authorJean-Philippe Brucker <jean-philippe@linaro.org>
Thu, 18 May 2023 10:09:17 +0000 (11:09 +0100)
committerMarc Zyngier <maz@kernel.org>
Fri, 19 May 2023 09:20:00 +0000 (10:20 +0100)
commitc38b8400aef99d63be2b1ff131bb993465dcafe1
tree65e3a82b123710154513ec82de561388ed45b402
parent9cf2f840c439b6b23bd99f584f2917ca425ae406
KVM: arm64: vgic: Fix locking comment

It is now config_lock that must be held, not kvm lock. Replace the
comment with a lockdep annotation.

Fixes: f00327731131 ("KVM: arm64: Use config_lock to protect vgic state")
Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230518100914.2837292-4-jean-philippe@linaro.org
arch/arm64/kvm/vgic/vgic-v4.c