x86/sgx: Expose SGX architectural definitions to the kernel
mainline inclusion from mainline-v5.13-rc1 commit 8ca52cc3 category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I4SIGI CVE: NA -------------------------------- 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. Intel-SIG: commit 8ca52cc3 x86/sgx: Expose SGX architectural definitions to the kernel Backport for SGX Foundations support 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 Signed-off-by: Fan Du <fan.du@intel.com> #openEuler_contributor Signed-off-by:
Laibin Qiu <qiulaibin@huawei.com> Reviewed-by:
Bamvor Zhang <bamvor.zhang@suse.com> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com>
Loading
Please sign in to comment