diff options
| author | Michael Neuling <[email protected]> | 2017-05-24 07:03:26 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2017-05-25 13:07:44 +0000 |
| commit | d957fb4d173647640a2b83e7c7e56a580e7fc7e7 (patch) | |
| tree | a94621575b6942491a3dbc5a32a4240de999866d /drivers/tty/serial/sccnxp.c | |
| parent | powerpc/powernv/npu-dma.c: Fix opal_npu_destroy_context() call (diff) | |
| download | kernel-d957fb4d173647640a2b83e7c7e56a580e7fc7e7.tar.gz kernel-d957fb4d173647640a2b83e7c7e56a580e7fc7e7.zip | |
powerpc: Fix booting P9 hash with CONFIG_PPC_RADIX_MMU=N
Currently if you disable CONFIG_PPC_RADIX_MMU you'll crash on boot on
a P9. This is because we still set MMU_FTR_TYPE_RADIX via
ibm,pa-features and MMU_FTR_TYPE_RADIX is what's used for code patching
in much of the asm code (ie. slb_miss_realmode)
This patch fixes the problem by stopping MMU_FTR_TYPE_RADIX from being
set from ibm.pa-features.
We may eventually end up removing the CONFIG_PPC_RADIX_MMU option
completely but until then this fixes the issue.
Fixes: 17a3dd2f5fc7 ("powerpc/mm/radix: Use firmware feature to enable Radix MMU")
Cc: [email protected] # v4.7+
Signed-off-by: Michael Neuling <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
0 files changed, 0 insertions, 0 deletions
