]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Remove hyp_symbol_addr
authorDavid Brazdil <dbrazdil@google.com>
Tue, 5 Jan 2021 18:05:41 +0000 (18:05 +0000)
committerMarc Zyngier <maz@kernel.org>
Sat, 23 Jan 2021 14:01:00 +0000 (14:01 +0000)
commit3264c61b5181a3f06b3826509da3f30edb77deb0
tree8ad07b0f09b6056005df9a3cd611a480c0270c40
parent1cdda1f021cd3c951fa18364933236fcd957484b
KVM: arm64: Remove hyp_symbol_addr

Hyp code used the hyp_symbol_addr helper to force PC-relative addressing
because absolute addressing results in kernel VAs due to the way hyp
code is linked. This is not true anymore, so remove the helper and
update all of its users.

Acked-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: David Brazdil <dbrazdil@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210105180541.65031-9-dbrazdil@google.com
arch/arm64/include/asm/kvm_asm.h
arch/arm64/kvm/hyp/include/hyp/switch.h
arch/arm64/kvm/hyp/nvhe/hyp-smp.c
arch/arm64/kvm/hyp/nvhe/psci-relay.c
arch/arm64/kvm/hyp/vgic-v2-cpuif-proxy.c