Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1740746

Re: [PATCH 3/3] arm64: cpuinfo: display product info in /proc/cpuinfo

From Mark Rutland <mark.rutland@arm.com>
Newsgroups linux.kernel
Subject Re: [PATCH 3/3] arm64: cpuinfo: display product info in /proc/cpuinfo
Date 2017-09-27 15:50 +0200
Message-ID <uukST-3A0-33@gated-at.bofh.it> (permalink)
References <uu6wx-2em-3@gated-at.bofh.it> <uu6wy-2em-27@gated-at.bofh.it> <uui4F-1h8-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

On Wed, Sep 27, 2017 at 11:42:07AM +0100, Robin Murphy wrote:
> On 26/09/17 23:23, Al Stone wrote:
> > +			seq_printf(m, ", ARM 8.%d (r%dp%d) CPU",
> > +				   MIDR_VARIANT(midr),
> > +				   MIDR_VARIANT(midr),
> > +				   MIDR_REVISION(midr));
> 
> What is "ARM 8.1" meant to infer for, say, a typical Cortex-A57?

Just to make Robin's point a little clearer, MIDR_EL1.Variant is
IMPLEMENTATION DEFINED, and doesn't describe the ARMv8.x architecture
revision.

For example, on Cortex A57 is contains the major revision number of the
CPU, and is 1 for any r1pY Cortex-A57 (e.g. those on Juno R1).

For better or worse, the architecture provides us no mechanism to
determine the architecture revision.

Thanks,
Mark.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/3] arm64: cpuinfo: make /proc/cpuinfo more human-readable Al Stone <ahs3@redhat.com> - 2017-09-27 00:30 +0200
  [PATCH 1/3] arm64: cpuinfo: add MPIDR value to /proc/cpuinfo Al Stone <ahs3@redhat.com> - 2017-09-27 00:30 +0200
    Re: [PATCH 1/3] arm64: cpuinfo: add MPIDR value to /proc/cpuinfo Mark Rutland <mark.rutland@arm.com> - 2017-09-27 13:40 +0200
  [PATCH 3/3] arm64: cpuinfo: display product info in /proc/cpuinfo Al Stone <ahs3@redhat.com> - 2017-09-27 00:30 +0200
    Re: [PATCH 3/3] arm64: cpuinfo: display product info in /proc/cpuinfo Florian Fainelli <f.fainelli@gmail.com> - 2017-09-27 02:50 +0200
    Re: [PATCH 3/3] arm64: cpuinfo: display product info in /proc/cpuinfo Robin Murphy <robin.murphy@arm.com> - 2017-09-27 12:50 +0200
      Re: [PATCH 3/3] arm64: cpuinfo: display product info in /proc/cpuinfo Mark Rutland <mark.rutland@arm.com> - 2017-09-27 15:50 +0200
    Re: [PATCH 3/3] arm64: cpuinfo: display product info in /proc/cpuinfo Mark Rutland <mark.rutland@arm.com> - 2017-09-27 13:40 +0200
  [PATCH 2/3] arm64: cpuinfo: add human readable CPU names to /proc/cpuinfo Al Stone <ahs3@redhat.com> - 2017-09-27 00:30 +0200
    Re: [PATCH 2/3] arm64: cpuinfo: add human readable CPU names to  /proc/cpuinfo Robin Murphy <robin.murphy@arm.com> - 2017-09-27 12:40 +0200
    Re: [PATCH 2/3] arm64: cpuinfo: add human readable CPU names to  /proc/cpuinfo Mark Rutland <mark.rutland@arm.com> - 2017-09-27 13:30 +0200
  Re: [PATCH 0/3] arm64: cpuinfo: make /proc/cpuinfo more  human-readable Mark Rutland <mark.rutland@arm.com> - 2017-09-27 12:40 +0200

csiph-web