Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

MSR, CBNT profiles, etc. #22

@kwtj43

Description

@kwtj43

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions