Re: [PATCH v4 2/2] lscpu-arm: Remove hard corded model name of Cortex family and X-Gene

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Nov 08, 2020 at 10:04:03PM -0500, Masayoshi Mizuma wrote:
> From: Masayoshi Mizuma <m.mizuma@xxxxxxxxxxxxxx>
> 
> Remove hard corded model name of Cortex family and X-Gene so that
> lscpu can show the model name using Processor Version of SMBIOS Type4.

Now I see on my system (Fedora) that:

 $ll /sys/firmware/dmi/entries/4-0/raw
 -r-------- 1 root root 0 Nov  9 17:19 /sys/firmware/dmi/entries/4-0/raw

it means it's not readable for non-root users. So, I guess the
hardcoded table can be still usable as a fallback solution if we want
to provide readable information for non-root.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux