summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kvm/hyp/nvhe/mem_protect.c
diff options
context:
space:
mode:
authorOliver Upton <oliver.upton@linux.dev>2022-11-07 21:59:34 +0000
committerMarc Zyngier <maz@kernel.org>2022-11-10 14:43:47 +0000
commit946fbfdf336b811479e024136c7cabc00157b6b9 (patch)
tree17f10d2a0e9a901c9cfe096b9a5fe80b1a32367e /arch/arm64/kvm/hyp/nvhe/mem_protect.c
parent0ab12f3574db6cb432917a667f9392a88e8f0dfc (diff)
downloadlinux-stable-946fbfdf336b811479e024136c7cabc00157b6b9.tar.gz
linux-stable-946fbfdf336b811479e024136c7cabc00157b6b9.tar.bz2
linux-stable-946fbfdf336b811479e024136c7cabc00157b6b9.zip
KVM: arm64: Make leaf->leaf PTE changes parallel-aware
Convert stage2_map_walker_try_leaf() to use the new break-before-make helpers, thereby making the handler parallel-aware. As before, avoid the break-before-make if recreating the existing mapping. Additionally, retry execution if another vCPU thread is modifying the same PTE. Signed-off-by: Oliver Upton <oliver.upton@linux.dev> Reviewed-by: Ben Gardon <bgardon@google.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20221107215934.1895478-1-oliver.upton@linux.dev
Diffstat (limited to 'arch/arm64/kvm/hyp/nvhe/mem_protect.c')
0 files changed, 0 insertions, 0 deletions