Skip to content

arm64: clean up /proc/cpuinfo

Mark Rutland linux-arm-kernel 1 version New

Get series with b4
b4 am 20140630091352.GP7262@leverpostej

Versions newest first

  1. v1 Latest0 of 2 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] arm64: clean up /proc/cpuinfo

Hi Bjorn,

Quoted 8 lines · Bjorn Helgaas

On arm64, /proc/cpuinfo currently looks like:

    Processor       : AArch64 Processor rev 0 (aarch64)
    processor       : 0
    processor       : 1

...
Features : ...

Quoted 7 lines

Compared to most other architectures (including arm), this has an extra "Processor" header, and the "Features" and other bits only appear once, so there's no way to have per-CPU features, variants, etc.

These patches make arm64 more consistent with the other architectures by removing the extra header and printing the CPU ID information for each CPU.

This looks very much like the series I've been working on [1,2,3], that reports the MIDR information and performs some additional sanity checking (expecting CPUs to have identical hwcap features).

Did you need this for any reason it particular, or was this just a clean up?

Does my series look OK to you?

Cheers,
Mark.

[1] http://lists.infradead.org/pipermail/linux-arm-kernel/2014-May/255389.html
[2] http://lists.infradead.org/pipermail/linux-arm-kernel/2014-June/264387.html
[3] http://lists.infradead.org/pipermail/linux-arm-kernel/2014-June/266973.html