commit | cedbb8b78c4f09f0d4519d5d35519b64487f1f0a | [log] [tgz] |
---|---|---|
author | Marc Zyngier <marc.zyngier@arm.com> | Thu Jan 29 13:50:34 2015 +0000 |
committer | Marc Zyngier <marc.zyngier@arm.com> | Mon Feb 29 18:34:16 2016 +0000 |
tree | 62654ba40eab752b351f41a4268dae5fe2b0d75a | |
parent | b81125c791a2958cc60ae968fc1cdea82b7cd3b0 [diff] |
arm64: KVM: VHE: Patch out kern_hyp_va The kern_hyp_va macro is pretty meaninless with VHE, as there is only one mapping - the kernel one. In order to keep the code readable and efficient, use runtime patching to replace the 'and' instruction used to compute the VA with a 'nop'. Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>