]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: nv: Release faulted-in VNCR page from mmu_lock critical section
authorMarc Zyngier <maz@kernel.org>
Wed, 21 May 2025 10:04:11 +0000 (11:04 +0100)
committerMarc Zyngier <maz@kernel.org>
Wed, 21 May 2025 10:40:12 +0000 (11:40 +0100)
commit538fbac74019c13dac341b20fbcc1e96c9a8d01e
treed55b2e756f58c6c921587dca73778ce8268765b4
parentbeab7d058309bfe0460a441b1c73639941e33d38
KVM: arm64: nv: Release faulted-in VNCR page from mmu_lock critical section

The conversion to kvm_release_faultin_page() missed the requirement
for this to be called within a critical section with mmu_lock held
for write. Move this call up to satisfy this requirement.

Fixes: 069a05e535496 ("KVM: arm64: nv: Handle VNCR_EL2-triggered faults")
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/nested.c