Intel SGX Enclave Support Sent Out For Linux A 38th Time
It's still not clear when Intel SGX support will be accepted for the mainline Linux kernel.
For years now Intel Linux developers have been working on getting their Software Guard Extensions (SGX) support and new SGX Enclave driver upstreamed into the kernel. SGX has been around since Skylake but security concerns and other technical reasons have held up this "SGX Foundations" support from being mainlined. There has also been an apparent lack of enthusiasm by non-Intel upstream kernel developers in SGX. This past week saw the 38th revision to the patches in their quest to upstreaming this support for handling the Memory Encryption Engine (MEE) and relates SGX infrastructure.
This 38th spin to the patches fixes two issues and also incorporates v37 patches that didn't get successfully sent out in full. That prior revision has many more fixes to the SGX kernel code.
The Intel SGX foundations v38 code can be found via the kernel mailing list. The Linux 5.10 merge window is opening up next month but remains to be seen if it will be queued for this next cycle or further dragged out into 2021. For those interested in SGX enclaves support on Linux, Intel for the time being does maintain intel/linux-sgx via GitHub for the patched kernel.