diff options
| author | Quentin Perret <qperret@google.com> | 2021-03-19 13:01:23 +0300 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2021-03-19 15:01:20 +0300 |
| commit | bc1d2892e9aa6dcf6cd83adbd3616051cbd4c429 (patch) | |
| tree | a14a48403337fa84c9d7991d9ff448cd72137559 /tools/perf/scripts/python/stackcollapse.py | |
| parent | d460df12926825a3926da91f054f9f11f88bb33e (diff) | |
| download | linux-bc1d2892e9aa6dcf6cd83adbd3616051cbd4c429.tar.xz | |
KVM: arm64: Factor out vector address calculation
In order to re-map the guest vectors at EL2 when pKVM is enabled,
refactor __kvm_vector_slot2idx() and kvm_init_vector_slot() to move all
the address calculation logic in a static inline function.
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-16-qperret@google.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
