From bb87e3cc03d22bd4ed4ea5b922a4b89bab79cfe8 Mon Sep 17 00:00:00 2001 From: Dmitrii Kuvaiskii Date: Mon, 3 Aug 2020 14:47:58 -0700 Subject: [PATCH] [Docs,Pal/Linux-SGX] Allow to use the in-kernel SGX driver --- Documentation/building.rst | 3 ++- Documentation/quickstart.rst | 1 + Pal/src/host/Linux-SGX/sgx-driver | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/building.rst b/Documentation/building.rst index 41a2d3a4..36e4716b 100644 --- a/Documentation/building.rst +++ b/Documentation/building.rst @@ -167,7 +167,8 @@ To install the Graphene SGX driver, run the following commands:: cd Pal/src/host/Linux-SGX/sgx-driver make - # The console will be prompted to ask for the path of Intel SGX driver code + # the console will prompt you for the path to the Intel SGX driver code + # (simply press ENTER if you use the in-kernel Intel SGX driver) sudo insmod gsgx.ko diff --git a/Documentation/quickstart.rst b/Documentation/quickstart.rst index b7d5f3cf..137ead0c 100644 --- a/Documentation/quickstart.rst +++ b/Documentation/quickstart.rst @@ -68,6 +68,7 @@ second command should list the process status of :command:`aesm_service`. cd $GRAPHENE_DIR make SGX=1 # the console will prompt you for the path to the Intel SGX driver code + # (simply press ENTER if you use the in-kernel Intel SGX driver) #. Set ``vm.mmap_min_addr=0`` in the system (*only required for the legacy SGX driver and not needed for newer DCAP/in-kernel drivers*):: diff --git a/Pal/src/host/Linux-SGX/sgx-driver b/Pal/src/host/Linux-SGX/sgx-driver index 09fc0e94..8ba1f588 160000 --- a/Pal/src/host/Linux-SGX/sgx-driver +++ b/Pal/src/host/Linux-SGX/sgx-driver @@ -1 +1 @@ -Subproject commit 09fc0e943693a8f68f1f3389dbaa68387b691106 +Subproject commit 8ba1f588552531a3c63c81a91d11a2b5e7587b81