powerpc/64s: Fix Power9 DD2.1 logic in DT CPU features
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 22 Nov 2017 12:17:01 +0000 (23:17 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 22 Nov 2017 12:17:01 +0000 (23:17 +1100)
commit4d6c51b107cc73b15a377224549aa5593f90df89
treeed7c872877c88343b10a10028216aff49c1c3bff
parent73ce9aec65b17433e18163d07eb5cb6bf114bd6c
powerpc/64s: Fix Power9 DD2.1 logic in DT CPU features

I got the logic wrong in the DT CPU features code when I added the
Power9 DD2.1 feature. We should be setting the bit if we detect a
DD2.1, not clearing it if we detect a DD2.0.

This code isn't actually exercised at the moment so nothing is
actually broken.

Fixes: 3ffa9d9e2a7c ("powerpc/64s: Fix Power9 DD2.0 workarounds by adding DD2.1 feature")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/dt_cpu_ftrs.c