diff options
author | 2023-02-11 19:07:42 +0000 | |
---|---|---|
committer | 2023-02-11 22:10:34 +0000 | |
commit | 3fb901cdc9e4ab01aa32abe93004f94cdfe75648 (patch) | |
tree | a1c75815eaec4968c49f5b4b9673728c9af2c483 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: arm64: nv: Only toggle cache for virtual EL2 when SCTLR_EL2 changes (diff) | |
download | wireguard-linux-3fb901cdc9e4ab01aa32abe93004f94cdfe75648.tar.xz wireguard-linux-3fb901cdc9e4ab01aa32abe93004f94cdfe75648.zip |
KVM: arm64: nv: Use reg_to_encoding() to get sysreg ID
Avoid open-coding and just use the helper to encode the ID from the
sysreg table entry.
No functional change intended.
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230211190742.49843-1-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions