Community
cancel
Showing results for 
Search instead for 
Did you mean: 
JWong19
Beginner
190 Views

SGX and SGX1 of CPUID with SKL emulation

Jump to solution

I am confused by CPUID data (see below) of SKL emulation with the latest version (7.39-win) of Intel SDE.

CPUID.07H.EBX.SGX[bit 2] = 0, but, CPUID.12H.EAX.SGX1[bit 0] = 1. How should I understand this?

 

       0   0       12 756e6547 6c65746e 49656e69 GenuineIntel
       1   0    406e0   100800 7ffaf3ff bfebfbff 06_4EH +SSE3 +PCLMULQDQ +MONITOR +VMX +SMX +EIST +TM2 +SSSE3 +FMA +CMPXCHG16B +PDCM +SSE4.1 +SSE4.2 +x2APIC +MOVBE +POPCNT +TSC-Deadline +AES +XSAVE +OSXSAVE +AVX +F16C +RDRAND +FPU +VME +DE +PSE +TSC +MSR +PAE +MCE +CX8 +APIC +SEP +MTRR +PGE +MCA +CMOV +PAT +PSE36 -PSN +CLFSH +DS +ACPI +MMX +FXSR +SSE +SSE2 +SS +HTT +TM +PBE
       2   0 76035A01   F0B6FF        0   C10000
       3   0        0        0        0        0
       4   0 1C004121  1C0003F       3F        0 D-Cache L1  2processor(s)  8core(s)  8way(s) * 1partition(s) * 64B *    64set(s)
       4   1 1C004122  1C0003F       3F        0 I-Cache L1  2processor(s)  8core(s)  8way(s) * 1partition(s) * 64B *    64set(s)
       4   2 1C004143   C0003F      1FF        0 U-Cache L2  2processor(s)  8core(s)  4way(s) * 1partition(s) * 64B *   512set(s)
       4   3 1C03C163  3C0003F      7FF        6 U-Cache L3 16processor(s)  8core(s) 16way(s) * 1partition(s) * 64B *  2048set(s)
       5   0       40       40        3    42120 [64B,64B] +MWAIT +InterruptsAsBreakEvent C0/0 C1/2 C2/1 C3/2 C4/4 C5/0 C6/0 C7/0
       6   0       77        2        1        0 +ThermalSensor +TurboBoost +ARAT +PLN +ECMD +PTM -HWP -HDC -SETBH
       7   0        0   1C67A9        0        0 +FSGSBASE -IA32_TSC_ADJUST -SGX +BMI1 -HLE +AVX2 -FDP_EXCPTN_ONLY +SMEP +BMI2 +FastString +INVPCID -RTM -PQM +SuppressFCS +SuppressFDS +MPX -PQE -AVX512F -AVX512DQ +RDSEED +ADX +SMAP -AVX512IFMA -PCOMMIT -CLFLUSHOPT -CLWB -PT -AVX512PF -AVX512ER -AVX512CD -SHA -AVX512BW -AVX512VL -PREFTEHCHWT1 -AVX512VBMI -PKU -OSPKE
       8   0        0        0        0        0
       9   0        0        0        0        0
       A   0  7300403        0        0      603 Version-ID=3 4*48b +CoreCycleEvent +InstructionRetiredEvent +ReferenceCyclesEvent +LLC_ReferenceEvent +LLC_MissesEvent +BranchInstructionRetiredEvent +BranchMispredictRetiredEvent 3*48b 
       B   0        1        2      100        0     SMT x2APIC-ID=0 Topology-ID=0 Logical-Processor=2
       B   1        4        2      201        0    Core x2APIC-ID=0 Topology-ID=0 Logical-Processor=2
       C   0        0        0        0        0
       D   0       1F      440      440        0 +x87 +SSE +AVX +BNDREGS +BNDCSR -Opmask -ZMM_Hi256 -Hi16_ZMM -PT -PKRU 1088B 1088B
       D   1        F      240      100        0 +XSAVEOPT +Compaction_Extensions +XGETBV +XSAVES_IA32_XSS 576B
       D   2      100      240        0        0 AVX        256B @  576B
       D   3       40      3C0        0        0 BNGREG      64B @  960B
       D   4       40      400        0        0 BNGCSR      64B @ 1024B
       E   0        7      340      340        0
       F   0        7      340      340        0
       F   1        1        0        0        0
       F   2      100      240        0        0
      10   0        7      340      340        0
      10   1        1        0        0        0
      11   0        7      340      340        0
      12   0        1        0        0        0 +SGX1 -SGX2
80000000   0 80000008        0        0        0
80000001   0        0        0      121 2C100000 +LZCNT +PREFTEHCHW +ExecuteDisable +1GBytePages +RDTSCP +x64
80000002   0        0        0        0        0                 
80000003   0        0        0        0        0                 
80000004   0        0        0        0        0                 
80000005   0        0        0        0        0
80000006   0        0        0  1006040        0 64B 8-way 256KB
80000007   0        0        0        0      100 +InvariantTSC 
80000008   0     3028        0        0        0 40b 48b

 

0 Kudos
1 Solution
MarkC_Intel
Moderator
190 Views

Intel SDE does not support SGX. The leaf 12 values are not meaningful data in the released version of SDE.

View solution in original post

3 Replies
MarkC_Intel
Moderator
191 Views

Intel SDE does not support SGX. The leaf 12 values are not meaningful data in the released version of SDE.

View solution in original post

JWong19
Beginner
190 Views

Mark Charney (Intel) wrote:

Intel SDE does not support SGX. The leaf 12 values are not meaningful data in the released version of SDE.

Thanks for your reply. According to CPUID description of the instruction set reference document,

If a value entered for CPUID.EAX is less than or equal to the maximum input value and the leaf is not supported on
that processor then 0 is returned in all the registers.

MarkC_Intel
Moderator
190 Views

Consider the bug report filed... Thx.

Reply