• Andrew Bresticker's avatar
    irqchip: mips-gic: Stop using per-platform mapping tables · 18743d27
    Andrew Bresticker authored
    Now that the GIC properly uses IRQ domains, kill off the per-platform
    routing tables that were used to make the GIC appear transparent.
    
    This includes:
     - removing the mapping tables and the support for applying them,
     - moving GIC IPI support to the GIC driver,
     - properly routing the i8259 through the GIC on Malta, and
     - updating IRQ assignments on SEAD-3 when the GIC is present.
    
    Platforms no longer will pass an interrupt mapping table to gic_init.
    Instead, they will pass the CPU interrupt vector (2 - 7) that they
    expect the GIC to route interrupts to.  Note that in EIC mode this
    value is ignored and all GIC interrupts are routed to EIC vector 1.
    Signed-off-by: default avatarAndrew Bresticker <abrestic@chromium.org>
    Acked-by: default avatarJason Cooper <jason@lakedaemon.net>
    Reviewed-by: default avatarQais Yousef <qais.yousef@imgtec.com>
    Tested-by: default avatarQais Yousef <qais.yousef@imgtec.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Jeffrey Deans <jeffrey.deans@imgtec.com>
    Cc: Markos Chandras <markos.chandras@imgtec.com>
    Cc: Paul Burton <paul.burton@imgtec.com>
    Cc: Jonas Gorski <jogo@openwrt.org>
    Cc: John Crispin <blogic@openwrt.org>
    Cc: David Daney <ddaney.cavm@gmail.com>
    Cc: linux-mips@linux-mips.org
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/7816/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
    18743d27
gic.h 12.5 KB