Stewart Blacklock
eea00a3f79
Archiving Notice
2025-06-02 11:48:25 -07:00
Juan del Cuvillo
bd80d04d52
The SGX out-of-tree driver is deprecated and no longer maintained by Intel. ( #154 )
...
* The SGX out-of-tree driver is no longer maintained by Intel.
Recommend the SGX community to use the SGX driver that was upstreamed to the Linux kernel 5.11.
2024-05-31 11:36:48 -04:00
Haitao Huang
edd2170553
Merge pull request #158 from jinghe-INTC/main
...
add a build action script
2024-04-30 11:39:51 -05:00
He, Jing J
1c4ff3f9d8
add a build action script
...
Signed-off-by: He, Jing J <jing.j.he@intel.com >
2024-04-29 23:30:45 -04:00
Haitao Huang
b6f5b4a62d
Update README.md for documentation download links
...
Signed-off-by: Haitao Huang <haitao.huang@linux.intel.com >
2024-01-29 11:45:25 -06:00
lzha101
54c9c4c1fe
Add SECURITY.md
...
Signed-off-by: Zhang Lili lili.z.zhang@intel.com
2021-11-10 13:45:04 +08:00
Haitao Huang
2d2b795890
Merge pull request #133 from haitaohuang/master
...
Use cpuid instead of boot_cpu_has to check cpu features
sgx_diver_2.14
sgx_driver_2.14
2021-04-19 22:48:31 -05:00
Haitao Huang
ed2c256929
Use cpuid instead of boot_cpu_has to check cpu features
...
For non-FLC platforms, Linux kernel 5.11 or above disables sgx feature flag
so boot_cpu_has is not usable.
Signed-off-by: Haitao Huang <4699115+haitaohuang@users.noreply.github.com >
2021-04-16 20:12:10 +00:00
Haitao Huang
0373e2e8b9
Merge pull request #127 from haitaohuang/master
...
Update supported OSes by referring to releases
2020-11-11 20:57:46 -06:00
Haitao Huang
3a4f6ac598
Update supported OSes by referring to releases
...
Signed-off-by: Haitao Huang <4699115+haitaohuang@users.noreply.github.com >
2020-11-09 15:16:14 -06:00
Haitao Huang
4505f07271
Merge pull request #125 from haitaohuang/master
...
reset hashes
2020-09-16 17:31:50 -05:00
Haitao Huang
1bc987f81b
Reset MSRs for SGX launch enclave signing key public hash during init
...
Signed-off-by: Haitao Huang <4699115+haitaohuang@users.noreply.github.com >
2020-09-12 16:46:54 -05:00
Haitao Huang
438248400c
Clean more files
...
Signed-off-by: Haitao Huang <4699115+haitaohuang@users.noreply.github.com >
2020-09-12 16:46:54 -05:00
Don Porter
276c5c6a06
Fix compilation on 5.8 kernel ( #120 )
...
* Fix compilation on 5.8 kernel
Signed-off-by: Don Porter <porter@cs.unc.edu >
* Address review comments
* Address review comments
2020-09-02 13:26:40 -05:00
Haitao Huang
75bf89f7d6
Merge pull request #124 from haitaohuang/master
...
Update version to 2.11
sgx_driver_2.11
2020-09-02 13:03:21 -05:00
Haitao Huang
35ef6b1a53
Update version to 2.11
...
Note this is used in Intel PSW release 2.11
Signed-off-by: Haitao Huang <4699115+haitaohuang@users.noreply.github.com >
2020-09-02 12:59:57 -05:00
Haitao Huang
b0a445ba09
Merge pull request #122 from haitaohuang/master
...
Fix signed integer overflow on shift
2020-08-05 23:23:47 -05:00
Haitao Huang
0a6d266794
Fix signed integer overflow on shift
...
Shifting a signed integer value of 1 by 31 or more bits will cause
overflow and can lead to undefined behaviour. Fix this by adding
a UL suffix to ensure an unsigned long is being shifted.
Signed-off-by: Colin Ian King colin.king@canonical.com
Signed-off-by: Haitao Huang <4699115+haitaohuang@users.noreply.github.com >
2020-08-04 13:56:33 -05:00
Haitao Huang
bf768a4ee0
Merge pull request #121 from uudiin/fix
...
Fix
2020-08-03 14:08:39 -05:00
Tianjia Zhang
92cdb8d2d6
Delete unnecessary sgx_compat_ioctl()
...
Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com >
2020-07-17 18:34:45 +08:00
Tianjia Zhang
93797b0ba2
Clean page_cache on failed exit path in sgx_dev_init()
...
Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com >
2020-07-17 16:56:58 +08:00
Tianjia Zhang
a021c08bb7
Remove unnecessary if conditional statements
...
Obviously, this if check is redundant. Remove it.
Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com >
2020-07-17 16:33:33 +08:00
Haitao Huang
602374c738
Merge pull request #117 from intel/haitaohuang-patch-1
...
Update README.md
2020-06-11 13:09:13 -05:00
Haitao Huang
7acda57e77
Merge pull request #118 from haitaohuang/rhel82
...
Fix build for RHEL 8.2
2020-06-04 13:12:16 -05:00
Haitao Huang
cf8b3d26ce
Fix build for RHEL 8.2
...
Signed-off-by: Haitao Huang <4699115+haitaohuang@users.noreply.github.com >
2020-05-31 13:47:09 -05:00
Haitao Huang
4e1dd1b136
Update README.md
...
Clarify intended usage of this driver
Signed-off-by: Haitao Huang <4699115+haitaohuang@users.noreply.github.com >
2020-05-29 17:41:50 -05:00
haitaohuang
95eaa6f669
Merge pull request #112 from haitaohuang/minor_fixes
...
Minor fixes
2020-02-27 12:45:49 -06:00
Haitao Huang
17697b50d3
Run depmod separately during install
...
Signed-off-by: Haitao Huang <4699115+haitaohuang@users.noreply.github.com >
2020-02-27 12:40:54 -06:00
Haitao Huang
d92c57d5c4
Fix warning on 5.6 kernel
...
Signed-off-by: Haitao Huang <4699115+haitaohuang@users.noreply.github.com >
2020-02-27 12:40:25 -06:00
haitaohuang
c25fa6acef
Merge pull request #111 from npmccallum/master
...
Rename MSR_IA32_FEATURE_CONTROL and FEATURE_CONTROL_LOCKED
2020-02-27 11:49:26 -06:00
Nathaniel McCallum
329facdaca
Rename MSR_IA32_FEATURE_CONTROL and FEATURE_CONTROL_LOCKED
...
They have new names in more recent kernels. We check for the old
defines, however, in order to prevent breaking on older kernels.
Also, rename FEATURE_CONTROL_SGX_ENABLE to match the new naming.
Signed-off-by: Nathaniel McCallum <npmccallum@redhat.com >
2020-02-26 23:56:13 -05:00
haitaohuang
287083fcce
Update README after deleting sgx2 branch
...
Removed mentioning of sgx2 branch and update comments to emphasize differences between kernel, DCAP and this driver.
2020-01-23 10:45:30 -06:00
Huang, Haitao
51c4821b8a
README: switch to master branch for main development
...
Also updated to refer to DCAP driver for tracking proposed upstream version
Signed-off-by: Huang, Haitao <4699115+haitaohuang@users.noreply.github.com >
sgx_driver_2.6
2019-12-11 14:28:57 -06:00
Huang, Haitao
e047a87ebc
Merge sgx2 into master
...
Signed-off-by: Huang, Haitao <4699115+haitaohuang@users.noreply.github.com >
2019-11-04 12:21:15 -06:00
haitaohuang
4f5bb63a99
Merge pull request #106 from haitaohuang/sgx2
...
Version 2.6
2019-10-09 10:46:28 -05:00
Haitao Huang
fae3ce573e
Version 2.6
...
Signed-off-by: Huang, Haitao <4699115+haitaohuang@users.noreply.github.com >
2019-10-09 10:34:45 -05:00
sergeay
3ae95e0f78
Merge pull request #104 from intel/b4
...
Build error fixes for kernel 5.3 and later
2019-09-23 11:10:01 +03:00
Ayoun Serge
efcde02427
Build error fixes for kernel 5.3 and later
...
apply_to_page_range() API signature was changed
Makefile does not support SUBDIR anymore
Signed-off-by: Ayoun Serge <serge.ayoun@intel.com >
2019-09-23 10:58:24 +03:00
sergeay
a62f311471
Merge pull request #98 from intel/bb2
...
Ubuntu 18.04 support added to README
2019-08-13 11:31:06 +03:00
Ayoun Serge
ff88f3d0ec
Ubuntu 18.04 support added to README
...
Signed-off-by: Ayoun Serge <serge.ayoun@intel.com >
2019-08-12 14:34:01 +03:00
Andy Zhao
791488f775
Merge pull request #96 from intel/b2
...
elfutils-libelf-devel is a prerequisite for RedHat 8.0
2019-07-26 09:21:24 +08:00
Serge Ayoun
41c7e7fbb5
elfutils-libelf-devel is a prerequisite for RedHat 8.0
...
README file updated
Signed-off-by: Serge Ayoun <serge.ayoun@intel.com >
2019-07-25 05:26:34 -04:00
sergeay
2605efa4ef
Merge pull request #93 from lzha101/fix_configid
...
Fix configid offset in secs.
2019-06-02 10:02:07 +03:00
Zhang Lili Z
b34df8936a
Fix configid offset in secs.
...
Signed-off-by: Zhang Lili Z <lili.z.zhang@intel.com >
2019-05-30 18:47:03 +08:00
sergeay
f2758d2360
Merge pull request #91 from intel/n2
...
README file updated: master branch (SGX 1.5) not supported anymore.
2019-05-22 13:20:15 +03:00
sergeay
5d6abcc3fe
Merge pull request #92 from intel/n1
...
README file updated: master branch (SGX 1.5) not supported anymore.
2019-05-22 13:19:54 +03:00
Serge Ayoun
fbbc01ae8c
README file updated: master branch (SGX 1.5) not supported anymore.
...
Branch sgx2 (SGX 1.5 and SGX 2.0) should be used from now.
Signed-off-by: Serge Ayoun <serge.ayoun@intel.com >
2019-05-15 16:02:59 +03:00
Serge Ayoun
dc891dbd93
README file updated: master branch (SGX 1.5) not supported anymore.
...
Branch sgx2 (SGX 1.5 and SGX 2.0) should be used from now.
Signed-off-by: Serge Ayoun <serge.ayoun@intel.com >
2019-05-15 15:57:36 +03:00
Serge Ayoun
44adf289ea
Resetting rc after calling vmf_insert_pfn since it returns
...
VM_FAULT_NOPAGE upon success and for kernels 4.20 and later
Signed-off-by: Serge Ayoun <serge.ayoun@intel.com >
2019-05-15 15:31:52 +03:00
sergeay
f104b6d19d
Merge pull request #89 from intel/b2
...
Version number is 2.5.0
2019-05-06 15:20:04 +03:00