Message ID | 23b8becce4117d4661121b4136d439e89e9b3b01.1610935432.git.kai.huang@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | KVM SGX virtualization support | expand |
On Mon, Jan 18, 2021 at 04:28:03PM +1300, Kai Huang wrote: > From: Sean Christopherson <sean.j.christopherson@intel.com> > > Define the ENCLS leafs that are available with SGX2, also referred to as > Enclave Dynamic Memory Management (EDMM). The leafs will be used by KVM > to conditionally expose SGX2 capabilities to guests. > > Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> > Acked-by: Dave Hansen <dave.hansen@intel.com> > Signed-off-by: Kai Huang <kai.huang@intel.com> Acked-by: Jarkko Sakkinen <jarkko@kernel.org> /Jarkko > --- > arch/x86/include/asm/sgx_arch.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/x86/include/asm/sgx_arch.h b/arch/x86/include/asm/sgx_arch.h > index 38ef7ce3d3c7..2323ded379d6 100644 > --- a/arch/x86/include/asm/sgx_arch.h > +++ b/arch/x86/include/asm/sgx_arch.h > @@ -35,6 +35,9 @@ enum sgx_encls_function { > EPA = 0x0A, > EWB = 0x0B, > ETRACK = 0x0C, > + EAUG = 0x0D, > + EMODPR = 0x0E, > + EMODT = 0x0F, > }; > > /** > -- > 2.29.2 > >
diff --git a/arch/x86/include/asm/sgx_arch.h b/arch/x86/include/asm/sgx_arch.h index 38ef7ce3d3c7..2323ded379d6 100644 --- a/arch/x86/include/asm/sgx_arch.h +++ b/arch/x86/include/asm/sgx_arch.h @@ -35,6 +35,9 @@ enum sgx_encls_function { EPA = 0x0A, EWB = 0x0B, ETRACK = 0x0C, + EAUG = 0x0D, + EMODPR = 0x0E, + EMODT = 0x0F, }; /**