On Wed, 2019-08-21 at 20:48 -0700, Sean Christopherson wrote: > > + if ((page_type != SGX_SECINFO_REG && > > + page_type != SGX_SECINFO_TCS && > > + page_type != SGX_SECINFO_TRIM)) > > Shouldn't we disallow TRIM until SGX2 is supported? Yes. I squashed the change with TRIM removed. I also renamed the local variable page_type as pt. I think that is a good abbrevation for page type and saves some screen space. /Jarkko