linux/arch/mips/loongson
Huacai Chen d788bfa900 MIPS: Loongson 3: Add IRQ init and dispatch support
IRQ routing path of Loongson-3:
Devices(most) --> I8259 --> HT Controller --> IRQ Routing Table --> CPU
                                                  ^
                                                  |
Device(legacy devices such as UART) --> Bonito ---|

IRQ Routing Table route 32 INTs to CPU's INT0~INT3(IP2~IP5 of CP0), 32
INTs include 16 HT INTs(mostly), 4 PCI INTs, 1 LPC INT, etc. IP6 is used
for IPI and IP7 is used for internal MIPS timer. LOONGSON_INT_ROUTER_*
are IRQ Routing Table registers.

I8259 IRQs are 1:1 mapped to HT1 INTs. LOONGSON_HT1_* are configuration
registers of HT1 controller.

Signed-off-by: Huacai Chen <chenhc@lemote.com>
Signed-off-by: Hongliang Tao <taohl@lemote.com>
Signed-off-by: Hua Yan <yanh@lemote.com>
Tested-by: Alex Smith <alex.smith@imgtec.com>
Reviewed-by: Alex Smith <alex.smith@imgtec.com>
Cc: John Crispin <john@phrozen.org>
Cc: Steven J. Hill <Steven.Hill@imgtec.com>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Cc: linux-mips@linux-mips.org
Cc: Fuxin Zhang <zhangfx@lemote.com>
Cc: Zhangjin Wu <wuzhangjin@gmail.com>
Patchwork: https://patchwork.linux-mips.org/patch/6634
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2014-03-31 18:17:12 +02:00
..
common MIPS: Loongson: Add UEFI-like firmware interface (LEFI) support 2014-03-31 18:17:12 +02:00
fuloong-2e MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
lemote-2f mips: delete non-required instances of include <linux/init.h> 2014-01-24 22:39:56 +01:00
loongson-3 MIPS: Loongson 3: Add IRQ init and dispatch support 2014-03-31 18:17:12 +02:00
Kconfig MIPS: Loongson 2: Sort out clock managment. 2012-08-01 18:10:06 +02:00
Makefile MIPS: Loongson 3: Add IRQ init and dispatch support 2014-03-31 18:17:12 +02:00
Platform MIPS: Loongson: Migrate makefile to new Platform file 2010-08-05 13:25:45 +01:00