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

read cpu info from cpuid.info file. #261

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bunnitha
Copy link

Instrumented cpuinfo to read the populated cpu info data from cpuid.info file during initialization.
Consumers of the library or OEMs can trigger a oneshot service - cpuinfo-svc - during device boot to link libcpuinfo and dump all cpu info related to processor, model, arch and isa capabilities into cpuid.info file. This arrangement will limit cpuid() intrinsic calls (which causes VM-Exit events) to only once during init of libcpuinfo at boot by cpuinfo-svc.

Instrumented cpuinfo to read the populated cpu info data from cpuid.info
file during initialization.
Consumers of the library or OEMs can trigger a oneshot service -
cpuinfo-svc - during device boot to link libcpuinfo and dump all cpu info
related to processor, model, arch and isa capabilities into cpuid.info file.
This arrangement will limit cpuid() intrinsic calls (which causes VM-Exit
events) to only once during init of libcpuinfo at boot by cpuinfo-svc.

Signed-off-by: Unnithan, Balakrishnan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants