Re: [PATCH v12 00/18] Enable FSGSBASE instructions

From: Don Porter
Date: Thu Jun 25 2020 - 11:30:59 EST


On 5/28/20 11:10 PM, Jarkko Sakkinen wrote:
On Fri, May 29, 2020 at 06:07:23AM +0300, Jarkko Sakkinen wrote:

Is there something then readily available to test such workload with SGX
enabled? Or should I go patching Graphene? Not sure what I should take
from that comment :-)

For me the main point is that I need a tool to create arbitrary work
loads and run them inside enclave, once the SGX support reaches the
upstream. It's not just about testing this particular series.

The reason why I've been passive with this work so far is that I've been
busy combining updating of SGX series for over two years and maintaining
work. Now is the first time when I have time for this.

Actually I found this by searching lore.kernel.org whether anything has
happend with this. Have had a bullet in my backlog for ages.

Just need the info if anyone else is going to do something to Graphene
or not in near future. If not, I will do it myself.

/Jarkko


In re-reading, I realized you didn't get a clear answer.

We are merging the changes to Graphene to run a patched 5.7 kernel with these patches, so it should work for you (or anyone else) once all of the changes are merged. I'd be happy to talk, perhaps off this thread, about how we can help you with any other SGX-related kernel testing in the future, or issues with running Graphene.

-Don