kernel_samsung_a53x/arch/m68k
Finn Thain 8e235c317e m68k: mac: Fix reboot hang on Mac IIci
[ Upstream commit 265a3b322df9a973ff1fc63da70af456ab6ae1d6 ]

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: 1da177e4c3f4 ("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-11-19 12:26:56 +01:00
..
68000 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
amiga Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
apollo Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
atari Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bvme6000 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
coldfire Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
configs Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
emu Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fpsp040 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hp300 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ifpsp060 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
include Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kernel m68k: Fix spinlock race in kernel thread creation 2024-11-19 12:26:56 +01:00
lib Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mac m68k: mac: Fix reboot hang on Mac IIci 2024-11-19 12:26:56 +01:00
math-emu Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mm Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mvme16x Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mvme147 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
q40 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sun3 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sun3x Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tools/amiga Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
install.sh Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kbuild Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig.bus Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig.cpu Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig.debug Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig.devices Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig.machine Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00