]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Expose host stage-2 manipulation helpers
authorQuentin Perret <qperret@google.com>
Mon, 9 Aug 2021 15:24:40 +0000 (16:24 +0100)
committerMarc Zyngier <maz@kernel.org>
Wed, 11 Aug 2021 10:39:50 +0000 (11:39 +0100)
commit622283dc81625f85a95ce0c6d863e11ecb3c9b3e
tree06aa9e78d4f7abf6e97baa58d2dc00a4b0d75ffa
parent5572e17c45ab1986cf05d2b991c5d8794c2c861a
KVM: arm64: Expose host stage-2 manipulation helpers

We will need to manipulate the host stage-2 page-table from outside
mem_protect.c soon. Introduce two functions allowing this, and make
them usable to users of mem_protect.h.

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-14-qperret@google.com
arch/arm64/kvm/hyp/include/nvhe/mem_protect.h
arch/arm64/kvm/hyp/nvhe/mem_protect.c