]> www.infradead.org Git - users/jedix/linux-maple.git/commit
irqchip/armada-370-xp: Allow mapping only per-CPU interrupts
authorMarek BehĂșn <kabel@kernel.org>
Wed, 7 Aug 2024 16:41:03 +0000 (18:41 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 8 Aug 2024 15:15:01 +0000 (17:15 +0200)
commitd6ca3f440239fb4fa85228ead4c5e8b286645b7e
tree3400e6d63b23f18fdb07d531ad5c81a9b679b4ab
parent4042a965a5e62c8d298d642cbf72b14f41687319
irqchip/armada-370-xp: Allow mapping only per-CPU interrupts

On platforms where MPIC is not the top-level interrupt controller the
driver currently only supports handling of the per-CPU interrupts (the
first 29 interrupts). This is obvious from the code of
mpic_handle_cascade_irq(), which reads only one cause register.

Bound the number of available interrupts in the interrupt domain to 29 for
these platforms.

The corresponding device-trees refer only to per-CPU interrupts via MPIC,
the other interrupts are referred to via GIC.

Signed-off-by: Marek BehĂșn <kabel@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/irqchip/irq-armada-370-xp.c