diff mbox series

[3/3] irqchip/sifive-plic: Enable oneshot-safe threaded EOIs

Message ID 20221126234134.32660-4-samuel@sholland.org (mailing list archive)
State Changes Requested
Headers show
Series genirq: oneshot-safe threaded EOIs | expand

Checks

Context Check Description
conchuod/tree_selection fail Guessing tree name failed

Commit Message

Samuel Holland Nov. 26, 2022, 11:41 p.m. UTC
This defers the EOI until the IRQ thread has finished, avoiding the need
to mask the IRQ while the thread is pending.

Signed-off-by: Samuel Holland <samuel@sholland.org>
---

 drivers/irqchip/irq-sifive-plic.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/drivers/irqchip/irq-sifive-plic.c b/drivers/irqchip/irq-sifive-plic.c
index ff47bd0dec45..d8fc3354b38c 100644
--- a/drivers/irqchip/irq-sifive-plic.c
+++ b/drivers/irqchip/irq-sifive-plic.c
@@ -203,6 +203,8 @@  static struct irq_chip plic_chip = {
 #endif
 	.irq_set_type	= plic_irq_set_type,
 	.flags		= IRQCHIP_SKIP_SET_WAKE |
+			  IRQCHIP_ONESHOT_SAFE |
+			  IRQCHIP_EOI_THREADED |
 			  IRQCHIP_AFFINITY_PRE_STARTUP,
 };