Skip to content
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

Intel NUC10i3FNKN, Dell Optiplex 7070 #90

Merged
merged 2 commits into from May 20, 2022
Merged

Intel NUC10i3FNKN, Dell Optiplex 7070 #90

merged 2 commits into from May 20, 2022

Conversation

torao
Copy link
Contributor

@torao torao commented Apr 8, 2022

Hi! I've tried to program several SGX applications. Thanks for the very useful information at that time. I've also confirmed that SGX is available on two machines, so I'm contributing.

The following two machines are able to run applications in hardware SGX mode with SGX driver and SDK.

Intel NUC10i3FNKN

torao@beryl:~/git/SGX-hardware$ ./test-sgx
eax: 806ec ebx: 3100800 ecx: 7ffafbbf edx: bfebfbff
stepping 12
model 14
family 6
processor type 0
extended model 8
extended family 0
smx: 0

Extended feature bits (EAX=07H, ECX=0H)
eax: 0 ebx: 29c67af ecx: 0 edx: bc000600
sgx available: 1 ✅
sgx launch control: 0

CPUID Leaf 12H, Sub-Leaf 0 of Intel SGX Capabilities (EAX=12H,ECX=0)
eax: 1 ebx: 0 ecx: 0 edx: 241f
sgx 1 supported: 1 ✅
sgx 2 supported: 0
MaxEnclaveSize_Not64: 1f
MaxEnclaveSize_64: 24

CPUID Leaf 12H, Sub-Leaf 1 of Intel SGX Capabilities (EAX=12H,ECX=1)
eax: 36 ebx: 0 ecx: 1f edx: 0

CPUID Leaf 12H, Sub-Leaf 2 of Intel SGX Capabilities (EAX=12H,ECX=2)
eax: 70200001 ebx: 0 ecx: 5e00001 edx: 0
size of EPC section in Processor Reserved Memory, 94 M ✅

CPUID Leaf 12H, Sub-Leaf 3 of Intel SGX Capabilities (EAX=12H,ECX=3)
eax: 0 ebx: 0 ecx: 0 edx: 0
size of EPC section in Processor Reserved Memory, 0 M

CPUID Leaf 12H, Sub-Leaf 4 of Intel SGX Capabilities (EAX=12H,ECX=4)
eax: 0 ebx: 0 ecx: 0 edx: 0
size of EPC section in Processor Reserved Memory, 0 M

CPUID Leaf 12H, Sub-Leaf 5 of Intel SGX Capabilities (EAX=12H,ECX=5)
eax: 0 ebx: 0 ecx: 0 edx: 0
size of EPC section in Processor Reserved Memory, 0 M

CPUID Leaf 12H, Sub-Leaf 6 of Intel SGX Capabilities (EAX=12H,ECX=6)
eax: 0 ebx: 0 ecx: 0 edx: 0
size of EPC section in Processor Reserved Memory, 0 M

CPUID Leaf 12H, Sub-Leaf 7 of Intel SGX Capabilities (EAX=12H,ECX=7)
eax: 0 ebx: 0 ecx: 0 edx: 0
size of EPC section in Processor Reserved Memory, 0 M

CPUID Leaf 12H, Sub-Leaf 8 of Intel SGX Capabilities (EAX=12H,ECX=8)
eax: 0 ebx: 0 ecx: 0 edx: 0
size of EPC section in Processor Reserved Memory, 0 M

CPUID Leaf 12H, Sub-Leaf 9 of Intel SGX Capabilities (EAX=12H,ECX=9)
eax: 0 ebx: 0 ecx: 0 edx: 0
size of EPC section in Processor Reserved Memory, 0 M

torao@beryl:~/git/SGX-hardware$ sudo lshw -short
H/W path           Device          Class          Description
=============================================================
                                   system         NUC10i3FNK (BXNUC10i3FNKN)
/0                                 bus            NUC10i3FNB
/0/0                               memory         64KiB BIOS
/0/37                              memory         32GiB System Memory
/0/37/0                            memory         16GiB SODIMM DDR4 Synchronous 2667 MHz (0.4 ns)
/0/37/1                            memory         16GiB SODIMM DDR4 Synchronous 2667 MHz (0.4 ns)
/0/43                              memory         128KiB L1 cache
/0/44                              memory         512KiB L2 cache
/0/45                              memory         4MiB L3 cache
/0/46                              processor      Intel(R) Core(TM) i3-10110U CPU @ 2.10GHz ✅
/0/100                             bridge         Intel Corporation
/0/100/2                           display        UHD Graphics
/0/100/8                           generic        Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gauss
/0/100/12                          generic        Comet Lake Thermal Subsytem
/0/100/14                          bus            Intel Corporation
/0/100/14/0        usb1            bus            xHCI Host Controller
/0/100/14/0/a                      communication  Bluetooth wireless interface
/0/100/14/1        usb2            bus            xHCI Host Controller
/0/100/14.2                        memory         RAM memory
/0/100/14.3        wlp0s20f3       network        Wireless-AC 9462
/0/100/15                          bus            Serial IO I2C Host Controller
/0/100/15.2                        bus            Intel Corporation
/0/100/16                          communication  Comet Lake Management Engine Interface
/0/100/17                          storage        Comet Lake SATA AHCI Controller
/0/100/1c                          bridge         Intel Corporation
/0/100/1c/0                        bridge         JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018]
/0/100/1c/0/0                      bridge         JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018]
/0/100/1c/0/0/0                    generic        JHL7540 Thunderbolt 3 NHI [Titan Ridge 2C 2018]
/0/100/1c/0/1                      bridge         JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018]
/0/100/1c/0/2                      bridge         JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018]
/0/100/1c/0/2/0                    bus            JHL7540 Thunderbolt 3 USB Controller [Titan Ridge 2C 2018]
/0/100/1c/0/2/0/0  usb3            bus            xHCI Host Controller
/0/100/1c/0/2/0/1  usb4            bus            xHCI Host Controller
/0/100/1d                          bridge         Intel Corporation
/0/100/1d/0                        storage        Non-Volatile memory controller
/0/100/1d/0/0      /dev/nvme0      storage        TS512GMTE110S
/0/100/1d/0/0/1    /dev/nvme0n1    disk           512GB NVMe namespace
/0/100/1d/0/0/1/1  /dev/nvme0n1p1  volume         511MiB Windows FAT volume
/0/100/1d/0/0/1/2  /dev/nvme0n1p2  volume         1GiB EXT4 volume
/0/100/1d/0/0/1/3  /dev/nvme0n1p3  volume         475GiB EFI partition
/0/100/1d.5                        bridge         Intel Corporation
/0/100/1d.5/0                      generic        Genesys Logic, Inc
/0/100/1f                          bridge         Intel Corporation
/0/100/1f.3                        multimedia     Intel Corporation
/0/100/1f.4                        bus            Intel Corporation
/0/100/1f.5                        bus            Comet Lake SPI (flash) Controller
/0/100/1f.6        eno1            network        Ethernet Connection (10) I219-V
/0/1                               system         PnP device PNP0c02
/0/2                               system         PnP device PNP0c02
/0/3                               system         PnP device PNP0c02
/0/4                               generic        PnP device INT3f0d
/0/5                               system         PnP device PNP0c02
/0/6                               system         PnP device PNP0c02
/0/7                               system         PnP device PNP0c02
/0/8                               system         PnP device PNP0c02
/1                                 power          To Be Filled By O.E.M.

torao@beryl:~/git/SGX-hardware$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.4 LTS ✅
Release:        20.04
Codename:       focal

Dell Optiplex 7070 SFF

torao@kosmochlor:~/git/SGX-hardware$ ./test-sgx
eax: 906ea ebx: 4100800 ecx: 7ffafbff edx: bfebfbff
stepping 10
model 14
family 6
processor type 0
extended model 9
extended family 0
smx: 1

Extended feature bits (EAX=07H, ECX=0H)
eax: 0 ebx: 29c6fbf ecx: 40000000 edx: 9c002e00
sgx available: 1 ✅
sgx launch control: 1 ✅

CPUID Leaf 12H, Sub-Leaf 0 of Intel SGX Capabilities (EAX=12H,ECX=0)
eax: 1 ebx: 0 ecx: 0 edx: 241f
sgx 1 supported: 1 ✅
sgx 2 supported: 0
MaxEnclaveSize_Not64: 1f
MaxEnclaveSize_64: 24

CPUID Leaf 12H, Sub-Leaf 1 of Intel SGX Capabilities (EAX=12H,ECX=1)
eax: 36 ebx: 0 ecx: 1f edx: 0

CPUID Leaf 12H, Sub-Leaf 2 of Intel SGX Capabilities (EAX=12H,ECX=2)
eax: 70200001 ebx: 0 ecx: 5d80001 edx: 0
size of EPC section in Processor Reserved Memory, 93 M ✅

CPUID Leaf 12H, Sub-Leaf 3 of Intel SGX Capabilities (EAX=12H,ECX=3)
eax: 0 ebx: 0 ecx: 0 edx: 0
size of EPC section in Processor Reserved Memory, 0 M

CPUID Leaf 12H, Sub-Leaf 4 of Intel SGX Capabilities (EAX=12H,ECX=4)
eax: 0 ebx: 0 ecx: 0 edx: 0
size of EPC section in Processor Reserved Memory, 0 M

CPUID Leaf 12H, Sub-Leaf 5 of Intel SGX Capabilities (EAX=12H,ECX=5)
eax: 0 ebx: 0 ecx: 0 edx: 0
size of EPC section in Processor Reserved Memory, 0 M

CPUID Leaf 12H, Sub-Leaf 6 of Intel SGX Capabilities (EAX=12H,ECX=6)
eax: 0 ebx: 0 ecx: 0 edx: 0
size of EPC section in Processor Reserved Memory, 0 M

CPUID Leaf 12H, Sub-Leaf 7 of Intel SGX Capabilities (EAX=12H,ECX=7)
eax: 0 ebx: 0 ecx: 0 edx: 0
size of EPC section in Processor Reserved Memory, 0 M

CPUID Leaf 12H, Sub-Leaf 8 of Intel SGX Capabilities (EAX=12H,ECX=8)
eax: 0 ebx: 0 ecx: 0 edx: 0
size of EPC section in Processor Reserved Memory, 0 M

CPUID Leaf 12H, Sub-Leaf 9 of Intel SGX Capabilities (EAX=12H,ECX=9)
eax: 0 ebx: 0 ecx: 0 edx: 0
size of EPC section in Processor Reserved Memory, 0 M
torao@kosmochlor:~/git/SGX-hardware$ sudo lshw -short
H/W path           Device          Class          Description
=============================================================
                                   system         OptiPlex 7070 (092E)
/0                                 bus            0YNVJG
/0/0                               memory         64KiB BIOS
/0/9                               memory         16GiB System Memory
/0/9/0                             memory         8GiB DIMM DDR4 Synchronous 2666 MHz (0.4 ns)
/0/9/1                             memory         8GiB DIMM DDR4 Synchronous 2666 MHz (0.4 ns)
/0/9/2                             memory         [empty]
/0/9/3                             memory         [empty]
/0/14                              memory         384KiB L1 cache
/0/15                              memory         1536KiB L2 cache
/0/16                              memory         9MiB L3 cache
/0/17                              processor      Intel(R) Core(TM) i5-9500 CPU @ 3.00GHz ✅
/0/100                             bridge         8th Gen Core Processor Host Bridge/DRAM Registers
/0/100/2                           display        UHD Graphics 630 (Desktop)
/0/100/8                           generic        Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
/0/100/12                          generic        Cannon Lake PCH Thermal Controller
/0/100/14                          bus            Cannon Lake PCH USB 3.1 xHCI Host Controller
/0/100/14/0        usb1            bus            xHCI Host Controller
/0/100/14/0/b                      input          Smart Control
/0/100/14/1        usb2            bus            xHCI Host Controller
/0/100/14.2                        memory         RAM memory
/0/100/15                          bus            Cannon Lake PCH Serial IO I2C Controller #0
/0/100/16                          communication  Cannon Lake PCH HECI Controller
/0/100/16.3                        communication  Cannon Lake PCH Active Management Technology - SOL
/0/100/17                          storage        Cannon Lake PCH SATA AHCI Controller
/0/100/1b                          bridge         Cannon Lake PCH PCI Express Root Port #17
/0/100/1b/0                        storage        Micron Technology Inc
/0/100/1b/0/0      /dev/nvme0      storage        Micron 2200S NVMe 512GB
/0/100/1b/0/0/1    /dev/nvme0n1    disk           512GB NVMe namespace
/0/100/1b/0/0/1/1                  volume         1074MiB Windows FAT volume
/0/100/1b/0/0/1/2  /dev/nvme0n1p2  volume         1536MiB EXT4 volume
/0/100/1b/0/0/1/3  /dev/nvme0n1p3  volume         474GiB EFI partition
/0/100/1f                          bridge         Q370 Chipset LPC/eSPI Controller
/0/100/1f.3                        multimedia     Cannon Lake PCH cAVS
/0/100/1f.4                        bus            Cannon Lake PCH SMBus Controller
/0/100/1f.5                        bus            Cannon Lake PCH SPI Controller
/0/100/1f.6        eno1            network        Ethernet Connection (7) I219-LM
/0/1                               system         PnP device PNP0c02
/0/2                               system         PnP device PNP0c02
/0/3                               communication  PnP device PNP0501
/0/4                               system         PnP device PNP0c02
/0/5                               system         PnP device PNP0b00
/0/6                               generic        PnP device INT3f0d
/0/7                               system         PnP device PNP0c02
/0/8                               system         PnP device PNP0c02
/0/a                               system         PnP device PNP0c02
/0/b                               system         PnP device PNP0c02
/0/c               scsi2           storage        
/0/c/0.0.0         /dev/cdrom      disk           DVD-ROM DU90N

torao@kosmochlor:~/git/SGX-hardware$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.4 LTS ✅
Release:	20.04
Codename:	focal

@torao torao marked this pull request as ready for review April 8, 2022 20:53
@ayeks ayeks merged commit f106c58 into ayeks:master May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants