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

Kai Huang
2021-01-06T21:41:11Z

On Wed, 6 Jan 2021 10:28:55 -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

Sure. I'll do that.