irqchip: add a SiFive PLIC driver
authorChristoph Hellwig <hch@lst.de>
Thu, 26 Jul 2018 14:27:00 +0000 (16:27 +0200)
committerPalmer Dabbelt <palmer@sifive.com>
Mon, 13 Aug 2018 15:31:32 +0000 (08:31 -0700)
commit8237f8bc4f6eb7e5ce2a19276079cfd3a7c6314a
tree68c054430cfba76983a2d0e3db12a7d563d72230
parent94f592f0e5b9c17a7505119a2d6c0f1f529ae93d
irqchip: add a SiFive PLIC driver

Add a driver for the SiFive implementation of the RISC-V Platform Level
Interrupt Controller (PLIC).  The PLIC connects global interrupt sources
to the local interrupt controller on each hart.

This driver is based on the driver in the RISC-V tree from Palmer Dabbelt,
but has been almost entirely rewritten since, and includes many fixes
from Atish Patra.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
[Binding update by Palmer]
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
arch/riscv/configs/defconfig
drivers/irqchip/Kconfig
drivers/irqchip/Makefile
drivers/irqchip/irq-sifive-plic.c [new file with mode: 0644]