All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Ellerman <patch-notifications@ellerman.id.au>
To: Michael Neuling <mikey@neuling.org>
Cc: mikey@neuling.org, linuxppc-dev@lists.ozlabs.org
Subject: Re: powerpc: Fix /proc/cpuinfo revision for POWER9 DD2
Date: Thu, 29 Jun 2017 22:21:10 +1000 (AEST)	[thread overview]
Message-ID: <3wyzKM03L9z9s8H@ozlabs.org> (raw)
In-Reply-To: <20170615015316.17070-1-mikey@neuling.org>

On Thu, 2017-06-15 at 01:53:16 UTC, Michael Neuling wrote:
> The P9 PVR bits 12-15 don't indicate a revision but instead different
> chip configurations.  From BookIV we have:
>    Bits      Configuration
>     0 :    Scale out 12 cores
>     1 :    Scale out 24 cores
>     2 :    Scale up  12 cores
>     3 :    Scale up  24 cores
> 
> DD1 doesn't use this but DD2 does. Linux will mostly use the "Scale
> out 24 core" configuration (ie. SMT4 not SMT8) which results in a PVR
> of 0x004e1200. The reported revision in /proc/cpuinfo is hence
> reported incorrectly as "18.0".
> 
> This patch fixes this to mask off only the relevant bits for the major
> revision (ie. bits 8-11) for POWER9.
> 
> Signed-off-by: Michael Neuling <mikey@neuling.org>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/64ebb9a208c6e66316329a6d910181

cheers

      reply	other threads:[~2017-06-29 12:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-15  1:53 [PATCH] powerpc: Fix /proc/cpuinfo revision for POWER9 DD2 Michael Neuling
2017-06-29 12:21 ` Michael Ellerman [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3wyzKM03L9z9s8H@ozlabs.org \
    --to=patch-notifications@ellerman.id.au \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mikey@neuling.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.