Re: [PATCH v12 07/13] x86/sgx: data structures for tracking available EPC pages
From: Jarkko Sakkinen
Date: Wed Jul 04 2018 - 13:36:24 EST
On Tue, Jul 03, 2018 at 01:26:11PM -0700, Randy Dunlap wrote:
> On 07/03/18 12:46, Thomas Gleixner wrote:
> > On Tue, 3 Jul 2018, Jarkko Sakkinen wrote:
> >
> >> SGX has a set of data structures to maintain information about the enclaves
> >> and their security properties. BIOS reserves a fixed size region of
> >> physical memory for these structures by setting Processor Reserved Memory
> >> Range Registers (PRMRR). This memory area is called Enclave Page Cache
> >> (EPC).
> >>
> >> This commit adds a database of EPC banks for kernel to easily access the
>
> what kind of database? How does one query it?
Have to think of a better word. Thanks!
/Jarkko