commit | 3c5e81232ea489845359f7a03a4fb52b29072db8 | [log] [tgz] |
---|---|---|
author | Marc Zyngier <marc.zyngier@arm.com> | Mon Feb 12 16:50:19 2018 +0000 |
committer | Marc Zyngier <marc.zyngier@arm.com> | Mon Mar 19 13:05:37 2018 +0000 |
tree | dc2731c2e91fcf23933927efee06e1eea8189751 | |
parent | 6bb934af1f737eba51e2f3f73760715788a7e283 [diff] |
arm64: KVM: Move vector offsetting from hyp-init.S to kvm_get_hyp_vector We currently provide the hyp-init code with a kernel VA, and expect it to turn it into a HYP va by itself. As we're about to provide the hypervisor with mappings that are not necessarily in the memory range, let's move the kern_hyp_va macro to kvm_get_hyp_vector. No functionnal change. Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>