Re: [PATCH] KVM: arm64: Mark freed S2 MMUs as invalid

Oliver Upton
2025-09-05T09:41:29Z

On Fri, 05 Sep 2025 08:28:59 +0100, Marc Zyngier wrote:
> When freeing an S2 MMU, we free the associated pgd, but omit to
> mark the structure as invalid. Subsequently, a call to
> kvm_nested_s2_unmap() would pick these invalid S2 MMUs and
> pass them down the teardown path.
>
> This ends up with a nasty warning as we try to unmap an unallocated
> set of page tables.
>
> [...]

Applied to fixes, thanks!

[1/1] KVM: arm64: Mark freed S2 MMUs as invalid
https://git.kernel.org/kvmarm/kvmarm/c/34b8f4adedd5

--
Best,
Oliver