]> git.baikalelectronics.ru Git - kernel.git/commit
irq: nds32: avoid CONFIG_HANDLE_DOMAIN_IRQ
authorMark Rutland <mark.rutland@arm.com>
Wed, 20 Oct 2021 10:36:08 +0000 (11:36 +0100)
committerMark Rutland <mark.rutland@arm.com>
Mon, 25 Oct 2021 09:05:29 +0000 (10:05 +0100)
commita5a30a06898c6d8ed336884e85de05e1af0a8273
tree83ea46696a344019020caa2419a10a25d7c42e2e
parent215cb6e81e18f2deb33502bf06b2c43fed83beff
irq: nds32: avoid CONFIG_HANDLE_DOMAIN_IRQ

In preparation for removing HANDLE_DOMAIN_IRQ, have arch/nds32 perform
all the necessary IRQ entry accounting in its entry code.

Currently arch/nds32 is tightly coupled with the ativic32 irqchip, and
while the entry code should logically live under arch/nds32/, moving the
entry logic there makes things more convoluted. So for now, place the
entry logic in the ativic32 irqchip, but separated into a separate
function to make the split of responsibility clear.

In future this should probably use GENERIC_IRQ_MULTI_HANDLER to cleanly
decouple this.

There should be no functional change as a result of this patch.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Cc: Greentime Hu <green.hu@gmail.com>
Cc: Nick Hu <nickhu@andestech.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vincent Chen <deanbo422@gmail.com>
arch/nds32/Kconfig
drivers/irqchip/irq-ativic32.c