XPS 13 9300 supports SGX2
aembrito opened this issue · comments
Andrey Brito commented
XPS 13 9300 (with i7-1065G7), output was:
eax: 706e5 ebx: 100800 ecx: 7ffafbbf edx: bfebfbff
stepping 5
model 14
family 6
processor type 0
extended model 7
extended family 0
smx: 0
Extended feature bits (EAX=07H, ECX=0H)
eax: 0 ebx: f2bf27ef ecx: 40405f5e edx: bc000410
sgx available: 1
sgx launch control: 1
CPUID Leaf 12H, Sub-Leaf 0 of Intel SGX Capabilities (EAX=12H,ECX=0)
eax: 63 ebx: 1 ecx: 0 edx: 2f1f
sgx 1 supported: 1
sgx 2 supported: 1
MaxEnclaveSize_Not64: 1f
MaxEnclaveSize_64: 2f
Andrey Brito commented
Hi. Yes, I executed a rdtscp instruction which fails (with "illegal instruction") in the SGX v1 machines. I am using the SCONE runtime.
Lars Lühr commented
Sorry for the slight delay. I added it to the list. Thanks!
Joseph Noh commented
How much is the EPC size?
Andrey Brito commented
256 MB
Joseph Noh commented
@aembrito could you please show CPUID Leaf 12H, Sub-Leaf 2 values?
Andrey Brito commented
Here is the complete output:
eax: 706e5 ebx: 7100800 ecx: 7ffafbbf edx: bfebfbff
stepping 5
model 14
family 6
processor type 0
extended model 7
extended family 0
smx: 0
Extended feature bits (EAX=07H, ECX=0H)
eax: 0 ebx: f2bf27ef ecx: 40405f5e edx: bc000410
sgx available: 1
sgx launch control: 1
CPUID Leaf 12H, Sub-Leaf 0 of Intel SGX Capabilities (EAX=12H,ECX=0)
eax: 63 ebx: 1 ecx: 0 edx: 2f1f
sgx 1 supported: 1
sgx 2 supported: 1
MaxEnclaveSize_Not64: 1f
MaxEnclaveSize_64: 2f
CPUID Leaf 12H, Sub-Leaf 1 of Intel SGX Capabilities (EAX=12H,ECX=1)
eax: b6 ebx: 0 ecx: 2e7 edx: 0
CPUID Leaf 12H, Sub-Leaf 2 of Intel SGX Capabilities (EAX=12H,ECX=2)
eax: 50180001 ebx: 0 ecx: bc00001 edx: 0
CPUID Leaf 12H, Sub-Leaf 3 of Intel SGX Capabilities (EAX=12H,ECX=3)
eax: 0 ebx: 0 ecx: 0 edx: 0
CPUID Leaf 12H, Sub-Leaf 4 of Intel SGX Capabilities (EAX=12H,ECX=4)
eax: 0 ebx: 0 ecx: 0 edx: 0
CPUID Leaf 12H, Sub-Leaf 5 of Intel SGX Capabilities (EAX=12H,ECX=5)
eax: 0 ebx: 0 ecx: 0 edx: 0
CPUID Leaf 12H, Sub-Leaf 6 of Intel SGX Capabilities (EAX=12H,ECX=6)
eax: 0 ebx: 0 ecx: 0 edx: 0
CPUID Leaf 12H, Sub-Leaf 7 of Intel SGX Capabilities (EAX=12H,ECX=7)
eax: 0 ebx: 0 ecx: 0 edx: 0
CPUID Leaf 12H, Sub-Leaf 8 of Intel SGX Capabilities (EAX=12H,ECX=8)
eax: 0 ebx: 0 ecx: 0 edx: 0
CPUID Leaf 12H, Sub-Leaf 9 of Intel SGX Capabilities (EAX=12H,ECX=9)
eax: 0 ebx: 0 ecx: 0 edx: 0