]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: arm64: vgic: Explicitly implement vgic_dist::ready ordering
authorKeir Fraser <keirf@google.com>
Tue, 9 Sep 2025 10:00:05 +0000 (10:00 +0000)
committerMarc Zyngier <maz@kernel.org>
Mon, 15 Sep 2025 09:55:22 +0000 (10:55 +0100)
commit11490b5ec6bc4fe3a36f90817bbc8021ba8b05cd
tree233b90cd2d62995a1a432f722ff9c566cfb7ad56
parent8810c6e7cca8fbfce7652b53e05acc465e671d28
KVM: arm64: vgic: Explicitly implement vgic_dist::ready ordering

In preparation to remove synchronize_srcu() from MMIO registration,
remove the distributor's dependency on this implicit barrier by
direct acquire-release synchronization on the flag write and its
lock-free check.

Signed-off-by: Keir Fraser <keirf@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/vgic/vgic-init.c