KVM: arm64: Remove vector_ptr param of hyp-init
KVM precomputes the hyp VA of __kvm_hyp_host_vector, essentially a constant (minus ASLR), before passing it to __kvm_hyp_init. Now that we have alternatives for converting kimg VA to hyp VA, replace this with computing the constant inside __kvm_hyp_init, thus removing the need for an argument. Signed-off-by:David Brazdil <dbrazdil@google.com> Signed-off-by:
Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20201202184122.26046-10-dbrazdil@google.com
Showing
- arch/arm64/include/asm/kvm_asm.h 0 additions, 2 deletionsarch/arm64/include/asm/kvm_asm.h
- arch/arm64/include/asm/kvm_mmu.h 24 additions, 0 deletionsarch/arm64/include/asm/kvm_mmu.h
- arch/arm64/kvm/arm.c 1 addition, 3 deletionsarch/arm64/kvm/arm.c
- arch/arm64/kvm/hyp/nvhe/hyp-init.S 6 additions, 3 deletionsarch/arm64/kvm/hyp/nvhe/hyp-init.S
Loading
Please register or sign in to comment