Re: [PATCH v11 4/5] x86/sgx: Implement ENCLS[EUPDATESVN]

From: Dave Hansen
Date: Fri Aug 08 2025 - 12:44:58 EST


On 8/8/25 03:59, Reshetova, Elena wrote:
>> I am not sure whether this is needed. Wouldn't the ENCLS_WARN() at the
>> end catch this case and the user is able to figure out what went wrong
>> from the error code?
> Dave has made a suggestion to include this check, so I have added it.

If it's important enough to write a comment for it, it's important
enough to write a line of code for it.