]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KVM: arm64: nv: Handle TLBI S1E2 for VNCR invalidation with mmu_lock held
authorMarc Zyngier <maz@kernel.org>
Wed, 21 May 2025 09:58:29 +0000 (10:58 +0100)
committerMarc Zyngier <maz@kernel.org>
Wed, 21 May 2025 10:40:12 +0000 (11:40 +0100)
commitbeab7d058309bfe0460a441b1c73639941e33d38
tree9771a2b0dd84db4978272ee8fdfef48b136483e9
parentd43548f422f27219eff5ce1897336af2c4f15091
KVM: arm64: nv: Handle TLBI S1E2 for VNCR invalidation with mmu_lock held

Calling invalidate_vncr_va() without the mmu_lock held for write
is a bad idea, and lockdep tells you about that.

Fixes: 4ffa72ad8f37e ("KVM: arm64: nv: Add S1 TLB invalidation primitive for VNCR_EL2")
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/nested.c