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

Difference in characteristics between lscpu and cpuid go implementation for AMD Ryzen #107

Closed
ionutnechita opened this issue Jul 9, 2022 · 1 comment

Comments

@ionutnechita
Copy link

Hi NFD Team,

I try today to verify my features with cpuid go implementation.
But I noticed differences in features between cpuid your binary and lscpu.
Several features are missing.
Example: SVM for virtualization support

CPUID go implementation version: cpuid-Linux_x86_64_2.0.14
OS: openSUSE Tumbleweed 20220706
AMD CPU: AMD Ryzen 9 5900HS with Radeon Graphics

cpuid go: cpuid-go.txt
lscpu: lscpu.txt
cpuinfo: cpuinfo.txt
cpuid e0x: cpuid-e0x.txt

First file for diff: a.txt
Second file for diff: b.txt

Diff:
...
SVM | VTE
SVM_LOCK <
SYSCALL <
TCE <
TOPOEXT <
TSC <
TSC_SCALE <
UMIP <
VAES <
VGIF <
VMCB_CLEAN <
VME <
VMMCALL <
VPCLMULQDQ <
V_SPEC_CTRL <
V_VMSAVE_VMLOAD <
...

BR,
Ionut Nechita
ionutnechita

@klauspost
Copy link
Owner

Added #108 (VPCLMULQDQ and VAES) and added the SVM related ones in #109

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

No branches or pull requests

2 participants