Skip to content

x86/sgx: Remove unused definitions and reuse launch token size

Thorsten Blum linux-sgx lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v13 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- Adjust commit message 3/3 as suggested by Kai
- v1: https://lore.kernel.org/r/[email protected]/

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86/sgx: Remove unused TCS definitionsarch/x86/include/asm/sgx.h+0 -500 replies
2/3x86/sgx: Remove unused size and count definitionsarch/x86/include/asm/sgx.h+0 -90 replies
3/3x86/sgx: Use SGX_LAUNCH_TOKEN_SIZE in __sgx_virt_einit()arch/x86/kernel/cpu/sgx/virt.c+1 -20 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchKai HuangJarkko Sakkinen
1/3A-b R-b
2/3A-b R-b
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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().

Changes in v2:
- Adjust commit message 3/3 as suggested by Kai
- v1: https://lore.kernel.org/r/[email protected]/

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