On Mon, Nov 09, 2020 at 05:23:31PM +0100, Karel Zak wrote: > 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. Thanks, it's a really good point... lscpu changes the Vendoer ID and Model name depends on the user privilege. I think it may confuse users. Why don't we remove Vendor ID and Model name when non-root runs lscpu? Or add a message to get Vendor ID and Model name like as follows? $ lscpu ... Vendor ID: (Need to run as root to show) Model name: (Need to run as root to show) ... Thanks, Masa