]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
KVM: arm64: Remove patching of fn pointers in hyp
authorDavid Brazdil <dbrazdil@google.com>
Tue, 5 Jan 2021 18:05:40 +0000 (18:05 +0000)
committerMarc Zyngier <maz@kernel.org>
Sat, 23 Jan 2021 14:01:00 +0000 (14:01 +0000)
commit537db4af26e3f2e0f304f2032bc593f7e2a54938
tree82facfb765ffd3d94cecf0b8ca4cd30febebfa6e
parent97cbd2fc0257c6af7036a9a6415ca8ad43535d6b
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
arch/arm64/include/asm/kvm_mmu.h
arch/arm64/kernel/image-vars.h
arch/arm64/kvm/hyp/nvhe/hyp-main.c
arch/arm64/kvm/va_layout.c