Re: [PATCH v26 10/22] x86/sgx: Linux Enclave Driver

From
Jarkko Sakkinen <hidden>
Date
2020-02-15 07:32:46
Also in
lkml
Reply to
Jethro Beekman, 2020-02-13
On Thu, Feb 13, 2020 at 02:59:52PM +0100, Jethro Beekman wrote:
Besides only partially measuring a page, there are some other fringe
cases that are technically possible, although I haven't seen any
toolchains that do that. These include not interleaving EADD and
EEXTEND, not using logical ordering for the EEXTENDs, and call EEXTEND
multiple times on the same chunk. Maximum interoperability would
require supporting any EADD/EEXTEND sequence.
The reason why EEXTEND deals with chunks is nothing to do with the
granularity but just to amortize the algorithm. I did ask about this
and this is the answer that I got.

I think it is perfectly sane for Linux to define ABI here in at this
level.
Tested-by: Jethro Beekman <redacted>
Thanks you.
Sorry for being super late with this, I know you asked me for feedback
about this specific point in October. However, I did previously
mention several times that being able to measure individual 256-byte
chunks is necessary.
NP.

/Jarkko
Thread (24 messages) 24 messages, 7 authors, last reply 2020-02-21
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help