On Tue, Nov 10, 2020 at 08:24:00PM -0500, Masayoshi Mizuma wrote: > From: Masayoshi Mizuma <m.mizuma@xxxxxxxxxxxxxx> > > After commit: 367c85c47 ("lscpu: use SMBIOS tables on ARM for lscpu"), > Model name for A64FX shows like as: > > Model name: 461F0010 > > That's because 367c85c47 changes to get the modelname from Processor > Version of SMBIOS. > > To fix that, use the hard corded table to show the "Model name" and > add two new lines; "BIOS Vendor ID" and "BIOS Model name" to show the > SMBIOS information. > > lscpu shows the SMBIOS information when root user runs it because > accessing the SMBIOS information requires root privilege. > > Signed-off-by: Masayoshi Mizuma <m.mizuma@xxxxxxxxxxxxxx> > --- > sys-utils/lscpu-arm.c | 22 ++++++++-------------- > sys-utils/lscpu.c | 4 ++++ > sys-utils/lscpu.h | 2 ++ > 3 files changed, 14 insertions(+), 14 deletions(-) OK, I'll integrate it to my new lscpu later this week. Thanks! Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com