[PATCH v9 02/10] irqchip/riscv-intc: Allow large non-standard interrupt number
Thomas Gleixner
tglx at linutronix.de
Thu Feb 22 13:33:58 PST 2024
On Thu, Feb 22 2024 at 16:39, Yu Chien Peter Lin wrote:
> Currently, the implementation of the RISC-V INTC driver uses the
> interrupt cause as the hardware interrupt number, with a maximum of
> 64 interrupts. However, the platform can expand the interrupt number
> further for custom local interrupts.
>
> To fully utilize the available local interrupt sources, switch
> to using irq_domain_create_tree() that creates the radix tree
> map, add global variables (riscv_intc_nr_irqs, riscv_intc_custom_base
> and riscv_intc_custom_nr_irqs) to determine the valid range of local
> interrupt number (hwirq).
>
> Signed-off-by: Yu Chien Peter Lin <peterlin at andestech.com>
> Reviewed-by: Randolph <randolph at andestech.com>
> Reviewed-by: Anup Patel <anup at brainfault.org>
> Reviewed-by: Atish Patra <atishp at rivosinc.com>
Reviewed-by: Thomas Gleixner <tglx at linutronix.de>
More information about the linux-riscv
mailing list