Files
linux/arch/powerpc/include/asm
Christophe Leroy 1c6e4b1330 powerpc/feature: Fix CPU_FTRS_ALWAYS by removing CPU_FTRS_GENERIC_32
[ Upstream commit 78665179e5 ]

On 8xx, we get the following features:

[    0.000000] cpu_features      = 0x0000000000000100
[    0.000000]   possible        = 0x0000000000000120
[    0.000000]   always          = 0x0000000000000000

This is not correct. As CONFIG_PPC_8xx is mutually exclusive with all
other configurations, the three lines should be equal.

The problem is due to CPU_FTRS_GENERIC_32 which is taken when
CONFIG_BOOK3S_32 is NOT selected. This CPU_FTRS_GENERIC_32 is
pointless because there is no generic configuration supporting
all 32 bits but book3s/32.

Remove this pointless generic features definition to unbreak the
calculation of 'possible' features and 'always' features.

Fixes: 76bc080ef5 ("[POWERPC] Make default cputable entries reflect selected CPU family")
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/76a85f30bf981d1aeaae00df99321235494da254.1604426550.git.christophe.leroy@csgroup.eu
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-12-30 11:53:15 +01:00
..
2020-05-28 23:24:36 +10:00
2019-11-18 22:27:51 +11:00
2020-05-28 23:24:36 +10:00
2020-10-08 12:50:52 +11:00
2015-05-28 15:31:53 +02:00
2020-10-07 22:34:47 +11:00
2020-07-27 14:29:23 -04:00
2020-05-28 23:24:36 +10:00
2020-07-23 17:41:36 +10:00
2020-07-20 22:57:58 +10:00
2020-10-06 07:07:03 +02:00
2016-06-14 13:58:26 +10:00
2020-06-02 20:59:20 +10:00
2018-05-25 12:04:43 +10:00
2020-10-06 23:22:26 +11:00
2020-07-27 00:01:32 +10:00
2020-07-23 17:43:44 +10:00
2018-07-30 22:48:21 +10:00
2019-05-01 16:45:05 +10:00