diff options
author | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2020-03-25 11:54:57 +0800 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2020-03-25 10:56:43 +0100 |
commit | a93f1d903fa34fc2c5d9fa450bdb6c28d6fdfe00 (patch) | |
tree | a222d8d84f4df4cc23a72cf7f8f79b148a801825 /drivers/irqchip/Kconfig | |
parent | b6280c8bb6f50410a730fa2e07525e371f230230 (diff) | |
download | linux-stable-a93f1d903fa34fc2c5d9fa450bdb6c28d6fdfe00.tar.gz linux-stable-a93f1d903fa34fc2c5d9fa450bdb6c28d6fdfe00.tar.bz2 linux-stable-a93f1d903fa34fc2c5d9fa450bdb6c28d6fdfe00.zip |
irqchip: Add driver for Loongson-3 HyperTransport PIC controller
This controller appeared on Loongson-3 family of chips to receive
interrupts from PCH PIC.
It is a I8259 with optimized interrupt polling flow. We can poll
interrupt number from HT vector directly but still have to follow
standard I8259 routines to mask, unmask and EOI.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Co-developed-by: Huacai Chen <chenhc@lemote.com>
Signed-off-by: Huacai Chen <chenhc@lemote.com>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'drivers/irqchip/Kconfig')
-rw-r--r-- | drivers/irqchip/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index c609eaa319d2..cae6f480c987 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -522,4 +522,14 @@ config LOONGSON_LIOINTC help Support for the Loongson Local I/O Interrupt Controller. +config LOONGSON_HTPIC + bool "Loongson3 HyperTransport PIC Controller" + depends on MACH_LOONGSON64 + default y + select IRQ_DOMAIN + select GENERIC_IRQ_CHIP + select I8259 + help + Support for the Loongson-3 HyperTransport PIC Controller. + endmenu |