[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <effbeeb0-6980-84e1-bb7e-75a279d6d834@intel.com>
Date: Fri, 22 Jul 2022 12:14:42 -0700
From: Dave Hansen <dave.hansen@...el.com>
To: Sean Christopherson <seanjc@...gle.com>
Cc: Dave Hansen <dave.hansen@...ux.intel.com>, dave@...1.net,
Jarkko Sakkinen <jarkko@...nel.org>,
Andy Lutomirski <luto@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
"H. Peter Anvin" <hpa@...or.com>, Kai Huang <kai.huang@...el.com>,
Haitao Huang <haitao.huang@...ux.intel.com>, x86@...nel.org,
linux-sgx@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] [v2] x86/sgx: Allow enclaves to use Asynchrounous Exit
Notification
On 7/22/22 12:00, Sean Christopherson wrote:
> /*
> * Assert that KVM explicitly allows or denies exposing all
> * features, i.e. detect attempts to add kernel support without
> * also updating KVM.
> */
> BUILD_BUG_ON((KVM_SGX_ATTR_ALLOWED_MASK | KVM_SGX_ATTR_DENIED_MASK) !=
> (SGX_ATTR_PRIV_MASK | SGX_ATTR_UNPRIV_MASK));
Looks good to me. I'll do that for the next version. Thanks!
Powered by blists - more mailing lists