Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit f70065a

Browse files
Eero Tamminengeertu
authored andcommitted
m68k: atari: 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. (Bug and fix were first verified on real Atari TT HW by Christian, this patch later on in Hatari emulator.) Fixes: 1fa0b29 ("fbdev: Kill Atari vblank cursor blinking") Reported-by: Nicolas Pomarède <npomarede@corp.free.fr> Closes: https://listengine.tuxfamily.org/lists.tuxfamily.org/hatari-devel/2024/06/msg00016.html Closes: https://lore.kernel.org/all/9aa793d7-82ed-4fbd-bce5-60810d8a9119@helsinkinet.fi Tested-by: Christian Zietz <czietz@gmx.net> Signed-off-by: Eero Tamminen <oak@helsinkinet.fi> Reviewed-by: Michael Schmitz <schmitzmic@gmail.com> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Link: https://lore.kernel.org/20240624144901.5236-1-oak@helsinkinet.fi Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
1 parent 156872f commit f70065a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

arch/m68k/atari/ataints.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -301,11 +301,7 @@ void __init atari_init_IRQ(void)
301301

302302
if (ATARIHW_PRESENT(SCU)) {
303303
/* init the SCU if present */
304-
tt_scu.sys_mask = 0x10; /* enable VBL (for the cursor) and
305-
* disable HSYNC interrupts (who
306-
* needs them?) MFP and SCC are
307-
* enabled in VME mask
308-
*/
304+
tt_scu.sys_mask = 0x0; /* disable all interrupts */
309305
tt_scu.vme_mask = 0x60; /* enable MFP and SCC ints */
310306
} else {
311307
/* If no SCU and no Hades, the HSYNC interrupt needs to be

0 commit comments

Comments
 (0)