Re: Bug in EPC paging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
> 





[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux