]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit733d7fb5ecae6ef0570fb857e93d50f125b280bf
treeed7c872877c88343b10a10028216aff49c1c3bff
parent6ec09243ac2c774b8b367974d4c490e90c758caf
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: 31476f4bb7c7 ("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