> -----Original Message-----
> From: Huang, Kai <[email protected]>
> Sent: Thursday, August 7, 2025 2:50 AM
> To: Reshetova, Elena <[email protected]>; Hansen, Dave
> <[email protected]>
> Cc: [email protected]; [email protected]; Scarlata, Vincent R
> <[email protected]>; [email protected]; [email protected];
> Annapurve, Vishal <[email protected]>; [email protected];
> Mallick, Asit K <[email protected]>; Aktas, Erdem
> <[email protected]>; Cai, Chong <[email protected]>; Bondarevska,
> Nataliia <[email protected]>; [email protected]; Raynor, Scott
> <[email protected]>
> Subject: Re: [PATCH v11 3/5] x86/sgx: Define error codes for use by
> ENCLS[EUPDATESVN]
> 
> On Wed, 2025-08-06 at 11:11 +0300, Elena Reshetova wrote:
> > Add error codes for ENCLS[EUPDATESVN], then SGX CPUSVN update
> > process can know the execution state of EUPDATESVN and notify
> > userspace.
> 
> I would also add some text to explain why other error codes are not
> defined:
> 
> EUPDATESVN will be called when no active SGX user is guaranteed.  Only add
> the error codes that can legally happen.  E.g., it could also fail due to
> "SGX not ready" when there's SGX users but it wouldn't happen in this
> implementation.

Sure, will add in the next iteration, thanks!

Reply via email to