/proc/cpuinfo not showing all info

Pankaj Vinodrao Joshi Pankaj.VJ at exaleapsemi.com
Wed Jan 13 04:21:31 EST 2021


Hi,
i am using sifive's u540, RISCV64 with custom kernel 5.10.2 and i am trying to get all hardware information with the help of /proc/cpuinfo but i am not able get all information i need.

i am attaching current /proc/cpuinfo


rocessor        : 0
hart            : 2
isa             : rv64imafdc
mmu             : sv39
uarch           : sifive,u54-mc


but i am expecting following kind of output

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 142
model name      : Intel(R) Core(TM) i3-7020U CPU @ 2.30GHz
stepping        : 9
microcode       : 0xde
cpu MHz         : 700.027
cache size      : 3072 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 22
wp              : yes

Can someone suggest me how i can print all info with /proc/cpuinfo  ??



Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20210113/1e9651cf/attachment.html>


More information about the Kernelnewbies mailing list