[PATCH V4 00/31] x86/sgx and selftests/sgx: Support SGX2