summary refs log tree commit diff
path: root/arch/arm64/kvm/hyp/nvhe/hyp-main.c
diff options
context:
space:
mode:
authorQuentin Perret <qperret@google.com>2021-08-09 16:24:46 +0100
committerMarc Zyngier <maz@kernel.org>2021-08-11 11:39:51 +0100
commitf9370010e92638f66473baf342e19de940403362 (patch)
treeabefcbece0d721c5ddb07adda12d4f669b130804 /arch/arm64/kvm/hyp/nvhe/hyp-main.c
parentad0e0139a8e163245d8f44ab4f6ec3bc9b08034d (diff)
downloadlinux-f9370010e92638f66473baf342e19de940403362.tar.gz
KVM: arm64: Refactor protected nVHE stage-1 locking
Refactor the hypervisor stage-1 locking in nVHE protected mode to expose
a new pkvm_create_mappings_locked() function. This will be used in later
patches to allow walking and changing the hypervisor stage-1 without
releasing the lock.

Signed-off-by: Quentin Perret <qperret@google.com>
Reviewed-by: Fuad Tabba <tabba@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210809152448.1810400-20-qperret@google.com
Diffstat (limited to 'arch/arm64/kvm/hyp/nvhe/hyp-main.c')
0 files changed, 0 insertions, 0 deletions