Messages in this thread | | | Date | Wed, 11 Mar 2020 18:27:48 +0800 | Subject | Re: [PATCH] MIPS: Loongson: Add model name to /proc/cpuinfo | From | Jiaxun Yang <> |
| |
于 2020年3月11日 GMT+08:00 下午5:58:48, Manuel Lauss <manuel.lauss@gmail.com> 写到: >Hello, > >> Model name: Loongson-3A R3 (Loongson-3A3000) @ 1449MHz > >How is this different from the __cpu_name[] array? Doesn't it serve >the same purpose? >E.g. on Alchemy, it lists the correct Model name. (I.e. "Au1000", >"Au1250", ...)
Hi,
__cpu_name[] will be displayed as "cpu model" in cpuinfo, however in x86 world, the name line is started with "model name". Most user applications like lscpu, hwinfo is following x86's rule, we don't have superpower to move all of them.
Also rename "cpu model" will break current ABI, so just create a new array for it would be a better option.
For why Loongson is doing this, I guess they need a chance to show their business processor name instead of revision.
Thanks
> >Manuel
-- Jiaxun Yang
| |