diff options
author | Quentin Perret <qperret@google.com> | 2021-08-09 16:24:41 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-08-11 11:39:51 +0100 |
commit | 2d77e238badb022adb364332b7d6a1d627f77145 (patch) | |
tree | b35dc7815a64b64470b42359622a5ce4b1857b5f /arch/arm64/kvm/hyp/nvhe/mem_protect.c | |
parent | 39257da0e04e5cdb1e4a3ca715dc3d949fe8b059 (diff) | |
download | linux-stable-2d77e238badb022adb364332b7d6a1d627f77145.tar.gz linux-stable-2d77e238badb022adb364332b7d6a1d627f77145.tar.bz2 linux-stable-2d77e238badb022adb364332b7d6a1d627f77145.zip |
KVM: arm64: Expose pkvm_hyp_id
Allow references to the hypervisor's owner id from outside
mem_protect.c.
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-15-qperret@google.com
Diffstat (limited to 'arch/arm64/kvm/hyp/nvhe/mem_protect.c')
-rw-r--r-- | arch/arm64/kvm/hyp/nvhe/mem_protect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kvm/hyp/nvhe/mem_protect.c b/arch/arm64/kvm/hyp/nvhe/mem_protect.c index f95a5a4aa09c..ee255171945c 100644 --- a/arch/arm64/kvm/hyp/nvhe/mem_protect.c +++ b/arch/arm64/kvm/hyp/nvhe/mem_protect.c @@ -31,7 +31,7 @@ static struct hyp_pool host_s2_pool; u64 id_aa64mmfr0_el1_sys_val; u64 id_aa64mmfr1_el1_sys_val; -static const u8 pkvm_hyp_id = 1; +const u8 pkvm_hyp_id = 1; static void *host_s2_zalloc_pages_exact(size_t size) { |