Re: [RFC PATCH 02/23] x86/sgx: Add enum for SGX_CHILD_PRESENT error code

Jarkko Sakkinen
2021-01-12T00:27:50Z

On Wed, Jan 06, 2021 at 10:28:55AM -0800, Dave Hansen wrote:
> On 1/5/21 5:55 PM, Kai Huang wrote:
> > Add SGX_CHILD_PRESENT for use by SGX virtualization to assert EREMOVE
> > failures are expected, but only due to SGX_CHILD_PRESENT.
>
> This dances around the fact that this is an architectural error-code.
> Could that be explicit? Maybe the subject should be:
>
> Add SGX_CHILD_PRESENT hardware error code

Yeah, a valid point. Please, change this.

/Jarkko