2023-05-24 21:51:14 +00:00
|
|
|
From 1fbe96ec05c41b313b4e7cc4b39b191b4a3f7540 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Samuel Holland <samuel@sholland.org>
|
|
|
|
Date: Sat, 7 May 2022 18:38:34 -0500
|
|
|
|
Subject: [PATCH 012/117] irqchip/sifive-plic: Enable oneshot-safe threaded
|
|
|
|
EOIs
|
|
|
|
|
|
|
|
Signed-off-by: Samuel Holland <samuel@sholland.org>
|
|
|
|
---
|
|
|
|
drivers/irqchip/irq-sifive-plic.c | 4 +++-
|
|
|
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
|
|
|
|
|
|
--- a/drivers/irqchip/irq-sifive-plic.c
|
|
|
|
+++ b/drivers/irqchip/irq-sifive-plic.c
|
2024-03-01 21:08:40 +00:00
|
|
|
@@ -207,7 +207,9 @@ static struct irq_chip plic_chip = {
|
2023-05-24 21:51:14 +00:00
|
|
|
.irq_set_affinity = plic_set_affinity,
|
|
|
|
#endif
|
|
|
|
.irq_set_type = plic_irq_set_type,
|
|
|
|
- .flags = IRQCHIP_AFFINITY_PRE_STARTUP,
|
|
|
|
+ .flags = IRQCHIP_ONESHOT_SAFE |
|
|
|
|
+ IRQCHIP_EOI_THREADED |
|
|
|
|
+ IRQCHIP_AFFINITY_PRE_STARTUP,
|
|
|
|
};
|
|
|
|
|
|
|
|
static int plic_irq_set_type(struct irq_data *d, unsigned int type)
|