Re: [PATCH] arm64: cpuinfo: Include cleartext implementer and part strings

From: Marc Zyngier
Date: Mon Jul 16 2018 - 05:17:24 EST


Hi Olof,

On 15/07/18 04:53, Olof Johansson wrote:
> There's some use in printing out what the implementer and part numbers
> decode to for cases where they're known.
>
> I filled in the table based on public information; mostly from ARM TRMs
> and other tools (and some of the SSBD tables in the kernel, etc).
>
> Apple IDs came from
> https://github.com/apple/darwin-xnu/blob/master/osfmk/arm/cpuid.h
>
> Signed-off-by: Olof Johansson <olof@xxxxxxxxx>
> ---
> arch/arm64/kernel/cpuinfo.c | 79 +++++++++++++++++++++++++++++++++++++++++++--
> 1 file changed, 76 insertions(+), 3 deletions(-)

[...]

The same thing pops up every so often. And the answer is the same each time:

- it breaks an existing userspace ABI by changing the format of cpuinfo
- it is unmaintainable in the long run
- userspace already has this information by simply running "lscpu"

What has changed?

M.
--
Jazz is not dead. It just smells funny...