Comments (4)
Please double confirm whether your CPU support FLC(flex launch control) feature. If your CPU doesn't support FLC, then you can't use DCAP driver.
from sgxdatacenterattestationprimitives.
Thank you for the reply. This is indeed a problem because I can't understand if my processor is FLC enabled or not.
Reading this, it seems like I can just update my BIOS (a thing I would like to avoid as far as I can).
Btw, this is my cat /proc/cpufino
:
➜ ~ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 142
model name : Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz
stepping : 11
microcode : 0xd6
cpu MHz : 1943.254
cache size : 8192 KB
physical id : 0
siblings : 8
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 22
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d arch_capabilities
bugs : spectre_v1 spectre_v2 spec_store_bypass mds swapgs itlb_multihit srbds
bogomips : 3999.93
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:
...
from sgxdatacenterattestationprimitives.
you can use this command: rdmsr 0x3a, then the command's output value & 0x00020000, if the result was 1, then your platform support FLC.
By the way: to execute command rdmsr, maybe firstly you need to execute: modprobe msr
from sgxdatacenterattestationprimitives.
Thank you, I confirm my CPU is not FLC enambled. As easy as that.
For completition, I leve another tool that helps identifiying the CPU features:
https://github.com/openenclave/openenclave/tree/master/tools/oesgx
(sorry for the competition advertisment)
from sgxdatacenterattestationprimitives.
Related Issues (20)
- Cannot find jni_dcap_quoteverify in JavaQuoteVerificationSample when using mvn test HOT 2
- Errors and warnings when try QuoteVerificationSample HOT 5
- qeReport is null HOT 5
- [error]: Intel PCS server returns error. Error code : 404 Error: No cache data for this platform. HOT 3
- PCKRetrievalTool failed HOT 5
- QuoteGenerationSample make failed HOT 4
- Can't build QuoteGeneration Library HOT 21
- sgx-dcap-quoteverify::tee_qv_get_collateral() totally unsound and broken by design
- Please use rustfmt / cargo fmt for the rust code
- TDX Quote verification failing with 0xe032 HOT 9
- What's the inverse function of `tdx_att_get_quote`? HOT 3
- QuoteGeneration samplecode failed with "0xe019" HOT 5
- Align TDX device node name and ioctl with upstream versions HOT 3
- pccs not work in EMR ubuntu22.04 HOT 6
- QE Attestation key is the same? HOT 3
- Supplemental data size change from 1.16 to 1.17 HOT 3
- Why no `sgx_target_info_t ` argument for `tee_att_config_t::ecdsa_get_quote(..)`? HOT 1
- Should User Enclave validate QE MREnclave from Quote before calling QvE? HOT 4
- QVS: make it possible to get early tcbs from pcs HOT 2
- pccs service cannot be loaded on the SBX server of ubuntu22.04 HOT 28
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sgxdatacenterattestationprimitives.