Entend cpuinfo
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 3 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 3 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] Entend cpuinfo
Hi all,
According to the explain of Mark and Dave, please ignore this patches. No need do this in kernel, do it in userspace.
Thanks,
Kefeng
Quoted 48 lines · Kefeng Wang
The patches aimed at enhencing cpuinfo.
* ARMv8 supports several different types of physical/virtual address bits, up to 52bit in ARMv8.2 especially, it's better to expose it.
* Show the name of chip vendor and CPU model to customers, identify them by CPU implementer and part is not intuitive(compared with x86).
Ideally, add new line to cpuinfo won't break userspace, I hope so, the cpuinfo shown in qemu with patches,
root at linux$ cat
/proc/cpuinfo
processor : 0vendor_id: ARM
model name : Cortex-A57 rev 0 (aarch64)
BogoMIPS : 125.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer :0x41
CPU architecture: 8
CPU variant :0x1
CPU part :0xd07
CPU revision : 0
address sizes : 44 bits physical, 48 bits virtualprocessor : 1
vendor_id: ARM
model name : Cortex-A57 rev 0 (aarch64)
BogoMIPS : 125.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer :0x41
CPU architecture: 8
CPU variant :0x1
CPU part :0xd07
CPU revision : 0
address sizes : 44 bits physical, 48 bits virtualKefeng Wang (3):
arm64: Append more field ofid_aa64mmfr2for cpufeature
arm64: Expose physical/virtual address bits through cpuinfo
arm64: Expose cpu vender id and model name through cpuinfoarch/arm64/include/asm/cpu.h | 2 ++ arch/arm64/include/asm/cpufeature.h | 18 ++++++++++ arch/arm64/include/asm/sysreg.h | 4 +++ arch/arm64/kernel/cpufeature.c | 4 +++ arch/arm64/kernel/cpuinfo.c | 68 ++++++++++++++++++++++++++++++++++++- 5 files changed, 95 insertions(+), 1 deletion(-)