linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] KVM: arm64: Assorted vgic fixes for 6.14
@ 2025-02-12 18:25 Marc Zyngier
  2025-02-12 18:25 ` [PATCH v2 1/2] KVM: arm64: timer: Drop warning on failed interrupt signalling Marc Zyngier
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Marc Zyngier @ 2025-02-12 18:25 UTC (permalink / raw)
  To: kvmarm, linux-arm-kernel
  Cc: Alexander Potapenko, Joey Gouly, Suzuki K Poulose, Oliver Upton,
	Zenghui Yu

Alexander, while fuzzing KVM/arm64, found an annoying set of problems,
all stemming from the fact that the vgic can be initialised or
destroyed in parallel with the rest of the guest still being live.

Yes, this is annoying.

This second version takes a different approach at the problem,
plugging the glaring hole we have between vgic creation and private
interrupt allocation.

Although this is more invasive, I'm more confident about this one than
the initial version I posted a week ago.

Alex, I'd very much appreciate your testing on this.

Marc Zyngier (2):
  KVM: arm64: timer: Drop warning on failed interrupt signalling
  KVM: arm64: vgic: Hoist SGI/PPI alloc from vgic_init() to
    kvm_create_vgic()

 arch/arm64/kvm/arch_timer.c     | 16 ++++---
 arch/arm64/kvm/vgic/vgic-init.c | 74 ++++++++++++++++-----------------
 2 files changed, 44 insertions(+), 46 deletions(-)

-- 
2.39.2



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-12-02  8:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-12 18:25 [PATCH v2 0/2] KVM: arm64: Assorted vgic fixes for 6.14 Marc Zyngier
2025-02-12 18:25 ` [PATCH v2 1/2] KVM: arm64: timer: Drop warning on failed interrupt signalling Marc Zyngier
2025-02-12 18:25 ` [PATCH v2 2/2] KVM: arm64: vgic: Hoist SGI/PPI alloc from vgic_init() to kvm_create_vgic() Marc Zyngier
2025-12-02  8:35   ` Changyuan Lyu
2025-02-13  4:59 ` [PATCH v2 0/2] KVM: arm64: Assorted vgic fixes for 6.14 Oliver Upton
2025-02-13 10:29   ` Alexander Potapenko
2025-02-14 18:25     ` Alexander Potapenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).