]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: arm64: Handle aborts from protected VMs
authorWill Deacon <will@kernel.org>
Mon, 30 Mar 2026 14:48:15 +0000 (15:48 +0100)
committerMarc Zyngier <maz@kernel.org>
Mon, 30 Mar 2026 15:58:08 +0000 (16:58 +0100)
commitea03466e806fea942841a41cfaab8db8c851aa71
tree530120b429bbdce96879245dfbba4df066b39cb1
parent5fef16ef49126b0f71fb3e401aae4dca1865e6f9
KVM: arm64: Handle aborts from protected VMs

Introduce a new abort handler for resolving stage-2 page faults from
protected VMs by pinning and donating anonymous memory. This is
considerably simpler than the infamous user_mem_abort() as we only have
to deal with translation faults at the pte level.

Reviewed-by: Fuad Tabba <tabba@google.com>
Tested-by: Fuad Tabba <tabba@google.com>
Tested-by: Mostafa Saleh <smostafa@google.com>
Signed-off-by: Will Deacon <will@kernel.org>
Link: https://patch.msgid.link/20260330144841.26181-15-will@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/mmu.c