[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200303003932.GA27842@linux.intel.com>
Date: Mon, 2 Mar 2020 16:39:32 -0800
From: Sean Christopherson <sean.j.christopherson@...el.com>
To: Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
Cc: linux-kernel@...r.kernel.org, x86@...nel.org,
linux-sgx@...r.kernel.org, akpm@...ux-foundation.org,
dave.hansen@...el.com, nhorman@...hat.com, npmccallum@...hat.com,
haitao.huang@...el.com, andriy.shevchenko@...ux.intel.com,
tglx@...utronix.de, kai.svahn@...el.com, bp@...en8.de,
josh@...htriplett.org, luto@...nel.org, kai.huang@...el.com,
rientjes@...gle.com, cedric.xing@...el.com, puiterwijk@...hat.com
Subject: Re: [PATCH v27 04/22] x86/sgx: Add SGX microarchitectural data
structures
On Sun, Feb 23, 2020 at 07:25:41PM +0200, Jarkko Sakkinen wrote:
> Define the SGX microarchitectural data structures used by various SGX
> opcodes. This is not an exhaustive representation of all SGX data
> structures but only those needed by the kernel.
>
> The data structures are described in:
>
> Intel SDM: 37.6 INTELĀ® SGX DATA STRUCTURES OVERVIEW
>
> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
> ---
...
> +#define SGX_SSA_GPRS_SIZE 182
SSA GPRs size is 184. Per table 37.9 in the SDM:
Field OFFSET (Bytes) Size (Bytes)
GSBASE 176 8
Reported by a third party, I'm just the messenger and not that good at math :-).
Powered by blists - more mailing lists