Giter VIP home page Giter VIP logo

Comments (13)

andyzyb avatar andyzyb commented on August 18, 2024

This API is not provided in Linux SDK. You can go directly into the BIOS and turn SGX option to enabled.

from linux-sgx.

jbdatko avatar jbdatko commented on August 18, 2024

from linux-sgx.

yuyuany avatar yuyuany commented on August 18, 2024

Which version of Intel BIOS are you using? We didn't find any BIOS remove the option.

from linux-sgx.

jbdatko avatar jbdatko commented on August 18, 2024

S1200SP0
Intel Xeon CPU E3-1270 v5
IFWI Version: S1200SP.BR.64.0008.091420161502
BIOS Version: S1200SP.86B.01.03.0023.091420160802

Under Processor Configuration I only see the following options:
Hyber-threading
active processor cores
execute disable bit
intel virt tech
intel txt
intel vt for directed io
enhanced error containment mode
mlc streamer
mlc spatial prefetcher

from linux-sgx.

yuyuany avatar yuyuany commented on August 18, 2024

Intel SGX is only officially supported on Skylake and KabyLake CPU. As for Intel Xeon CPU E3, there's no official release BIOS to support Intel SGX feature.
I don't think the call to sgx_enable_device can solve the problem. The API also needs BIOS support. If the SGX feature is not supported by BIOS, the API can do nothing.

from linux-sgx.

andyzyb avatar andyzyb commented on August 18, 2024

For E3 server, please contact the vendor who provided the system if SGX is supported or which BIOS version enables the SGX.

from linux-sgx.

jbdatko avatar jbdatko commented on August 18, 2024

The vendor of the motherboard is Intel as is the BIOS. I realize Intel is a big company but I've been having a hard time finding whom is the right contact, I've tried this repo, Intel Support, Intel Forums. If you have any insight, I'd be happy to have it.

Secondly, what does the BIOS technically do with regards to SGX? Can enabling SGX for the platform be done via UEFI shell?

from linux-sgx.

andyzyb avatar andyzyb commented on August 18, 2024

I will check with internal team to see if there is any suggestion to share.

from linux-sgx.

hyjiang avatar hyjiang commented on August 18, 2024

For E3 server, you can download the latest Firmware from Intel download center.
https://downloadcenter.intel.com/download/26796/Intel-Server-Board-S1200SPO-S1200SPOR-Firmware-Update-Package-for-EFI-with-Intel-Software-Guard-Extensions-Support?v=t

from linux-sgx.

jmechalas avatar jmechalas commented on August 18, 2024

The software enable for Linux is now supported in the master branch via sgx_cap_enable_device from libsgx_capable. This does require root (or at least write access to /sys/firmware/efi).

from linux-sgx.

jbdatko avatar jbdatko commented on August 18, 2024

Thanks y'all. I'll be trying this next week and I'll post an update!

from linux-sgx.

jmechalas avatar jmechalas commented on August 18, 2024

You might find some of the information in this article on Intel SGX feature detection helpful (it was recently updated to include Linux content).

from linux-sgx.

jbdatko avatar jbdatko commented on August 18, 2024

I update the firmware, enabled SGX, and it's now available in OS. Thank you! I'm closing this issue.

from linux-sgx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.