diff options
| author | Quentin Perret <qperret@google.com> | 2021-03-19 13:01:16 +0300 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2021-03-19 15:01:20 +0300 |
| commit | 40a50853d37af3fd2e98b769e1a79839ad16b107 (patch) | |
| tree | cdf056487f76a648d5663475a3f00be99bdbcf4e /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 380e18ade4a51334e8806160e6f0fdfaca0b4428 (diff) | |
| download | linux-40a50853d37af3fd2e98b769e1a79839ad16b107.tar.xz | |
KVM: arm64: Make kvm_call_hyp() a function call at Hyp
kvm_call_hyp() has some logic to issue a function call or a hypercall
depending on the EL at which the kernel is running. However, all the
code compiled under __KVM_NVHE_HYPERVISOR__ is guaranteed to only run
at EL2 which allows us to simplify.
Add ifdefery to kvm_host.h to simplify kvm_call_hyp() in .hyp.text.
Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Quentin Perret <qperret@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210319100146.1149909-9-qperret@google.com
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
