diff options
author | Nikunj A Dadhania <nikunj@amd.com> | 2025-01-06 15:46:28 +0300 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2025-01-07 23:26:20 +0300 |
commit | eef679a4b52e35be3b4a982a7f42bcc16054ec62 (patch) | |
tree | 82aae4a35f53c7ba6712c19d8c11cf5e500042cb /tools/perf/scripts/python/task-analyzer.py | |
parent | 38cc6495cdec18a448b9e1de45fedce4118833a2 (diff) | |
download | linux-eef679a4b52e35be3b4a982a7f42bcc16054ec62.tar.xz |
x86/sev: Prevent RDTSC/RDTSCP interception for Secure TSC enabled guests
The hypervisor should not be intercepting RDTSC/RDTSCP when Secure TSC is
enabled. A #VC exception will be generated if the RDTSC/RDTSCP instructions
are being intercepted. If this should occur and Secure TSC is enabled,
guest execution should be terminated as the guest cannot rely on the TSC
value provided by the hypervisor.
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-9-nikunj@amd.com
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions