summaryrefslogtreecommitdiff
path: root/Documentation/x86
diff options
context:
space:
mode:
authorReinette Chatre <reinette.chatre@intel.com>2021-11-15 21:35:26 +0300
committerDave Hansen <dave.hansen@linux.intel.com>2021-11-15 22:34:16 +0300
commit688542e29fae655a8be25832f6a9959bdd308dd8 (patch)
treeec600b5f486bac0ae297a0d2787657f34c2e668c /Documentation/x86
parent26e688f1263a3c226f3bb5e3441c310ae11e8001 (diff)
downloadlinux-688542e29fae655a8be25832f6a9959bdd308dd8.tar.xz
selftests/sgx: Add test for multiple TCS entry
Each thread executing in an enclave is associated with a Thread Control Structure (TCS). The SGX test enclave contains two hardcoded TCS, thus supporting two threads in the enclave. Add a test to ensure it is possible to enter enclave at both entrypoints. Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org> Acked-by: Dave Hansen <dave.hansen@linux.intel.com> Link: https://lkml.kernel.org/r/7be151a57b4c7959a2364753b995e0006efa3da1.1636997631.git.reinette.chatre@intel.com
Diffstat (limited to 'Documentation/x86')
0 files changed, 0 insertions, 0 deletions