android_kernel_xiaomi_sm8450/arch/powerpc/platforms/8xx
Christophe Leroy a8b871dfac powerpc/8xx: Fix early debug when SMC1 is relocated
commit 1e78f723d6a52966bfe3804209dbf404fdc9d3bb upstream.

When SMC1 is relocated and early debug is selected, the
board hangs is ppc_md.setup_arch(). This is because ones
the microcode has been loaded and SMC1 relocated, early
debug writes in the weed.

To allow smooth continuation, the SMC1 parameter RAM set up
by the bootloader have to be copied into the new location.

Fixes: 43db76f418 ("powerpc/8xx: Add microcode patch to move SMC parameter RAM.")
Cc: stable@vger.kernel.org
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/b2f71f39eca543f1e4ec06596f09a8b12235c701.1607076683.git.christophe.leroy@csgroup.eu
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-12-30 11:54:16 +01:00
..
adder875.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
cpm1.c mm: don't include asm/pgtable.h if linux/mm.h is already included 2020-06-09 09:39:13 -07:00
ep88xc.c powerpc/8xx: Remove RTC clock on 88x 2018-06-04 00:39:18 +10:00
Kconfig powerpc/8xx: Allow large TLBs with DEBUG_PAGEALLOC 2020-05-26 22:22:23 +10:00
m8xx_setup.c powerpc: Replace setup_irq() by request_irq() 2020-03-25 12:07:57 +11:00
machine_check.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
Makefile powerpc/8xx: move CPM1 related files from sysdev/ to platforms/8xx 2019-07-05 02:06:37 +10:00
micropatch.c powerpc/8xx: Fix early debug when SMC1 is relocated 2020-12-30 11:54:16 +01:00
mpc8xx.h powerpc: Make ppc_md.{halt, restart} __noreturn 2016-07-14 21:12:06 +10:00
mpc86xads_setup.c powerpc: Move 32-bit probe() machine to later in the boot process 2016-07-21 19:06:42 +10:00
mpc86xads.h [POWERPC] 8xx: Convert mpc866ads to the new device binding. 2007-12-13 22:45:35 -06:00
mpc885ads_setup.c powerpc/8xx: Remove RTC clock on 88x 2018-06-04 00:39:18 +10:00
mpc885ads.h powerpc/cpm: Remove some cruft code and defines 2009-05-19 00:47:19 -05:00
pic.c powerpc/8xx: add __init to cpm1 init functions 2019-11-19 19:38:35 +11:00
pic.h powerpc/8xx: Move mpc8xx_pic.c from sysdev to platform/8xx 2017-08-10 23:32:07 +10:00
tqm8xx_setup.c powerpc: Move 32-bit probe() machine to later in the boot process 2016-07-21 19:06:42 +10:00