diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2016-03-18 17:25:59 +0000 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2016-03-21 10:47:18 +0100 |
commit | 2510ffe17f9707eb96cf286cf5d11ad372ff679f (patch) | |
tree | 5ba99f0b77f0f046927e685733e758c51a827ec4 /arch/arm64/kvm/hyp | |
parent | 898f949fb7bc1210b79f06a04d1956d106a32633 (diff) | |
download | linux-2510ffe17f9707eb96cf286cf5d11ad372ff679f.tar.bz2 |
arm64: KVM: Turn kvm_ksym_ref into a NOP on VHE
When running with VHE, there is no need to translate kernel pointers
to the EL2 memory space, since we're already there (and we have a much
saner memory map to start with).
Unfortunately, kvm_ksym_ref is getting in the way, and the first
call into the "hypervisor" section is going to end up in fireworks,
since we're now branching into nowhereland. Meh.
A potential solution is to test if VHE is engaged or not, and only
perform the translation in the negative case. With this in place,
VHE is able to run again.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'arch/arm64/kvm/hyp')
0 files changed, 0 insertions, 0 deletions