summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/cpu/sgx/encl.c
diff options
context:
space:
mode:
authorJarkko Sakkinen <jarkko@kernel.org>2020-11-13 01:01:31 +0300
committerBorislav Petkov <bp@suse.de>2020-11-18 20:04:05 +0300
commit2adcba79e69d4a4c0ac3bb86f466d8b5df301608 (patch)
tree5a13baecee77e726b3776a372e364415a90a3410 /arch/x86/kernel/cpu/sgx/encl.c
parent84664369520170f48546c55cbc1f3fbde9b1e140 (diff)
downloadlinux-2adcba79e69d4a4c0ac3bb86f466d8b5df301608.tar.xz
selftests/x86: Add a selftest for SGX
Add a selftest for SGX. It is a trivial test where a simple enclave copies one 64-bit word of memory between two memory locations, but ensures that all SGX hardware and software infrastructure is functioning. Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org> Signed-off-by: Borislav Petkov <bp@suse.de> Acked-by: Jethro Beekman <jethro@fortanix.com> Cc: linux-kselftest@vger.kernel.org Link: https://lkml.kernel.org/r/20201112220135.165028-21-jarkko@kernel.org
Diffstat (limited to 'arch/x86/kernel/cpu/sgx/encl.c')
0 files changed, 0 insertions, 0 deletions