Re: [PATCH v41 06/24] x86/mm: x86/sgx: Signal SIGSEGV with PF_SGX

2020-11-17 Thread Jarkko Sakkinen
On Sat, Nov 14, 2020 at 05:07:08PM +0800, Hillf Danton wrote: > On Fri, 13 Nov 2020 00:01:17 +0200 > > > > From: Sean Christopherson > > > > The x86 architecture has a set of page fault error codes. These indicate > > things like whether the fault occurred from a write, or whether it > > origi

[PATCH v41 06/24] x86/mm: x86/sgx: Signal SIGSEGV with PF_SGX

2020-11-12 Thread Jarkko Sakkinen
From: Sean Christopherson The x86 architecture has a set of page fault error codes. These indicate things like whether the fault occurred from a write, or whether it originated in userspace. The SGX hardware architecture has its own per-page memory management metadata (EPCM) [*] and hardware wh