Skip to contentSkip to conversation

m68k: fix TT bootup freeze / unexpected (SCU) interrupt messages

PATCH In review Eero Tamminen 2 participants 2 messages Jun 24, 2024 – Jun 26, 2024 m68k architecture

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 m68k: fix TT bootup freeze / unexpected (SCU) interrupt messages

Avoid freeze on Atari TT / MegaSTe boot with continuous messages of:
unexpected interrupt from 112

Which was due to VBL interrupt being enabled in SCU sys mask, but there being no handler for that any more.

v2: commit description checkpatch fixes

Fixes 1fa0b29f3a43 ("fbdev: Kill Atari vblank cursor blinking")

(Bug and fix were first verified on real Atari TT HW by Christian, this patch later on in Hatari emulator.)

---
 arch/m68k/atari/ataints.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
arch/m68k/atari/ataints.c +1 -5
index 230203ffb..fa189eeb7 100644
@@ -303,11 +303,7 @@ void __init atari_init_IRQ(void)
 
 	if (ATARIHW_PRESENT(SCU)) {
 		/* init the SCU if present */
-		tt_scu.sys_mask = 0x10;		/* enable VBL (for the cursor) and
-									 * disable HSYNC interrupts (who
-									 * needs them?)  MFP and SCC are
-									 * enabled in VME mask
-									 */
+		tt_scu.sys_mask = 0x0;		/* disable all interrupts */
 		tt_scu.vme_mask = 0x60;		/* enable MFP and SCC ints */
 	} else {
 		/* If no SCU and no Hades, the HSYNC interrupt needs to be
Signature · 1 line
2.39.2
maintainer Reviewed-by on v2 1/1
#1 lore raw
Quoted 15 lines · Eero Tamminen

Avoid freeze on Atari TT / MegaSTe boot with continuous messages of:
unexpected interrupt from 112

Which was due to VBL interrupt being enabled in SCU sys mask, but there being no handler for that any more.

v2: commit description checkpatch fixes

Fixes 1fa0b29f3a43 ("fbdev: Kill Atari vblank cursor blinking")

(Bug and fix were first verified on real Atari TT HW by Christian, this patch later on in Hatari emulator.)

Quoted 8 lines

i.e. will queue in the m68k tree for v6.11.

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds