diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2019-01-05 18:57:56 +0300 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2019-02-20 00:05:24 +0300 |
commit | 18fc7bf8e041272f74a3237b99261d59c3ff0388 (patch) | |
tree | 687de6d22df447a6495f6f201e8979b0d6209e50 /arch/arm64/kvm/hyp/hyp-entry.S | |
parent | 7aa8d14641651a61a0b8892314a0bcfaceebe158 (diff) | |
download | linux-18fc7bf8e041272f74a3237b99261d59c3ff0388.tar.xz |
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/hyp/hyp-entry.S')
0 files changed, 0 insertions, 0 deletions