summaryrefslogtreecommitdiff
path: root/arch/arm64/kernel/smp.c
diff options
context:
space:
mode:
authorDavid Brazdil <dbrazdil@google.com>2020-12-08 14:24:48 +0000
committerMarc Zyngier <maz@kernel.org>2020-12-22 10:48:50 +0000
commit7a96a0687b80a1870c689418d7b72012c8bdd53d (patch)
treea342dae9f239d8e1908e06168272d154169fbd33 /arch/arm64/kernel/smp.c
parentff367fe473a9857160c17827931375a899076394 (diff)
KVM: arm64: Use lm_alias in nVHE-only VA conversion
init_hyp_physvirt_offset() computes PA from a kernel VA. Conversion to kernel linear-map is required first but the code used kvm_ksym_ref() for this purpose. Under VHE that is a NOP and resulted in a runtime warning. Replace kvm_ksym_ref with lm_alias. Reported-by: Qian Cai <qcai@redhat.com> Signed-off-by: David Brazdil <dbrazdil@google.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20201208142452.87237-3-dbrazdil@google.com
Diffstat (limited to 'arch/arm64/kernel/smp.c')
0 files changed, 0 insertions, 0 deletions