• Mark Rutland's avatar
    irq: nds32: avoid CONFIG_HANDLE_DOMAIN_IRQ · 6f877e13
    Mark Rutland authored
    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: default avatarMark Rutland <mark.rutland@arm.com>
    Reviewed-by: default avatarMarc 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>
    6f877e13
Kconfig 1.97 KB