-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync with intel main and add fix for kernel 6.5 OOT driver compilation error #1
base: master
Are you sure you want to change the base?
Commits on Oct 30, 2017
-
Fix memory leak of SECS EPC page in error path.
Signed-off-by: Angie Chinchilla <[email protected]>
Angie Chinchilla committedOct 30, 2017 Configuration menu - View commit details
-
Copy full SHA for 82413e8 - Browse repository at this point
Copy the full SHA 82413e8View commit details -
Authors: Serge Ayoun <[email protected]> Angie Chinchilla <[email protected]> Shay Katz-zamir <[email protected]> Cedric Xing <[email protected]> Signed-off-by: Angie Chinchilla <[email protected]>
Angie Chinchilla committedOct 30, 2017 Configuration menu - View commit details
-
Copy full SHA for 24bd0ac - Browse repository at this point
Copy the full SHA 24bd0acView commit details -
Add sgx2.patch to the repository.
Signed-off-by: Angie Chinchilla <[email protected]>
Angie Chinchilla committedOct 30, 2017 Configuration menu - View commit details
-
Copy full SHA for 45a66bd - Browse repository at this point
Copy the full SHA 45a66bdView commit details
Commits on Oct 31, 2017
-
Signed-off-by: Angie Chinchilla <[email protected]>
Angie Chinchilla committedOct 31, 2017 Configuration menu - View commit details
-
Copy full SHA for eb61a95 - Browse repository at this point
Copy the full SHA eb61a95View commit details
Commits on Nov 22, 2017
-
Set sgx2 to master:<03435d33de0bcca6c5777f23ac161249b9158f1e> for rebasing but keep the previous commit history/label.
Angie Chinchilla committedNov 22, 2017 Configuration menu - View commit details
-
Copy full SHA for a7997da - Browse repository at this point
Copy the full SHA a7997daView commit details
Commits on Nov 30, 2017
-
Rebased 2.0 patch applies to linux-sgx-driver:master commit-id 03435d3 Authors: Serge Ayoun <[email protected]> Angie Chinchilla <[email protected]> Shay Katz-zamir <[email protected]> Cedric Xing <[email protected]> Signed-off-by: Angie Chinchilla <[email protected]>
Angie Chinchilla committedNov 30, 2017 Configuration menu - View commit details
-
Copy full SHA for fc0cb15 - Browse repository at this point
Copy the full SHA fc0cb15View commit details -
check in sgx2.patch for latest rebase
Signed-off-by: Angie Chinchilla <[email protected]>
Angie Chinchilla committedNov 30, 2017 Configuration menu - View commit details
-
Copy full SHA for 7490f2e - Browse repository at this point
Copy the full SHA 7490f2eView commit details
Commits on Dec 1, 2017
-
Configuration menu - View commit details
-
Copy full SHA for dd4db1f - Browse repository at this point
Copy the full SHA dd4db1fView commit details
Commits on Dec 27, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 1544cce - Browse repository at this point
Copy the full SHA 1544cceView commit details -
Merge pull request intel#47 from lzha101/lzha101-patch-2
Update README Signed-off-by: Zhang Lili [email protected]
Configuration menu - View commit details
-
Copy full SHA for 2ae922f - Browse repository at this point
Copy the full SHA 2ae922fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 11f5228 - Browse repository at this point
Copy the full SHA 11f5228View commit details -
Merge pull request intel#49 from lzha101/lzha101-patch-2
Update README for SUSE on sgx2 branch Signed-off-by: Zhang Lili [email protected]
Configuration menu - View commit details
-
Copy full SHA for 03e9152 - Browse repository at this point
Copy the full SHA 03e9152View commit details
Commits on Jan 11, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 1bf506e - Browse repository at this point
Copy the full SHA 1bf506eView commit details
Commits on Jan 22, 2018
-
Configuration menu - View commit details
-
Copy full SHA for f25da30 - Browse repository at this point
Copy the full SHA f25da30View commit details -
Merge pull request intel#51 from avchinch/sgx2
Update README.md
Angie Chinchilla authoredJan 22, 2018 Configuration menu - View commit details
-
Copy full SHA for dc7dc1b - Browse repository at this point
Copy the full SHA dc7dc1bView commit details
Commits on Apr 7, 2018
-
intel_sgx: use mmu_notifier_unregister w/o "no_release"
Replace the call to mmu_notifier_unregister_no_release() with a call to the basic mmu_notifier_unregister(). The no_release variant was not added until kernel 3.17 and using it prevents building the driver in Debian 8 (and earlier). Back when usge of the MMU notifier was added to the SGX driver, the MMU release callback, sgx_mmu_notifier_release(), included acquiring mmap_sem for read, i.e. down_read(&mm->mmap_sem). This caused a deadlock if we called mmu_notifier_unregister() in sgx_encl_release() because the semaphore is already write-locked by munmap(). Eventually we stopped acquiring mmap_sem in sgx_mmu_notifier_release(), but kept using the no_release unregister variant as invoking release on a dying enclave was unnecessary and added an extra lock/unlock sequence. TL;DR: Calling mmu_notifier_unregister_no_release() was necessary to avoid deadlock in an old incarnation of the driver, but the current driver plays nice with the release variant. Signed-off-by: Sean Christopherson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0ab9437 - Browse repository at this point
Copy the full SHA 0ab9437View commit details
Commits on Apr 11, 2018
-
Merge pull request intel#58 from haitaohuang/not2
intel_sgx: use mmu_notifier_unregister w/o "no_release"
Configuration menu - View commit details
-
Copy full SHA for de9b9be - Browse repository at this point
Copy the full SHA de9b9beView commit details
Commits on Apr 24, 2018
-
Removing conflicting compilation flags
Signed-off-by: Serge Ayoun <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d1bf126 - Browse repository at this point
Copy the full SHA d1bf126View commit details
Commits on Apr 26, 2018
-
Merge pull request intel#62 from intel/b2
Removing conflicting compilation flags
Configuration menu - View commit details
-
Copy full SHA for dc5858a - Browse repository at this point
Copy the full SHA dc5858aView commit details
Commits on Aug 20, 2018
-
Calling PF handler from isolate_range was not protected: down_read(mm…
…ap_sem) added isolate_range does not always extract the right vma ptr: code fix Signed-off-by: Serge Ayoun <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e9c9d5b - Browse repository at this point
Copy the full SHA e9c9d5bView commit details -
Merge pull request intel#67 from intel/sgx2_b
Calling PF handler from isolate_range was not protected: down_read(mm…
Configuration menu - View commit details
-
Copy full SHA for 4d69b9c - Browse repository at this point
Copy the full SHA 4d69b9cView commit details
Commits on Oct 17, 2018
-
Update License.txt to 3-c BSD/GPL v2, to match src
Signed-off-by: Angie Chinchilla <[email protected]>
Angie Chinchilla committedOct 17, 2018 Configuration menu - View commit details
-
Copy full SHA for d1e0393 - Browse repository at this point
Copy the full SHA d1e0393View commit details
Commits on Oct 18, 2018
-
Merge pull request intel#70 from avchinch/sgx2
Update License.txt to 3-c BSD/GPL v2, to match src
Configuration menu - View commit details
-
Copy full SHA for 24abf3b - Browse repository at this point
Copy the full SHA 24abf3bView commit details
Commits on Oct 29, 2018
-
In order to cope with KSS feature:
. Updating sgx_secs structure to reflect configid and configsvn members. . Releasing SGX_ATTR_RESERVED bit mask 7. Signed-off-by: Serge Ayoun <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d452d4f - Browse repository at this point
Copy the full SHA d452d4fView commit details
Commits on Oct 30, 2018
-
Merge pull request intel#73 from intel/b2
In order to cope with KSS feature: Signed-off-by: Zhang Lili Z <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 778dd1f - Browse repository at this point
Copy the full SHA 778dd1fView commit details
Commits on Jan 24, 2019
-
vm_insert_pfn replaced by vmf_insert_pfn from kernel 4.20
Signed-off-by: Serge Ayoun <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b51ecbf - Browse repository at this point
Copy the full SHA b51ecbfView commit details
Commits on Jan 30, 2019
-
Merge pull request intel#79 from intel/b2
vm_insert_pfn replaced by vmf_insert_pfn from kernel 4.20
Configuration menu - View commit details
-
Copy full SHA for 5faf521 - Browse repository at this point
Copy the full SHA 5faf521View commit details
Commits on Feb 3, 2019
-
Enclave virtual address range should never be defined as MAP_PRIVATE.
Signed-off-by: Serge Ayoun <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for aa765e1 - Browse repository at this point
Copy the full SHA aa765e1View commit details
Commits on Feb 4, 2019
-
Merge pull request intel#80 from intel/b2
Enclave virtual address range should never be defined as MAP_PRIVATE.
Configuration menu - View commit details
-
Copy full SHA for 982c6e3 - Browse repository at this point
Copy the full SHA 982c6e3View commit details
Commits on Feb 5, 2019
-
Kernel 4.20 and later: vmf_insert_pfn returns VM_FAULT_NOPAGE
in success case Signed-off-by: Serge Ayoun <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 56b7f9e - Browse repository at this point
Copy the full SHA 56b7f9eView commit details
Commits on Feb 6, 2019
-
Merge pull request intel#82 from intel/br2
Kernel 4.20 and later: vmf_insert_pfn returns VM_FAULT_NOPAGE
Configuration menu - View commit details
-
Copy full SHA for f7dc97c - Browse repository at this point
Copy the full SHA f7dc97cView commit details
Commits on Apr 23, 2019
-
sgx_vma: return unsigned int from sgx_vma_fault
For kernel v5.1.x, compiling the out-of-tree 'isgx' driver led to the following error: sgx_vma.c:241:11: error: initialization of 'vm_fault_t (*)(struct vm_fault *)' {aka 'unsigned int (*)(struct vm_fault *)'} from incompatible pointer type 'int (*)(struct vm_fault *)' [-Werror=incompatible-pointer-types] Hence, added return type of unsigned int to sgx_vma_fault for kernel v5.1. Signed-off-by: Iyer, Naveen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 24011ec - Browse repository at this point
Copy the full SHA 24011ecView commit details
Commits on May 2, 2019
-
Merge pull request intel#86 from iyernaveenr/sgx_vma
sgx_vma: return unsigned int from sgx_vma_fault
Configuration menu - View commit details
-
Copy full SHA for 10a2f21 - Browse repository at this point
Copy the full SHA 10a2f21View commit details -
For kernel 5.1 and higher, sgx_vma_fault returns unsigned int.
Change propagated from master branch. Signed-off-by: Serge Ayoun <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d076fc3 - Browse repository at this point
Copy the full SHA d076fc3View commit details -
Merge pull request intel#87 from intel/br2
For kernel 5.1 and higher, sgx_vma_fault returns unsigned int.
Configuration menu - View commit details
-
Copy full SHA for b4d290b - Browse repository at this point
Copy the full SHA b4d290bView commit details
Commits on May 6, 2019
-
Signed-off-by: Serge Ayoun <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d8621de - Browse repository at this point
Copy the full SHA d8621deView commit details -
Configuration menu - View commit details
-
Copy full SHA for f104b6d - Browse repository at this point
Copy the full SHA f104b6dView commit details
Commits on May 15, 2019
-
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 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 44adf28 - Browse repository at this point
Copy the full SHA 44adf28View commit details -
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 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dc891db - Browse repository at this point
Copy the full SHA dc891dbView commit details -
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 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fbbc01a - Browse repository at this point
Copy the full SHA fbbc01aView commit details
Commits on May 22, 2019
-
Merge pull request intel#92 from intel/n1
README file updated: master branch (SGX 1.5) not supported anymore.
Configuration menu - View commit details
-
Copy full SHA for 5d6abcc - Browse repository at this point
Copy the full SHA 5d6abccView commit details -
Merge pull request intel#91 from intel/n2
README file updated: master branch (SGX 1.5) not supported anymore.
Configuration menu - View commit details
-
Copy full SHA for f2758d2 - Browse repository at this point
Copy the full SHA f2758d2View commit details
Commits on May 30, 2019
-
Signed-off-by: Zhang Lili Z <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b34df89 - Browse repository at this point
Copy the full SHA b34df89View commit details
Commits on Jun 2, 2019
-
Merge pull request intel#93 from lzha101/fix_configid
Fix configid offset in secs.
Configuration menu - View commit details
-
Copy full SHA for 2605efa - Browse repository at this point
Copy the full SHA 2605efaView commit details
Commits on Jul 25, 2019
-
elfutils-libelf-devel is a prerequisite for RedHat 8.0
README file updated Signed-off-by: Serge Ayoun <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 41c7e7f - Browse repository at this point
Copy the full SHA 41c7e7fView commit details
Commits on Jul 26, 2019
-
Merge pull request intel#96 from intel/b2
elfutils-libelf-devel is a prerequisite for RedHat 8.0
Configuration menu - View commit details
-
Copy full SHA for 791488f - Browse repository at this point
Copy the full SHA 791488fView commit details
Commits on Aug 12, 2019
-
Ubuntu 18.04 support added to README
Signed-off-by: Ayoun Serge <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ff88f3d - Browse repository at this point
Copy the full SHA ff88f3dView commit details
Commits on Aug 13, 2019
-
Merge pull request intel#98 from intel/bb2
Ubuntu 18.04 support added to README
Configuration menu - View commit details
-
Copy full SHA for a62f311 - Browse repository at this point
Copy the full SHA a62f311View commit details
Commits on Sep 23, 2019
-
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 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for efcde02 - Browse repository at this point
Copy the full SHA efcde02View commit details -
Merge pull request intel#104 from intel/b4
Build error fixes for kernel 5.3 and later
Configuration menu - View commit details
-
Copy full SHA for 3ae95e0 - Browse repository at this point
Copy the full SHA 3ae95e0View commit details
Commits on Oct 9, 2019
-
Configuration menu - View commit details
-
Copy full SHA for fae3ce5 - Browse repository at this point
Copy the full SHA fae3ce5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f5bb63 - Browse repository at this point
Copy the full SHA 4f5bb63View commit details
Commits on Nov 4, 2019
-
Signed-off-by: Huang, Haitao <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e047a87 - Browse repository at this point
Copy the full SHA e047a87View commit details
Commits on Dec 11, 2019
-
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 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 51c4821 - Browse repository at this point
Copy the full SHA 51c4821View commit details
Commits on Jan 23, 2020
-
Update README after deleting sgx2 branch
Removed mentioning of sgx2 branch and update comments to emphasize differences between kernel, DCAP and this driver.
Configuration menu - View commit details
-
Copy full SHA for 287083f - Browse repository at this point
Copy the full SHA 287083fView commit details
Commits on Feb 27, 2020
-
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 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 329facd - Browse repository at this point
Copy the full SHA 329facdView commit details -
Merge pull request intel#111 from npmccallum/master
Rename MSR_IA32_FEATURE_CONTROL and FEATURE_CONTROL_LOCKED
Configuration menu - View commit details
-
Copy full SHA for c25fa6a - Browse repository at this point
Copy the full SHA c25fa6aView commit details -
Signed-off-by: Haitao Huang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d92c57d - Browse repository at this point
Copy the full SHA d92c57dView commit details -
Run depmod separately during install
Signed-off-by: Haitao Huang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 17697b5 - Browse repository at this point
Copy the full SHA 17697b5View commit details -
Merge pull request intel#112 from haitaohuang/minor_fixes
Minor fixes
Configuration menu - View commit details
-
Copy full SHA for 95eaa6f - Browse repository at this point
Copy the full SHA 95eaa6fView commit details
Commits on May 29, 2020
-
Clarify intended usage of this driver Signed-off-by: Haitao Huang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4e1dd1b - Browse repository at this point
Copy the full SHA 4e1dd1bView commit details
Commits on May 31, 2020
-
Signed-off-by: Haitao Huang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cf8b3d2 - Browse repository at this point
Copy the full SHA cf8b3d2View commit details
Commits on Jun 4, 2020
-
Merge pull request intel#118 from haitaohuang/rhel82
Fix build for RHEL 8.2
Configuration menu - View commit details
-
Copy full SHA for 7acda57 - Browse repository at this point
Copy the full SHA 7acda57View commit details
Commits on Jun 11, 2020
-
Merge pull request intel#117 from intel/haitaohuang-patch-1
Update README.md
Configuration menu - View commit details
-
Copy full SHA for 602374c - Browse repository at this point
Copy the full SHA 602374cView commit details
Commits on Jul 17, 2020
-
Remove unnecessary if conditional statements
Obviously, this if check is redundant. Remove it. Signed-off-by: Tianjia Zhang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a021c08 - Browse repository at this point
Copy the full SHA a021c08View commit details -
Clean page_cache on failed exit path in sgx_dev_init()
Signed-off-by: Tianjia Zhang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 93797b0 - Browse repository at this point
Copy the full SHA 93797b0View commit details -
Delete unnecessary sgx_compat_ioctl()
Signed-off-by: Tianjia Zhang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 92cdb8d - Browse repository at this point
Copy the full SHA 92cdb8dView commit details
Commits on Aug 3, 2020
-
Configuration menu - View commit details
-
Copy full SHA for bf768a4 - Browse repository at this point
Copy the full SHA bf768a4View commit details
Commits on Aug 4, 2020
-
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 [email protected] Signed-off-by: Haitao Huang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0a6d266 - Browse repository at this point
Copy the full SHA 0a6d266View commit details
Commits on Aug 6, 2020
-
Merge pull request intel#122 from haitaohuang/master
Fix signed integer overflow on shift
Configuration menu - View commit details
-
Copy full SHA for b0a445b - Browse repository at this point
Copy the full SHA b0a445bView commit details
Commits on Sep 2, 2020
-
Note this is used in Intel PSW release 2.11 Signed-off-by: Haitao Huang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 35ef6b1 - Browse repository at this point
Copy the full SHA 35ef6b1View commit details -
Merge pull request intel#124 from haitaohuang/master
Update version to 2.11
Configuration menu - View commit details
-
Copy full SHA for 75bf89f - Browse repository at this point
Copy the full SHA 75bf89fView commit details -
Fix compilation on 5.8 kernel (intel#120)
* Fix compilation on 5.8 kernel Signed-off-by: Don Porter <[email protected]> * Address review comments * Address review comments
Configuration menu - View commit details
-
Copy full SHA for 276c5c6 - Browse repository at this point
Copy the full SHA 276c5c6View commit details
Commits on Sep 12, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4382484 - Browse repository at this point
Copy the full SHA 4382484View commit details -
Reset MSRs for SGX launch enclave signing key public hash during init
Signed-off-by: Haitao Huang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1bc987f - Browse repository at this point
Copy the full SHA 1bc987fView commit details
Commits on Sep 16, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4505f07 - Browse repository at this point
Copy the full SHA 4505f07View commit details
Commits on Nov 9, 2020
-
Update supported OSes by referring to releases
Signed-off-by: Haitao Huang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3a4f6ac - Browse repository at this point
Copy the full SHA 3a4f6acView commit details
Commits on Nov 12, 2020
-
Merge pull request intel#127 from haitaohuang/master
Update supported OSes by referring to releases
Configuration menu - View commit details
-
Copy full SHA for 0373e2e - Browse repository at this point
Copy the full SHA 0373e2eView commit details
Commits on Apr 16, 2021
-
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 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ed2c256 - Browse repository at this point
Copy the full SHA ed2c256View commit details
Commits on Apr 20, 2021
-
Merge pull request intel#133 from haitaohuang/master
Use cpuid instead of boot_cpu_has to check cpu features
Configuration menu - View commit details
-
Copy full SHA for 2d2b795 - Browse repository at this point
Copy the full SHA 2d2b795View commit details
Commits on Nov 10, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 54c9c4c - Browse repository at this point
Copy the full SHA 54c9c4cView commit details
Commits on Jan 29, 2024
-
Update README.md for documentation download links
Signed-off-by: Haitao Huang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b6f5b4a - Browse repository at this point
Copy the full SHA b6f5b4aView commit details
Commits on Feb 19, 2024
-
fix compilation on 6.5 and shift op
reuse the patch from intel#151 and fix "shift exponent 32 is too large for 32-bit type 'int'" when loading the isgx module
Configuration menu - View commit details
-
Copy full SHA for 2f69bc4 - Browse repository at this point
Copy the full SHA 2f69bc4View commit details