linux/arch/m68k/mac
Finn Thain 2ceac7eac0 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-12 11:03:17 +02:00
..
baboon.c m68k/mac: Fix apparent race condition in Baboon interrupt dispatch 2018-03-19 10:22:59 +01:00
config.c m68k: Switch to new sys-off handler API 2022-05-19 19:30:30 +02:00
iop.c m68k: mac: Fix typos in comments 2022-06-20 14:16:43 +02:00
mac_penguin.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
macboing.c m68k: Replace HTTP links with HTTPS ones 2020-09-07 10:56:08 +02:00
macints.c m68k: Add common forward declaration for show_registers() 2022-07-12 10:48:21 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
misc.c m68k: mac: Fix reboot hang on Mac IIci 2024-06-12 11:03:17 +02:00
oss.c m68k/mac: Fix race conditions in OSS interrupt dispatch 2018-01-16 16:52:17 +01:00
psc.c treewide: Add SPDX license identifier for missed files 2019-05-21 10:50:45 +02:00
via.c asm-generic: cross-architecture timer cleanup 2020-12-16 00:07:17 -08:00