powerpc/prom: Enable Radix GTSE in cpu pa-features
authorNicholas Piggin <npiggin@gmail.com>
Mon, 20 Jul 2020 04:42:58 +0000 (10:12 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 20 Jul 2020 12:56:40 +0000 (22:56 +1000)
commit9a77c4a0a12597c661be374b8d566516c0341570
treed5599a79f7a90ffdac8b1272a26686ec0847c8dd
parentef9f7cfaa50025068c69cdee8efccee12d9fabfc
powerpc/prom: Enable Radix GTSE in cpu pa-features

When '029ab30b4c0a ("powerpc/mm: Enable radix GTSE only if supported.")'
made GTSE an MMU feature, it was enabled by default in
powerpc-cpu-features but was missed in pa-features. This causes random
memory corruption during boot of PowerNV kernels where
CONFIG_PPC_DT_CPU_FTRS isn't enabled.

Fixes: 029ab30b4c0a ("powerpc/mm: Enable radix GTSE only if supported.")
Reported-by: Qian Cai <cai@lca.pw>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Bharata B Rao <bharata@linux.ibm.com>
[mpe: Unwrap long line]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200720044258.863574-1-bharata@linux.ibm.com
arch/powerpc/kernel/prom.c