diff options
author | David Brazdil <[email protected]> | 2020-12-08 14:24:49 +0000 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2020-12-22 10:48:56 +0000 |
commit | c3e181aec96f6ada84df1cb72a72be8970f8b284 (patch) | |
tree | a864ed009261b1e3a304b8e6518ebb8d0d678392 /arch/arm64/kvm/va_layout.c | |
parent | 7a96a0687b80a1870c689418d7b72012c8bdd53d (diff) |
KVM: arm64: Skip computing hyp VA layout for VHE
Computing the hyp VA layout is redundant when the kernel runs in EL2 and
hyp shares its VA mappings. Make calling kvm_compute_layout()
conditional on not just CONFIG_KVM but also !is_kernel_in_hyp_mode().
Signed-off-by: David Brazdil <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/arm64/kvm/va_layout.c')
0 files changed, 0 insertions, 0 deletions