Intel SGX2 Support Poised To Land In Linux 5.20

Written by Michael Larabel in Intel on 8 July 2022 at 05:34 AM EDT. Add A Comment
INTEL
With the upcoming feature-packed Linux 5.20 kernel adding to the growing list of features is Intel SGX2 support looking like it is set to land.

Back in 2020 Intel SGX support was finally mainlined in the Linux kernel. Intel Software Guard Extensions (SGX) is a CPU security feature for private memory regions "enclaves" that are inaccessible from the outside. SGX enclaves are encrypted and this functionality has been around since Skylake.

While Intel deprecated SGX in 11th and 12th Gen Core processors, Intel has been still working on this security feature for cloud and server use-cases. With Intel Ice Lake and Gemini Lake processors there is SGX2 as a set of improvements to SGX enclaves to allow more dynamic control over them.


At the end of last year Intel published SGX2 Linux patches. After a few months and rounds of review, those SGX2 kernel patches look like they will be merged for Linux 5.20.


As of yesterday they were picked up in TIP's x86/sgx branch. In now making it to a TIP branch, it's very likely the code will be submitted for the Linux 5.20 merge window coming up in a few short weeks. SGX2 introduces new instructions and the ability to support dynamic modifications to the initialized security enclaves. SGX2 in some documentation is also called the Enclave Dynamic Memory Management (EDMM).
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com 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 OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week