mbox series

[v5,0/3] Some optimizations related to sgx

Message ID 20210216033133.79543-1-tianjia.zhang@linux.alibaba.com
Headers show
Series Some optimizations related to sgx | expand

Message

tianjia.zhang Feb. 16, 2021, 3:31 a.m. UTC
This is an optimization of a set of sgx-related codes, each of which
is independent of the patch. Because the second and third patches have
conflicting dependencies, these patches are put together.

---
v5 changes:
  * Remove the two patches with no actual value
  * Typo fix in commit message

v4 changes:
  * Improvements suggested by review

v3 changes:
  * split free_cnt count and spin lock optimization into two patches

v2 changes:
  * review suggested changes

Tianjia Zhang (3):
  selftests/x86: Use getauxval() to simplify the code in sgx
  x86/sgx: Allows ioctl PROVISION to execute before CREATE
  x86/sgx: Remove redundant if conditions in sgx_encl_create

 arch/x86/kernel/cpu/sgx/driver.c   |  1 +
 arch/x86/kernel/cpu/sgx/ioctl.c    |  8 ++++----
 tools/testing/selftests/sgx/main.c | 24 ++++--------------------
 3 files changed, 9 insertions(+), 24 deletions(-)