Re: [RFC PATCH v4 04/26] x86/sgx: Add SGX_CHILD_PRESENT hardware error code

Dave Hansen
2021-02-09T16:26:19Z

On 2/8/21 2:54 AM, 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 paragraph broke my brain when I read it. How about:

Add a definition of SGX_CHILD_PRESENT. It will be used
exclusively by the SGX virtualization driver to suppress EREMOVE
warnings.