]> www.infradead.org Git - users/dwmw2/linux.git/commit
KVM: arm64: Drop pkvm_mem_transition for host/hyp sharing
authorQuentin Perret <qperret@google.com>
Fri, 10 Jan 2025 12:19:35 +0000 (12:19 +0000)
committerMarc Zyngier <maz@kernel.org>
Sun, 12 Jan 2025 10:46:39 +0000 (10:46 +0000)
commit7cbf7c37718e67f2c994d4ed4ca7128fe06a4f60
tree88ee7777435a42ed0f32e7a2793a7e95d06526a1
parent7a0688832f580e5f4eda2dd92b4806fb4348f9c6
KVM: arm64: Drop pkvm_mem_transition for host/hyp sharing

Simplify the __pkvm_host_{un}share_hyp() paths by not using the
pkvm_mem_transition machinery. As there are the last users of the
do_share()/do_unshare(), remove all the now-unused code as well.

No functional changes intended.

Signed-off-by: Quentin Perret <qperret@google.com>
Link: https://lore.kernel.org/r/20250110121936.1559655-3-qperret@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/hyp/nvhe/mem_protect.c