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

Dave Hansen
2021-01-06T18:29:54Z

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