aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorSebastian Ott <[email protected]>2024-06-19 17:40:33 +0000
committerOliver Upton <[email protected]>2024-06-20 17:16:44 +0000
commit2843cae26644fbc922e93c7c4c279f70fb3275f1 (patch)
tree8cdf0e2cbcfdcd0cda255ed25df5838b8783dced /tools/perf/util/trace-event-scripting.c
parentf1ff3fc5209a1d63a4018bdb4231fbb073063c9a (diff)
KVM: arm64: Treat CTR_EL0 as a VM feature ID register
CTR_EL0 is currently handled as an invariant register, thus guests will be presented with the host value of that register. Add emulation for CTR_EL0 based on a per VM value. Userspace can switch off DIC and IDC bits and reduce DminLine and IminLine sizes. Naturally, ensure CTR_EL0 is trapped (HCR_EL2.TID2=1) any time that a VM's CTR_EL0 differs from hardware. Signed-off-by: Sebastian Ott <[email protected]> Reviewed-by: Shaoqin Huang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Oliver Upton <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions