irqchip/sifive-plic: set max threshold for ignored handlers
authorChristoph Hellwig <hch@lst.de>
Tue, 3 Sep 2019 09:32:20 +0000 (11:32 +0200)
committerPaul Walmsley <paul.walmsley@sifive.com>
Thu, 5 Sep 2019 08:59:55 +0000 (01:59 -0700)
commit9ce06497c2722a0f9109e4cc3ce35b7a69617886
tree3f02b1f5d1829992b721dc4e8eddeb90ca8bb173
parent95594cb40c6e013e04659f7316fbdebe83913c58
irqchip/sifive-plic: set max threshold for ignored handlers

When running in M-mode, the S-mode plic handlers are still listed in the
device tree.  Ignore them by setting the maximum threshold.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
drivers/irqchip/irq-sifive-plic.c