Intel SGX development
 help / color / mirror / Atom feed
From: Sean Christopherson <sean.j.christopherson@intel.com>
To: Jethro Beekman <jethro@fortanix.com>
Cc: "linux-sgx@vger.kernel.org" <linux-sgx@vger.kernel.org>
Subject: Re: Bug in EPC paging
Date: Mon, 29 Jul 2019 07:56:38 -0700	[thread overview]
Message-ID: <20190729145638.GD21120@linux.intel.com> (raw)
In-Reply-To: <b1b95c9c-9191-64d4-37f3-7741cbb0c157@fortanix.com>

On Sat, Jul 27, 2019 at 11:16:01PM +0000, Jethro Beekman wrote:
> A user is reporting CPU soft lockup with Intel SDK version 2.1 and 2.5
> driver. This only happens when using SGX in conjunction with DPDK (Data
> Plane Development Kit) in the same process. The process is running two
> enclaves that together are bigger than the EPC.
> 
> Dmesg output:
> 
> 2.1 driver:
> https://github.com/YangZhou1997/dpdk-sgx-crash/blob/master/dmesg-full.log
> 
> 2.5 driver: https://github.com/YangZhou1997/dpdk-sgx-crash/blob/master/dmesg-full-2.5.0.log

The log from 2.5 doesn't show any SGX activity, rather it's generating
remote TLB flushes during CoW.  That would imply this is a generic remote
TLB flush (or SMP function call IPIs) issue and not an EPC bug.

> 
> Enclave memory layout:
> https://github.com/YangZhou1997/dpdk-sgx-crash/blob/master/sgxs.info
> 
> -- 
> Jethro Beekman | Fortanix
> 



      reply	other threads:[~2019-07-29 14:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-27 23:16 Bug in EPC paging Jethro Beekman
2019-07-29 14:56 ` Sean Christopherson [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=20190729145638.GD21120@linux.intel.com \
    --to=sean.j.christopherson@intel.com \
    --cc=jethro@fortanix.com \
    --cc=linux-sgx@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox