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:29 +0300
committerBorislav Petkov (AMD) <bp@alien8.de>2025-01-07 23:26:20 +0300
commit0a2a98f691f2c57db5bb321e68787cb1de29c7dd (patch)
treea02baa90e3deeecec269f96d2b925c0a8cf9203c /tools/perf/scripts/python/task-analyzer.py
parenteef679a4b52e35be3b4a982a7f42bcc16054ec62 (diff)
downloadlinux-0a2a98f691f2c57db5bb321e68787cb1de29c7dd.tar.xz
x86/sev: Mark the TSC in a secure TSC guest as reliable
In SNP guest environment with Secure TSC enabled, unlike other clock sources (such as HPET, ACPI timer, APIC, etc), the RDTSC instruction is handled without causing a VM exit, resulting in minimal overhead and jitters. Even when the host CPU's TSC is tampered with, the Secure TSC enabled guest keeps on ticking forward. Hence, mark Secure TSC as the only reliable clock source, bypassing unstable calibration. [ bp: Massage. ] Signed-off-by: Nikunj A Dadhania <nikunj@amd.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com> Tested-by: Peter Gonda <pgonda@google.com> Link: https://lore.kernel.org/r/20250106124633.1418972-10-nikunj@amd.com
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions