linux-sgx.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/3] Some optimizations related to sgx
@ 2021-02-16  3:31 Tianjia Zhang
  2021-02-16  3:31 ` [PATCH v5 1/3] selftests/x86: Use getauxval() to simplify the code in sgx Tianjia Zhang
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Tianjia Zhang @ 2021-02-16  3:31 UTC (permalink / raw)
  To: Jarkko Sakkinen, Thomas Gleixner, Ingo Molnar, Borislav Petkov,
	H. Peter Anvin, Sean Christopherson, Shuah Khan, x86, linux-sgx,
	linux-kselftest, linux-kernel, Jia Zhang
  Cc: Tianjia Zhang

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

-- 
2.19.1.3.ge56e4f7


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-02-24  9:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-16  3:31 [PATCH v5 0/3] Some optimizations related to sgx Tianjia Zhang
2021-02-16  3:31 ` [PATCH v5 1/3] selftests/x86: Use getauxval() to simplify the code in sgx Tianjia Zhang
2021-02-16  3:31 ` [PATCH v5 2/3] x86/sgx: Allows ioctl PROVISION to execute before CREATE Tianjia Zhang
2021-02-16  3:31 ` [PATCH v5 3/3] x86/sgx: Remove redundant if conditions in sgx_encl_create Tianjia Zhang
2021-02-16  8:29   ` Jarkko Sakkinen
2021-02-24  9:31     ` Tianjia Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).