]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
sh: mach-dreamcast: Handle virq offset in cascaded IRQ demux
authorGeert Uytterhoeven <geert+renesas@glider.be>
Sun, 9 Jul 2023 13:10:43 +0000 (15:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Jul 2023 14:22:18 +0000 (16:22 +0200)
commit0ff5d219eb8ae8a4bcdf4ec3e92c26f829d86cda
tree50c6e6a7cab72b94b870f198038431bd0c92093a
parent5628b9aa31798387a1340d889d4c6d7a33ecabe1
sh: mach-dreamcast: Handle virq offset in cascaded IRQ demux

commit 3d20f7a6eb76afdf9d4ad9cb864c2e2da9c38e1f upstream.

Take into account the virq offset when translating cascaded interrupts.

Fixes: a8ac2961148e8c72 ("sh: Avoid using IRQ0 on SH3 and SH4")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Link: https://lore.kernel.org/r/7d0cb246c9f1cd24bb1f637ec5cb67e799a4c3b8.1688908227.git.geert+renesas@glider.be
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/sh/boards/mach-dreamcast/irq.c