diff options
author | Jarkko Sakkinen <jarkko@kernel.org> | 2020-11-13 00:01:22 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-11-18 18:01:16 +0100 |
commit | 3fe0778edac8628637e2fd23835996523b1a3372 (patch) | |
tree | f311d16306a3b385336cefd22643678084b3ee52 /arch/x86/kernel/cpu/sgx/Makefile | |
parent | 95bb7c42ac8a94ce3d0eb059ad64430390351ccb (diff) | |
download | linux-3fe0778edac8628637e2fd23835996523b1a3372.tar.gz |
x86/sgx: Add an SGX misc driver interface
Intel(R) SGX is a new hardware functionality that can be used by
applications to set aside private regions of code and data called
enclaves. New hardware protects enclave code and data from outside
access and modification.
Add a driver that presents a device file and ioctl API to build and
manage enclaves.
[ bp: Small touchups, remove unused encl variable in sgx_encl_find() as
Reported-by: kernel test robot <lkp@intel.com> ]
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Co-developed-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Tested-by: Jethro Beekman <jethro@fortanix.com>
Link: https://lkml.kernel.org/r/20201112220135.165028-12-jarkko@kernel.org
Diffstat (limited to 'arch/x86/kernel/cpu/sgx/Makefile')
-rw-r--r-- | arch/x86/kernel/cpu/sgx/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/sgx/Makefile b/arch/x86/kernel/cpu/sgx/Makefile index 79510ce01b3b..3fc451120735 100644 --- a/arch/x86/kernel/cpu/sgx/Makefile +++ b/arch/x86/kernel/cpu/sgx/Makefile @@ -1,2 +1,4 @@ obj-y += \ + driver.o \ + encl.o \ main.o |