Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Refine CPUInfo in Arm64 #368

Closed
Pennyzct opened this issue Jun 4, 2018 · 2 comments
Closed

Refine CPUInfo in Arm64 #368

Pennyzct opened this issue Jun 4, 2018 · 2 comments

Comments

@Pennyzct
Copy link
Contributor

Pennyzct commented Jun 4, 2018

Description of problem

Thanks @jodh-intel for fixing arm build😊, and it may need some refinement for CPUInfo.
Variable vendor and model in struct CPUInfo may refer to different meaning in Arm architecture. The CPU Model for Arm should mean the Instruction set, that is the variant number of Arm processor and the CPU Vendor for Arm should be the CPU core IP Implementer.

Expected result

some example from kata-runtime kata-env:

[Host.CPU]
   Vendor = "ARM Limited"
   Model = "v8"

Actual result

[Host.CPU]
   Vendor = "0x41"
   Model = "0x1"

@Pennyzct
Copy link
Contributor Author

Pennyzct commented Jun 4, 2018

@Weichen81

Pennyzct added a commit to Pennyzct/runtime that referenced this issue Jun 4, 2018
The CPUinfo need to be refined in Arm architecture, because the
vendor and model of CPU may refer to different meaning in Arm architecture.
Besides, relevant contents extracted from /proc/cpuinfo may need to be
normalized for human-readability.

Fixes: kata-containers#368

Signed-off-by: Penny Zheng <[email protected]>
Signed-off-by: Wei Chen <[email protected]>
@Weichen81
Copy link
Contributor

LGTM @Pennyzct 👍

lifupan pushed a commit to lifupan/kata-runtime that referenced this issue Aug 5, 2020
Remove old store for Kata 2.0.

Fixes: kata-containers#368

Signed-off-by: bin liu <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants