diff options
author | Andrew Scull <ascull@google.com> | 2020-06-18 12:36:16 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-07-05 20:02:36 +0300 |
commit | 2da3ffa6e840b9f8fc65a71326c43b716992861d (patch) | |
tree | 9e35a912e493c569718036a2f8c763a876e32892 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | a47dee5513cd7b6d1e20dfecd458363f24a19cdc (diff) | |
download | linux-2da3ffa6e840b9f8fc65a71326c43b716992861d.tar.xz |
arm64: kvm: Remove kern_hyp_va from get_vcpu_ptr
get_vcpu_ptr is an assembly accessor for the percpu value
kvm_host_data->host_ctxt.__hyp_running_vcpu. kern_hyp_va only applies to
nVHE however __hyp_running_vcpu is always assigned a pointer that has
already had kern_hyp_va applied in __kvm_vcpu_run_nvhe.
kern_hyp_va is currently idempotent as it just masks and inserts the
tag, but this could change in future and the second application is
unnecessary.
Signed-off-by: Andrew Scull <ascull@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: James Morse <james.morse@arm.com>
Link: https://lore.kernel.org/r/20200618093616.164413-1-ascull@google.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions