powerpc/64s: Fix DT CPU features Power9 DD2.1 logic

Michael Ellerman patch-notifications at ellerman.id.au
Wed Jun 20 09:21:11 AEST 2018


On Wed, 2018-06-13 at 13:23:56 UTC, Michael Ellerman wrote:
> In the device tree CPU features quirk code we want to set
> CPU_FTR_POWER9_DD2_1 on all Power9s that aren't DD2.0 or earlier. But
> we got the logic wrong and instead set it on all CPUs that aren't
> Power9 DD2.0 or earlier, ie. including Power8.
> 
> Fix it by making sure we're on a Power9. This isn't a bug in practice
> because the only code that checks the feature is Power9 only to begin
> with. But we'll backport it anyway to avoid confusion.
> 
> Fixes: 9e9626ed3a4a ("powerpc/64s: Fix POWER9 DD2.2 and above in DT CPU features")
> Cc: stable at vger.kernel.org # v4.17+
> Reported-by: Paul Mackerras <paulus at samba.org>
> Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>
> Acked-by: Nicholas Piggin <npiggin at gmail.com>

Applied to powerpc fixes.

https://git.kernel.org/powerpc/c/749a0278c2177b2d16da5d8b135ba7

cheers


More information about the Linuxppc-dev mailing list