diff options
author | Fuad Tabba <tabba@google.com> | 2025-03-14 14:18:29 +0300 |
---|---|---|
committer | Oliver Upton <oliver.upton@linux.dev> | 2025-03-15 02:00:49 +0300 |
commit | 44f979bf434e9ba1f9040700138825e1ecb69d25 (patch) | |
tree | 0343f76b707098a2d126f918386647508e8525f6 /tools/perf/scripts/python/intel-pt-events.py | |
parent | 79ea66231599c18e3b01852e28ecc2dc84d7326c (diff) | |
download | linux-44f979bf434e9ba1f9040700138825e1ecb69d25.tar.xz |
KVM: arm64: Factor out setting HCRX_EL2 traps into separate function
Factor out the code for setting a vcpu's HCRX_EL2 traps in to a
separate inline function. This allows us to share the logic with
pKVM when setting the traps in protected mode.
No functional change intended.
Reviewed-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Fuad Tabba <tabba@google.com>
Link: https://lore.kernel.org/r/20250314111832.4137161-2-tabba@google.com
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions