]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
sh: hd64461: Handle virq offset for offchip IRQ base and HD64461 IRQ
authorArtur Rojek <contact@artur-rojek.eu>
Mon, 10 Jul 2023 23:31:32 +0000 (01:31 +0200)
committerJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Thu, 13 Jul 2023 06:37:53 +0000 (08:37 +0200)
commit7c28a35e19fafa1d3b367bcd3ec4021427a9397b
tree2ca966d4c73ca9d59e512e879a36465d2f01ff00
parent3d20f7a6eb76afdf9d4ad9cb864c2e2da9c38e1f
sh: hd64461: Handle virq offset for offchip IRQ base and HD64461 IRQ

A recent change to start counting SuperH IRQ #s from 16 breaks support
for the Hitachi HD64461 companion chip.

Move the offchip IRQ base and HD64461 IRQ # by 16 in order to
accommodate for the new virq numbering rules.

Fixes: a8ac2961148e ("sh: Avoid using IRQ0 on SH3 and SH4")
Signed-off-by: Artur Rojek <contact@artur-rojek.eu>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Link: https://lore.kernel.org/r/20230710233132.69734-1-contact@artur-rojek.eu
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
arch/sh/cchips/Kconfig
arch/sh/include/asm/hd64461.h