]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64s: Add CPU_FTRS_POWER9_DD2_2 to CPU_FTRS_ALWAYS mask
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 19 May 2022 04:30:56 +0000 (14:30 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 22 May 2022 05:59:53 +0000 (15:59 +1000)
commit2f9b7b76b0b0e59db2709359b653e22d2c44e3ed
tree3ffae0de3b791bd673d1f0870a03484995bda4d6
parent4584e27870a97013f8bfb4e7311fc8ef58602ec6
powerpc/64s: Add CPU_FTRS_POWER9_DD2_2 to CPU_FTRS_ALWAYS mask

CPU_FTRS_POWER9_DD2_2 is missing from CPU_FTRS_ALWAYS.

That doesn't cause any bug, because CPU_FTRS_POWER9_DD2_2 adds new bits
that don't appear in other values, so when anded with the other masks
the result is the same.

But for consistency we should have all values in the CPU_FTRS_ALWAYS
mask, so that the logic is robust against the values being changed in
future.

Fixes: 5264a6fb16ce ("powerpc: Add CPU feature bits for TM bug workarounds on POWER9 v2.2")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220519122205.746276-1-mpe@ellerman.id.au
arch/powerpc/include/asm/cputable.h