diff options
author | David Brazdil <dbrazdil@google.com> | 2021-01-05 21:05:40 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-01-23 17:01:00 +0300 |
commit | 537db4af26e3f2e0f304f2032bc593f7e2a54938 (patch) | |
tree | 82facfb765ffd3d94cecf0b8ca4cd30febebfa6e /arch/arm64/kernel | |
parent | 97cbd2fc0257c6af7036a9a6415ca8ad43535d6b (diff) | |
download | linux-537db4af26e3f2e0f304f2032bc593f7e2a54938.tar.xz |
KVM: arm64: Remove patching of fn pointers in hyp
Storing a function pointer in hyp now generates relocation information
used at early boot to convert the address to hyp VA. The existing
alternative-based conversion mechanism is therefore obsolete. Remove it
and simplify 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-8-dbrazdil@google.com
Diffstat (limited to 'arch/arm64/kernel')
-rw-r--r-- | arch/arm64/kernel/image-vars.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm64/kernel/image-vars.h b/arch/arm64/kernel/image-vars.h index f676243abac6..23f1a557bd9f 100644 --- a/arch/arm64/kernel/image-vars.h +++ b/arch/arm64/kernel/image-vars.h @@ -64,7 +64,6 @@ __efistub__ctype = _ctype; /* Alternative callbacks for init-time patching of nVHE hyp code. */ KVM_NVHE_ALIAS(kvm_patch_vector_branch); KVM_NVHE_ALIAS(kvm_update_va_mask); -KVM_NVHE_ALIAS(kvm_update_kimg_phys_offset); KVM_NVHE_ALIAS(kvm_get_kimage_voffset); /* Global kernel state accessed by nVHE hyp code. */ |