[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YFOp0dl0ybo6vODz@kernel.org>
Date: Thu, 18 Mar 2021 21:28:17 +0200
From: Jarkko Sakkinen <jarkko@...nel.org>
To: Borislav Petkov <bp@...en8.de>
Cc: Dave Hansen <dave.hansen@...el.com>,
Jarkko Sakkinen <jarkko.sakkinen@...el.com>,
linux-sgx@...r.kernel.org,
Dave Hansen <dave.hansen@...ux.intel.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, x86@...nel.org,
"H. Peter Anvin" <hpa@...or.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] x86/sgx: Replace section->init_laundry_list with
sgx_dirty_page_list
On Thu, Mar 18, 2021 at 08:01:38PM +0100, Borislav Petkov wrote:
> On Thu, Mar 18, 2021 at 11:34:10AM -0700, Dave Hansen wrote:
> > I usually get that after I reboot. I have to do this:
> >
> > chmod 755 /dev/sgx_enclave
> > mount -o remount,exec /dev
>
> Yap, that did it:
>
> 0x0000000000000000 0x0000000000002000 0x03
> 0x0000000000002000 0x0000000000001000 0x05
> 0x0000000000003000 0x0000000000003000 0x03
> SUCCESS
>
> > BTW, that *IS* going to get tripped over all the time.
>
> Yap, and I saw it last time and we talked about it and I forgot again.
> Conveniently.
>
> > The selftest needs a better error message. I'll send a patch.
>
> Please do.
Yeah, would make sense. Not longer than two or three weeks ago
I wondered what is wrong with my system, up until I realized that
I forgot to remount :-)
Thanks for taking the patches.
> Thx.
/Jarkko
Powered by blists - more mailing lists