On Wed, 13 Sep 2023 10:34:28 -0500, Jarkko Sakkinen [off-list ref] wrote:
quoted
+++ b/arch/x86/kernel/cpu/sgx/encl.h
@@ -39,6 +39,7 @@ enum sgx_encl_flags {
SGX_ENCL_DEBUG = BIT(1),
SGX_ENCL_CREATED = BIT(2),
SGX_ENCL_INITIALIZED = BIT(3),
+ SGX_ENCL_OOM = BIT(4),
Given how the constants are named before maybe SGX_ENCL_NO_MEMORY would
be more obvious.
Will do.
Thanks
Haitao