diff options
| author | Christoffer Dall <christoffer.dall@linaro.org> | 2017-08-04 08:50:25 +0200 |
|---|---|---|
| committer | Marc Zyngier <marc.zyngier@arm.com> | 2018-03-19 10:53:19 +0000 |
| commit | d5a21bcc29955c7df3fbd881b4c4229090331a5d (patch) | |
| tree | ab02bfb451f4b04e74de22949effe9725acff6f4 /tools/perf/scripts/python | |
| parent | KVM: arm64: Defer saving/restoring 32-bit sysregs to vcpu load/put (diff) | |
| download | linux-d5a21bcc29955c7df3fbd881b4c4229090331a5d.tar.gz linux-d5a21bcc29955c7df3fbd881b4c4229090331a5d.zip | |
KVM: arm64: Move common VHE/non-VHE trap config in separate functions
As we are about to be more lazy with some of the trap configuration
register read/writes for VHE systems, move the logic that is currently
shared between VHE and non-VHE into a separate function which can be
called from either the world-switch path or from vcpu_load/vcpu_put.
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
