[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171115101011.ivp5x33zm2mqoing@linux.intel.com>
Date: Wed, 15 Nov 2017 12:10:11 +0200
From: Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
To: Sean Christopherson <sean.j.christopherson@...el.com>
Cc: intel-sgx-kernel-dev@...ts.01.org, linux-kernel@...r.kernel.org,
platform-driver-x86@...r.kernel.org
Subject: Re: [intel-sgx-kernel-dev] [PATCH v5 10/11] intel_sgx: glue code for
in-kernel LE
On Tue, Nov 14, 2017 at 10:31:15PM +0200, Jarkko Sakkinen wrote:
> On Tue, Nov 14, 2017 at 10:16:43AM -0800, Sean Christopherson wrote:
> > This semaphore approach is broken due to the LE process using an anon inode for
> > /dev/sgx, which results in sgx_release being called without an accompanying call
> > to sgx_open. This causes deadlocks due to a semaphore underrun.
> >
> > https://lists.01.org/pipermail/intel-sgx-kernel-dev/2017-November/000901.html
>
> Thank you for catching this. I can only say that I forgot to fix it it
> for v5. It will be refined for v6.
>
> /Jarkko
I added a fix to 'le' branch (will be squashed in v6).
/Jarkko
Powered by blists - more mailing lists