Skip to contentSkip to conversation

x86/sgx for 6.19-rc1

GIT PULL Merged Dave Hansen 2 participants 2 messages Dec 1, 2025 – Dec 2, 2025

lore
Share & tools
lore
#0 lore raw

Hi Linus,

Please pull some x86/sgx changes for 6.19-rc1. The main content here is adding support for the new EUPDATESVN SGX ISA. Before this, folks who updated microcode had to reboot before enclaves could attest to the new microcode. The new functionality lets them do this without a reboot.

The rest are some nice, but relatively mundane comment and kernel-doc fixups.

--

The following changes since commit 3a8660878839faadb4f1a6dd72c3179c1df56787:

Linux 6.18-rc1 (2025-10-12 13:42:36 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_sgx_for_6.19-rc1

for you to fetch changes up to f2f22721aca46cebb63c589eefda843721908833:

x86/sgx: Fix a typo in the kernel-doc comment for enum sgx_attribute (2025-11-14 15:30:32 -0800)

----------------------------------------------------------------
* Allow security version (SVN) updates so enclaves can attest to new microcode.
* Fix kernel docs typos

----------------------------------------------------------------
Elena Reshetova (5):
x86/sgx: Introduce functions to count the sgx_(vepc_)open() x86/cpufeatures: Add X86_FEATURE_SGX_EUPDATESVN feature flag x86/sgx: Define error codes for use by ENCLS[EUPDATESVN] x86/sgx: Implement ENCLS[EUPDATESVN]
x86/sgx: Enable automatic SVN updates for SGX enclaves

Sean Christopherson (5):
x86/sgx: Add a missing colon in kernel-doc markup for "struct sgx_enclave_run" x86/sgx: Add kernel-doc descriptions for params passed to vDSO user handler x86/sgx: Document structs and enums with '@', not '%'
x86/sgx: Remove superfluous asterisk from copyright comment in asm/sgx.h x86/sgx: Fix a typo in the kernel-doc comment for enum sgx_attribute

 arch/x86/include/asm/cpufeatures.h |   1 +
 arch/x86/include/asm/sgx.h         |  97 ++++++++++++++++++-----------------
 arch/x86/include/uapi/asm/sgx.h    |  10 +++-
 arch/x86/kernel/cpu/cpuid-deps.c   |   1 +
 arch/x86/kernel/cpu/scattered.c    |   1 +
 arch/x86/kernel/cpu/sgx/driver.c   |  19 ++++++-
 arch/x86/kernel/cpu/sgx/encl.c     |   1 +
 arch/x86/kernel/cpu/sgx/encls.h    |   5 ++
 arch/x86/kernel/cpu/sgx/main.c     | 101 +++++++++++++++++++++++++++++++++++++
 arch/x86/kernel/cpu/sgx/sgx.h      |   3 ++
 arch/x86/kernel/cpu/sgx/virt.c     |  20 +++++++-
 11 files changed, 210 insertions(+), 49 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Mon, 1 Dec 2025 14:47:01 -0800:

The pull request you sent on Mon, 1 Dec 2025 14:47:01 -0800:

Quoted 1 line

https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_sgx_for_6.19-rc1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/54de197c9a5e8f522cb0a472e68e3e9888c91aa3

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html