[PATCH 0/3] x86/sgx: Remove unused definitions and reuse launch token size

From: Thorsten Blum

Date: Sat Jul 11 2026 - 06:02:20 EST


Remove SGX definitions that have never had in-tree users and reuse
SGX_LAUNCH_TOKEN_SIZE when validating the launch token in
__sgx_virt_einit().

Thorsten Blum (3):
x86/sgx: Remove unused TCS definitions
x86/sgx: Remove unused size and count definitions
x86/sgx: Use SGX_LAUNCH_TOKEN_SIZE in __sgx_virt_einit()

arch/x86/include/asm/sgx.h | 59 ----------------------------------
arch/x86/kernel/cpu/sgx/virt.c | 3 +-
2 files changed, 1 insertion(+), 61 deletions(-)


base-commit: 2d3090a8aeb596a26935db0955d46c9a5db5c6ce