Re: [PATCH v2 08/25] x86/sgx: Expose SGX architectural definitions to the kernel

2021-03-14 Thread Kai Huang
On Fri, 12 Mar 2021 13:58:40 -0800 Sean Christopherson wrote: > On Tue, Mar 09, 2021, Kai Huang wrote: > > From: Sean Christopherson > > > > Expose SGX architectural structures, as KVM will use many of the > > architectural constants and structs to virtualize SGX. > > > > Name the new header

Re: [PATCH v2 08/25] x86/sgx: Expose SGX architectural definitions to the kernel

2021-03-12 Thread Sean Christopherson
On Tue, Mar 09, 2021, Kai Huang wrote: > From: Sean Christopherson > > 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

[PATCH v2 08/25] x86/sgx: Expose SGX architectural definitions to the kernel

2021-03-08 Thread Kai Huang
From: Sean Christopherson 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