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

2017-11-24 Thread Michael Ellerman
On Wed, 2017-11-22 at 12:28:52 UTC, Michael Ellerman wrote: > 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 s

[PATCH] powerpc/64s: Fix Power9 DD2.1 logic in DT CPU features

2017-11-22 Thread Michael Ellerman
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