Skip to content

KVM: arm64: Ensure VGIC is fully initialized before entering guest

Oliver Upton kvmarm 1 version Applied

Status from this message: Applied to fixes, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2KVM: arm64: vgic: Don't check for vgic_ready() when setting NR_IRQSarch/arm64/kvm/vgic/vgic-kvm-device.c+6 -10 replies
2/2KVM: arm64: Ensure vgic_ready() is ordered against MMIO registrationarch/arm64/kvm/vgic/vgic-init.c+11 -22 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] KVM: arm64: Ensure VGIC is fully initialized before entering guest

Fix for the race [*] that I had mentioned last week. The first patch isn't entirely necessary, but it gets rid of a bogus check that could've potentially raced with kvm_vgic_map_resources() as vgic_dist::ready is no longer protected with the config_lock.

Applies to kvmarm/fixes.

Oliver Upton (2):
KVM: arm64: vgic: Don't check for vgic_ready() when setting NR_IRQS
KVM: arm64: Ensure vgic_ready() is ordered against MMIO registration

 arch/arm64/kvm/vgic/vgic-init.c       | 13 +++++++++++--
 arch/arm64/kvm/vgic/vgic-kvm-device.c |  7 ++++++-
 2 files changed, 17 insertions(+), 3 deletions(-)

base-commit: df5fd75ee305cb5927e0b1a0b46cc988ad8db2b1

Signature · 1 line
2.47.0.rc1.288.g06298d1525-goog