New AMD Linux Patches Prepare Secure TSC Support For SEV-SNP Guests

Written by Michael Larabel in AMD on 31 January 2023 at 06:20 AM EST. Add A Comment
A new patch series published this week by AMD engineers is preparing Linux kernel support for Secure TSC, a feature found with SEV-SNP enabled processors since the EPYC 7003 "Milan" series.

Secure TSC is for allowing SEV-SNP-protected virtual machines / guests to securely use the RDTSC and RDTSCP instructions. During boot of the VMs, the Secure TSC active guests query the timestamp counter information from the AMD PSP security processor in an encrypted manner.

The RDTSC/RDTSCP instructions for interfacing with the CPU time stamp counter have been used in exploiting side-channel attacks like Meltdown and Spectre for accurate instruction timing. So AMD Secure TSC for securely using these instructions from SEV-SNP protected guests is another added layer of security.

Secure TSC

AMD Secure TSC was already publicly documented and appears to be supported with all SEV-SNP processors, which is EPYC 7003 "Milan" and newer, while only yesterday were the Linux kernel patches posted for upstream review on enabling this Secure TSC support for SEV-SNP guests.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via

Popular News This Week