From: Dave Hansen <dave.hansen@intel.com>
To: Borislav Petkov <bp@alien8.de>,
Jarkko Sakkinen <jarkko.sakkinen@intel.com>
Cc: linux-sgx@vger.kernel.org, Jarkko Sakkinen <jarkko@kernel.org>,
Dave Hansen <dave.hansen@linux.intel.com>,
Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>,
x86@kernel.org, "H. Peter Anvin" <hpa@zytor.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] x86/sgx: Replace section->init_laundry_list with sgx_dirty_page_list
Date: Thu, 18 Mar 2021 11:34:10 -0700 [thread overview]
Message-ID: <1269283f-ddad-9049-dcf5-818a6ecbbc53@intel.com> (raw)
In-Reply-To: <20210318174032.GI19570@zn.tnic>
On 3/18/21 10:40 AM, Borislav Petkov wrote:
> So both patches look ok to me but the sgx test case fails on -rc3 with and
> without those patches on my box:
>
> ./test_sgx
> 0x0000000000000000 0x0000000000002000 0x03
> 0x0000000000002000 0x0000000000001000 0x05
> 0x0000000000003000 0x0000000000003000 0x03
> mmap() failed, errno=1.
I usually get that after I reboot. I have to do this:
chmod 755 /dev/sgx_enclave
mount -o remount,exec /dev
BTW, that *IS* going to get tripped over all the time. The selftest
needs a better error message. I'll send a patch.
next prev parent reply other threads:[~2021-03-18 18:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-17 23:53 [PATCH 1/2] x86/sgx: Replace section->init_laundry_list with sgx_dirty_page_list Jarkko Sakkinen
2021-03-17 23:53 ` [PATCH 2/2] x86/sgx: Add a basic NUMA allocation scheme to sgx_alloc_epc_page() Jarkko Sakkinen
2021-03-18 19:05 ` [tip: x86/sgx] " tip-bot2 for Jarkko Sakkinen
2021-03-19 8:57 ` tip-bot2 for Jarkko Sakkinen
2021-03-18 17:40 ` [PATCH 1/2] x86/sgx: Replace section->init_laundry_list with sgx_dirty_page_list Borislav Petkov
2021-03-18 18:34 ` Dave Hansen [this message]
2021-03-18 19:01 ` Borislav Petkov
2021-03-18 19:28 ` Jarkko Sakkinen
2021-03-18 19:05 ` [tip: x86/sgx] " tip-bot2 for Jarkko Sakkinen
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=1269283f-ddad-9049-dcf5-818a6ecbbc53@intel.com \
--to=dave.hansen@intel.com \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=hpa@zytor.com \
--cc=jarkko.sakkinen@intel.com \
--cc=jarkko@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sgx@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
--cc=x86@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