diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2021-03-19 08:23:03 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-04-06 09:43:41 +0200 |
commit | 8ca52cc38dc8fdcbdbd0c23eafb19db5e5f5c8d0 (patch) | |
tree | e7cf15a948d3887436be1b74eb4c3a83bc1355fc /MAINTAINERS | |
parent | x86/sgx: Initialize virtual EPC driver even when SGX driver is disabled (diff) | |
download | linux-8ca52cc38dc8fdcbdbd0c23eafb19db5e5f5c8d0.tar.xz linux-8ca52cc38dc8fdcbdbd0c23eafb19db5e5f5c8d0.zip |
x86/sgx: Expose SGX architectural definitions to the kernel
Expose SGX architectural structures, as KVM will use many of the
architectural constants and structs to virtualize SGX.
Name the new header file as asm/sgx.h, rather than asm/sgx_arch.h, to
have single header to provide SGX facilities to share with other kernel
componments. Also update MAINTAINERS to include asm/sgx.h.
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Co-developed-by: Kai Huang <kai.huang@intel.com>
Signed-off-by: Kai Huang <kai.huang@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Jarkko Sakkinen <jarkko@kernel.org>
Acked-by: Dave Hansen <dave.hansen@intel.com>
Link: https://lkml.kernel.org/r/6bf47acd91ab4d709e66ad1692c7803e4c9063a0.1616136308.git.kai.huang@intel.com
Diffstat (limited to 'MAINTAINERS')
-rw-r--r-- | MAINTAINERS | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index aa84121c5611..0cb606aeba5e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9274,6 +9274,7 @@ Q: https://patchwork.kernel.org/project/intel-sgx/list/ T: git git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/sgx F: Documentation/x86/sgx.rst F: arch/x86/entry/vdso/vsgx.S +F: arch/x86/include/asm/sgx.h F: arch/x86/include/uapi/asm/sgx.h F: arch/x86/kernel/cpu/sgx/* F: tools/testing/selftests/sgx/* |