]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86/cpufeatures: Add SNP Secure TSC
authorNikunj A Dadhania <nikunj@amd.com>
Tue, 19 Aug 2025 23:48:28 +0000 (16:48 -0700)
committerSean Christopherson <seanjc@google.com>
Thu, 21 Aug 2025 15:44:49 +0000 (08:44 -0700)
commit7b59c73fd611eae87e60e8bb0ab83a1475d8a3a7
treebbe02e52fd4f72d7bf3332d359ad4f79ad291744
parent00f0b959ffb094ea677ca24a0bd14d300a3013a0
x86/cpufeatures: Add SNP Secure TSC

The Secure TSC feature for SEV-SNP allows guests to securely use the RDTSC
and RDTSCP instructions, ensuring that the parameters used cannot be
altered by the hypervisor once the guest is launched. For more details,
refer to the AMD64 APM Vol 2, Section "Secure TSC".

Acked-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Tested-by: Vaishali Thakkar <vaishali.thakkar@suse.com>
Signed-off-by: Nikunj A Dadhania <nikunj@amd.com>
Link: https://lore.kernel.org/r/20250819234833.3080255-4-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/include/asm/cpufeatures.h