summarylogtreecommitdiffstats
path: root/0002-x86-sgx-Add-wrapper-for-SGX2-EMODPR-function.patch
diff options
context:
space:
mode:
authorJarkko Sakkinen2022-04-14 14:02:33 +0300
committerJarkko Sakkinen2022-04-14 14:02:33 +0300
commitafec2440fe350fd8bff0a63df600a8ad1ed9d507 (patch)
tree3cee74af9df4a0e2242b7a453b6aca6409ae22f6 /0002-x86-sgx-Add-wrapper-for-SGX2-EMODPR-function.patch
parent9e595612af76514fe6b9fecdc384a33473c7fe08 (diff)
downloadaur-afec2440fe350fd8bff0a63df600a8ad1ed9d507.tar.gz
build: update v4 of sgx2 patches
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@iki.fi>
Diffstat (limited to '0002-x86-sgx-Add-wrapper-for-SGX2-EMODPR-function.patch')
-rw-r--r--0002-x86-sgx-Add-wrapper-for-SGX2-EMODPR-function.patch9
1 files changed, 5 insertions, 4 deletions
diff --git a/0002-x86-sgx-Add-wrapper-for-SGX2-EMODPR-function.patch b/0002-x86-sgx-Add-wrapper-for-SGX2-EMODPR-function.patch
index e4c66a908fd8..02a8bd059f9d 100644
--- a/0002-x86-sgx-Add-wrapper-for-SGX2-EMODPR-function.patch
+++ b/0002-x86-sgx-Add-wrapper-for-SGX2-EMODPR-function.patch
@@ -1,7 +1,7 @@
-From 5c18c202d19f1e20b7a883a14ac428c54697f47c Mon Sep 17 00:00:00 2001
+From 7f9ca1bdebe92d16d0e176e7dbb0425e3563a2b5 Mon Sep 17 00:00:00 2001
From: Reinette Chatre <reinette.chatre@intel.com>
-Date: Mon, 17 May 2021 16:31:35 -0700
-Subject: [PATCH 02/30] x86/sgx: Add wrapper for SGX2 EMODPR function
+Date: Wed, 13 Apr 2022 14:10:02 -0700
+Subject: [PATCH 02/31] x86/sgx: Add wrapper for SGX2 EMODPR function
Add a wrapper for the EMODPR ENCLS leaf function used to
restrict enclave page permissions as maintained in the
@@ -29,6 +29,7 @@ is accomplished with the ETRACK flow.
Expand enum sgx_return_code with the possible EMODPR return
values.
+Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
---
arch/x86/include/asm/sgx.h | 5 +++++
@@ -78,5 +79,5 @@ index 0e22fa8f77c5..2b091912f038 100644
+
#endif /* _X86_ENCLS_H */
--
-2.35.1
+2.35.2