cpuid icon indicating copy to clipboard operation
cpuid copied to clipboard

MSR, CBNT profiles, etc.

Open kwtj43 opened this issue 4 years ago • 0 comments

First off -- thanks for a writing a clean, cross platform go library that can be used to detect cpu features, etc.

I work on Intel's ISecL library and migrated its "hostinfo" package away from using command line tools like dmidecode (see https://github.com/intel-secl/intel-secl/tree/master/pkg/lib/hostinfo). At that time I was unaware of this library and will definately integrate it for the cpu detection requirements.

ISecL needs to detect the CBNT profile on Linux and Windows (Windows is a new feature). On Linux, the hostinfo package reads from /dev/cpu/0/msr. As far as I can see there is not a way to get msr data on Windows from user space.

Anyway, for the "asks"...

  • Does cpuid expose MSR related features (CBNT profile, etc.)? From what I see it does not.
  • If the MSR related features are not provided by cpuid, would you consider adding them?
  • If the answers to the previous questions are no, are you aware of any way to collect MSR data from user space across Windows/Linux?

kwtj43 avatar Sep 23 '21 15:09 kwtj43