linux_dsm_epyc7002/arch/mips/cavium-octeon
Kevin Hao 50af0b3848 Revert "MIPS: Octeon: Remove special handling of CONFIG_MIPS_ELF_APPENDED_DTB=y"
commit fe82de91af83a9212b6c704b1ce6cf6d129a108b upstream.

This reverts commit d9df9fb901.

For the OCTEON boards, it need to patch the built-in DTB before using
it. Previously it judges if it is a built-in DTB by checking
fw_passed_dtb. But after commit 37e5c69ffd ("MIPS: head.S: Init
fw_passed_dtb to builtin DTB", the fw_passed_dtb is initialized even
when using built-in DTB. This causes the OCTEON boards boot broken due
to an unpatched built-in DTB is used. Revert the commit d9df9fb901 to
restore the codes before the fw_passed_dtb is used and then fix this
issue.

Fixed: 37e5c69ffd ("MIPS: head.S: Init fw_passed_dtb to builtin DTB")
Cc: stable@vger.kernel.org
Suggested-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-03-04 11:38:26 +01:00
..
crypto crypto: lib/sha1 - remove unnecessary includes of linux/cryptohash.h 2020-05-08 15:32:17 +10:00
executive MIPS: Use fallthrough for arch/mips 2020-05-07 11:55:47 +02:00
cpu.c
csrc-octeon.c
dma-octeon.c dma-mapping updates for 5.10 2020-10-15 14:43:29 -07:00
flash_setup.c
Kconfig
Makefile
oct_ilm.c
octeon_boot.h
octeon-irq.c
octeon-memcpy.S
octeon-platform.c MIPS: Use fallthrough for arch/mips 2020-05-07 11:55:47 +02:00
octeon-usb.c Revert "MIPS: OCTEON: use devm_platform_ioremap_resource" 2020-09-23 09:26:44 +02:00
Platform MIPS: Only include the platform file needed 2020-05-13 00:17:18 +02:00
setup.c Revert "MIPS: Octeon: Remove special handling of CONFIG_MIPS_ELF_APPENDED_DTB=y" 2021-03-04 11:38:26 +01:00
smp.c