Re: [PATCH] m68k: irq: Fix irq numbering in m68k_setup_user_interrupt()

From: Graeme Harker

Date: Sun Nov 15 2026 - 04:12:24 EST


Eero Tamminen recommended the Hatari emulator to me for testing the
Atari caller, so I have now done that.

Hatari from Git (4894d9a), emulating a Falcon and a TT (68030 with MMU,
68882, 14 MB ST-RAM, 64 MB TT-RAM), booted through Hatari's LILO with
its tools/linux/kernel.config and a small BusyBox initramfs. Kernels:
m68k master 8c9ddebb300c (v7.4-rc2) with and without this patch.

On both machines the two kernels boot to init with the same kernel log
and the same /proc/interrupts apart from the counts:

Falcon: 4, 8, 12, 13, 14, 15, 21
TT: 8, 12, 13, 14, 15, 39

all on the "atari" chip, ERR 0. That is what the code suggests:
atari_init_IRQ() puts atari_irq_chip on interrupts 1 to 141 straight
after the call, so on Atari the patch only stops user_irq_chip being
left on interrupt 0.

The Sun-3, VME and Apollo callers are still untested.

Thanks to Eero for the pointer.

Graeme