Re: [PATCH v25 00/21] Intel SGX foundations

From: Jarkko Sakkinen
Date: Wed Feb 05 2020 - 16:59:18 EST


On Tue, Feb 04, 2020 at 07:11:43AM -0800, Sean Christopherson wrote:
> On Tue, Feb 04, 2020 at 08:05:24AM +0200, Jarkko Sakkinen wrote:
> > .../userspace-api/ioctl/ioctl-number.rst | 1 +
> > Documentation/x86/index.rst | 1 +
> > Documentation/x86/sgx.rst | 177 ++++
> > arch/x86/Kconfig | 14 +
> > arch/x86/entry/vdso/Makefile | 8 +-
> > arch/x86/entry/vdso/extable.c | 46 +
> > arch/x86/entry/vdso/extable.h | 29 +
> > arch/x86/entry/vdso/vdso-layout.lds.S | 9 +-
> > arch/x86/entry/vdso/vdso.lds.S | 1 +
> > arch/x86/entry/vdso/vdso2c.h | 58 +-
> > arch/x86/entry/vdso/vsgx_enter_enclave.S | 187 ++++
> > arch/x86/include/asm/cpufeature.h | 5 +-
> > arch/x86/include/asm/cpufeatures.h | 8 +-
> > arch/x86/include/asm/disabled-features.h | 18 +-
> > arch/x86/include/asm/msr-index.h | 8 +
> > arch/x86/include/asm/required-features.h | 2 +-
> > arch/x86/include/asm/traps.h | 1 +
> > arch/x86/include/asm/vdso.h | 5 +
> > arch/x86/include/uapi/asm/sgx.h | 114 +++
> > arch/x86/kernel/cpu/Makefile | 1 +
> > arch/x86/kernel/cpu/common.c | 4 +
> > arch/x86/kernel/cpu/feat_ctl.c | 29 +-
> > arch/x86/kernel/cpu/sgx/Makefile | 6 +
> > arch/x86/kernel/cpu/sgx/arch.h | 395 +++++++++
> > arch/x86/kernel/cpu/sgx/driver.c | 209 +++++
> > arch/x86/kernel/cpu/sgx/driver.h | 32 +
> > arch/x86/kernel/cpu/sgx/encl.c | 750 ++++++++++++++++
> > arch/x86/kernel/cpu/sgx/encl.h | 127 +++
> > arch/x86/kernel/cpu/sgx/encls.h | 239 ++++++
> > arch/x86/kernel/cpu/sgx/ioctl.c | 810 ++++++++++++++++++
> > arch/x86/kernel/cpu/sgx/main.c | 280 ++++++
> > arch/x86/kernel/cpu/sgx/reclaim.c | 463 ++++++++++
> > arch/x86/kernel/cpu/sgx/sgx.h | 108 +++
> > arch/x86/kernel/traps.c | 14 +
> > arch/x86/mm/fault.c | 45 +-
> > include/linux/mm.h | 2 +
> > mm/mprotect.c | 14 +-
> > tools/arch/x86/include/asm/cpufeatures.h | 7 +-
> > tools/testing/selftests/x86/Makefile | 44 +
> > tools/testing/selftests/x86/sgx/.gitignore | 3 +
> > tools/testing/selftests/x86/sgx/Makefile | 48 ++
> > tools/testing/selftests/x86/sgx/defines.h | 17 +
> > tools/testing/selftests/x86/sgx/encl.c | 20 +
> > tools/testing/selftests/x86/sgx/encl.lds | 34 +
> > .../selftests/x86/sgx/encl_bootstrap.S | 94 ++
> > tools/testing/selftests/x86/sgx/main.c | 379 ++++++++
> > tools/testing/selftests/x86/sgx/sgx_call.S | 66 ++
> > tools/testing/selftests/x86/sgx/sgx_call.h | 14 +
> > tools/testing/selftests/x86/sgx/sgxsign.c | 493 +++++++++++
> > .../testing/selftests/x86/sgx/signing_key.pem | 39 +
> > 50 files changed, 5447 insertions(+), 31 deletions(-)
>
> Missing the MAINTAINERS update.

That was not intended.

/Jarkko