linux-stable/arch/m68k
Finn Thain 3eccf76b57 m68k: mac: Fix reboot hang on Mac IIci
[ Upstream commit 265a3b322d ]

Calling mac_reset() on a Mac IIci does reset the system, but what
follows is a POST failure that requires a manual reset to resolve.
Avoid that by using the 68030 asm implementation instead of the C
implementation.

Apparently the SE/30 has a similar problem as it has used the asm
implementation since before git. This patch extends that solution to
other systems with a similar ROM.

After this patch, the only systems still using the C implementation are
68040 systems where adb_type is either MAC_ADB_IOP or MAC_ADB_II. This
implies a 1 MiB Quadra ROM.

This now includes the Quadra 900/950, which previously fell through to
the "should never get here" catch-all.

Reported-and-tested-by: Stan Johnson <userm57@yahoo.com>
Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Signed-off-by: Finn Thain <fthain@linux-m68k.org>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/r/480ebd1249d229c6dc1f3f1c6d599b8505483fd8.1714797072.git.fthain@linux-m68k.org
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-06-16 13:32:08 +02:00
..
68000 m68k: Check syscall_trace_enter() return code 2023-03-11 16:39:50 +01:00
amiga m68k: amiga: Clean up Amiga hardware configuration 2020-09-07 10:56:08 +02:00
apollo mm: don't include asm/pgtable.h if linux/mm.h is already included 2020-06-09 09:39:13 -07:00
atari treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
bvme6000 mm: don't include asm/pgtable.h if linux/mm.h is already included 2020-06-09 09:39:13 -07:00
coldfire m68k: Check syscall_trace_enter() return code 2023-03-11 16:39:50 +01:00
configs ide/macide: Convert Mac IDE driver to platform driver 2020-09-28 10:48:17 +02:00
emu m68k: emu: Fix invalid free in nfeth_cleanup() 2021-09-15 09:50:27 +02:00
fpsp040 m68k: Fix invalid .section syntax 2023-09-19 12:20:04 +02:00
hp300
ifpsp060 m68k: Fix invalid .section syntax 2023-09-19 12:20:04 +02:00
include m68k/cpu: Switch to arch_cpu_finalize_init() 2023-08-08 19:57:36 +02:00
kernel m68k: Fix spinlock race in kernel thread creation 2024-06-16 13:32:08 +02:00
lib m68k: get rid of zeroing destination on error in csum_and_copy_from_user() 2020-08-20 15:45:17 -04:00
mac m68k: mac: Fix reboot hang on Mac IIci 2024-06-16 13:32:08 +02:00
math-emu
mm exit: Add and use make_task_dead. 2023-02-01 08:23:19 +01:00
mvme16x m68k: mvme147,mvme16x: Don't wipe PCC timer config bits 2021-05-14 09:50:14 +02:00
mvme147 m68k: mvme147,mvme16x: Don't wipe PCC timer config bits 2021-05-14 09:50:14 +02:00
q40 mm: don't include asm/pgtable.h if linux/mm.h is already included 2020-06-09 09:39:13 -07:00
sun3 m68k: sun3: Descend to prom from arch/m68k/sun3 2020-07-13 11:39:12 +02:00
sun3x mm: remove unneeded includes of <asm/pgalloc.h> 2020-08-07 11:33:26 -07:00
tools/amiga
Kbuild m68k: sun3: Descend to prom from arch/m68k/sun3 2020-07-13 11:39:12 +02:00
Kconfig m68k/cpu: Switch to arch_cpu_finalize_init() 2023-08-08 19:57:36 +02:00
Kconfig.bus Revert "m68knommu: only set CONFIG_ISA_DMA_API for ColdFire sub-arch" 2022-07-29 17:19:09 +02:00
Kconfig.cpu m68k: math-emu: Fix dependencies of math emulation support 2022-06-09 10:21:09 +02:00
Kconfig.debug
Kconfig.devices m68k: /proc/hardware should depend on PROC_FS 2023-03-11 16:39:27 +01:00
Kconfig.machine m68knommu: fix undefined reference to `_init_sp' 2022-06-14 18:32:38 +02:00
Makefile kbuild: preprocess module linker script 2020-09-25 00:36:41 +09:00
install.sh