]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64s: Add CPU_FTRS_POWER10 to ALWAYS mask
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 19 May 2022 05:03:57 +0000 (15:03 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 22 May 2022 05:59:53 +0000 (15:59 +1000)
commit1607696b01d7b36ed8bc041426ee0319edafbdd7
treefe104659af899667fde0209ba8dd9b90165dc439
parent9891c3dc4bcef811da6cd7fe4da992903c7284a9
powerpc/64s: Add CPU_FTRS_POWER10 to ALWAYS mask

CPU_FTRS_POWER10 is missing from the CPU_FTRS_ALWAYS mask.

Currently that doesn't cause any bug, because it is a superset of the
POWER9 mask, which the exception of CPU_FTR_TM, but POWER7 doesn't have
CPU_FTR_TM, so CPU_FTR_TM is not in the ALWAYS mask to begin with.

However for consistency, and to be robust against future changes, it
should be included in the ALWAYS mask.

Fixes: e9c2d9b685b2 ("powerpc: Add POWER10 architected mode")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220519122205.746276-2-mpe@ellerman.id.au
arch/powerpc/include/asm/cputable.h