[PATCH v2 09/16] KVM: arm64: gic-v5: Add ITS MSI injection

Fuad Tabba fuad.tabba at linux.dev
Tue Nov 3 05:56:40 PST 2026


On Mon, 02 Nov 2026 19:44:47 +0000, Sascha Bischoff
<sascha.bischoff at arm.com> wrote:
[...]
> diff --git a/arch/arm64/kvm/vgic/vgic-its-v5.c b/arch/arm64/kvm/vgic/vgic-its-v5.c
[...]
> +int vgic_v5_its_inject_cached_translation(struct kvm *kvm, struct kvm_msi *msi)
> +{
[...]
> +        if (!READ_ONCE(its->enabled))
> +                return -EWOULDBLOCK;

Should the plain stores to its->enabled should be WRITE_ONCE() to pair
with this?

Thanks!
/fuad



More information about the linux-arm-kernel mailing list