irqchip/riscv-intc: Fix low-level interrupt handler setup for AIA
authorAnup Patel <apatel@ventanamicro.com>
Mon, 26 Feb 2024 04:07:37 +0000 (09:37 +0530)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 27 Feb 2024 21:06:32 +0000 (22:06 +0100)
commit678c607ecf8a9b1b2ea09c367877164ba66cb11f
tree7c55f6c166af34853d85dbf8e1d75938fd87e7c5
parentc147e1ef59d4751a60687074e4268ecc0ef31b5c
irqchip/riscv-intc: Fix low-level interrupt handler setup for AIA

Use riscv_intc_aia_irq() as the low-level interrupt handler instead of the
existing riscv_intc_irq() default handler to make demultiplexing work
correctly.

Also print "using AIA" in the INTC boot banner when AIA is available.

Fixes: 3c46fc5b5507 ("irqchip/riscv-intc: Add support for RISC-V AIA")
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20240226040746.1396416-2-apatel@ventanamicro.com
drivers/irqchip/irq-riscv-intc.c