summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorNikunj A Dadhania <nikunj@amd.com>2025-01-06 15:46:30 +0300
committerBorislav Petkov (AMD) <bp@alien8.de>2025-01-08 23:26:19 +0300
commit73bbf3b0fbba9aa27fef07a1fbd837661a863f03 (patch)
tree5aed0ee86cb776b621cf53b4c98239f2997a1080 /tools/perf/scripts/python/task-analyzer.py
parent0a2a98f691f2c57db5bb321e68787cb1de29c7dd (diff)
downloadlinux-73bbf3b0fbba9aa27fef07a1fbd837661a863f03.tar.xz
x86/tsc: Init the TSC for Secure TSC guests
Use the GUEST_TSC_FREQ MSR to discover the TSC frequency instead of relying on kvm-clock based frequency calibration. Override both CPU and TSC frequency calibration callbacks with securetsc_get_tsc_khz(). Since the difference between CPU base and TSC frequency does not apply in this case, the same callback is being used. [ bp: Carve out from https://lore.kernel.org/r/20250106124633.1418972-11-nikunj@amd.com ] Signed-off-by: Nikunj A Dadhania <nikunj@amd.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20250106124633.1418972-11-nikunj@amd.com
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions