[PATCH v2 0/2] KVM: arm64: nv: Shadow S2 life-cycle fixes
Marc Zyngier
maz at kernel.org
Fri Aug 14 03:32:28 PDT 2026
This is yet another stab at trying to fix a bunch of annoying issues
(i.e. very stupid bugs) that plague the life cycle of shadow S2 MMU
structures and page tables.
The first patch is identical to [1], only with added lockdep_assert(),
as suggested by Joey. The second patch finishes the job (at least one
hopes) by freeing the S2 MMUs when it is actually safe to do so.
Both are targeting 7.3, and are stable candidates.
[1] https://lore.kernel.org/r/20260811122057.754772-1-maz@kernel.org
Marc Zyngier (2):
KVM: arm64: nv: Fix life cycle of the nested_mmus array
KVM: arm64: nv: Delay freeing of shadow S2 structures until VM
destruction
arch/arm64/include/asm/kvm_host.h | 2 +-
arch/arm64/include/asm/kvm_nested.h | 3 +-
arch/arm64/kvm/arm.c | 8 +-
arch/arm64/kvm/nested.c | 115 +++++++++++++++-------------
4 files changed, 69 insertions(+), 59 deletions(-)
--
2.47.3
More information about the linux-arm-kernel
mailing list