diff options
author | 2019-01-05 15:57:56 +0000 | |
---|---|---|
committer | 2019-02-19 21:05:24 +0000 | |
commit | 18fc7bf8e041272f74a3237b99261d59c3ff0388 (patch) | |
tree | 687de6d22df447a6495f6f201e8979b0d6209e50 /arch/arm64/kvm | |
parent | arm/arm64: KVM: Introduce kvm_call_hyp_ret() (diff) | |
download | linux-dev-18fc7bf8e041272f74a3237b99261d59c3ff0388.tar.xz linux-dev-18fc7bf8e041272f74a3237b99261d59c3ff0388.zip |
arm64: KVM: Allow for direct call of HYP functions when using VHE
When running VHE, there is no need to jump via some stub to perform
a "HYP" function call, as there is a single address space.
Let's thus change kvm_call_hyp() and co to perform a direct call
in this case. Although this results in a bit of code expansion,
it allows the compiler to check for type compatibility, something
that we are missing so far.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Christoffer Dall <christoffer.dall@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@arm.com>
Diffstat (limited to 'arch/arm64/kvm')
0 files changed, 0 insertions, 0 deletions