]> 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)
commitb294b800353e0b9e9c8d1a10ff941ab4f2b608fb
tree8ad07b0f09b6056005df9a3cd611a480c0270c40
parent7f350731ed5a0c84b0c1ef4b29b2d1ad6e56e331
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