From: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
To: linux-sgx@vger.kernel.org
Cc: sean.j.christopherson@intel.com, serge.ayoun@intel.com,
shay.katz-zamir@intel.com
Subject: Re: [PATCH 1/2] x86/sgx: Wrap ENCLS[EWB]
Date: Sat, 14 Sep 2019 13:22:17 +0100 [thread overview]
Message-ID: <20190914122217.GA6299@linux.intel.com> (raw)
In-Reply-To: <20190912193809.29336-1-jarkko.sakkinen@linux.intel.com>
On Thu, Sep 12, 2019 at 08:38:08PM +0100, Jarkko Sakkinen wrote:
> A reclaimed page is represented by two entities:
>
> 1. A version number in the Enclave Page Cache (EPC). Version numbers are
> stored in Version Array (VA) pages [1].
> 2. Page contents and MAC [2] encrypted with a random transient key and the
> version number in the system memory.
>
> This commit introduces a wrapper function for ENCLS[EWB], which transforms
> a page from EPC to the system memory, resulting the forementioned entities.
> The reason for having struct sgx_ewb_context is that the reclaiming process
> can pin the resources in early phases of the page reclaiming process when a
> clean rollback from a failure (e.g. running out of memory) is still
> possible.
Ignore these. Sent by mistake.
In my tree in for-v23 there is already some alternative patches in
progress on top of my other v23 changes.
/Jarkko
prev parent reply other threads:[~2019-09-14 12:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-12 19:38 [PATCH 1/2] x86/sgx: Wrap ENCLS[EWB] Jarkko Sakkinen
2019-09-12 19:38 ` [PATCH 2/2] x86/sgx: Take sgx_ewb() into use Jarkko Sakkinen
2019-09-14 12:22 ` Jarkko Sakkinen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190914122217.GA6299@linux.intel.com \
--to=jarkko.sakkinen@linux.intel.com \
--cc=linux-sgx@vger.kernel.org \
--cc=sean.j.christopherson@intel.com \
--cc=serge.ayoun@intel.com \
--cc=shay.katz-zamir@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.