1 From 1fbe96ec05c41b313b4e7cc4b39b191b4a3f7540 Mon Sep 17 00:00:00 2001
2 From: Samuel Holland <samuel@sholland.org>
3 Date: Sat, 7 May 2022 18:38:34 -0500
4 Subject: [PATCH 012/117] irqchip/sifive-plic: Enable oneshot-safe threaded
7 Signed-off-by: Samuel Holland <samuel@sholland.org>
9 drivers/irqchip/irq-sifive-plic.c | 4 +++-
10 1 file changed, 3 insertions(+), 1 deletion(-)
12 --- a/drivers/irqchip/irq-sifive-plic.c
13 +++ b/drivers/irqchip/irq-sifive-plic.c
14 @@ -201,7 +201,9 @@ static struct irq_chip plic_chip = {
15 .irq_set_affinity = plic_set_affinity,
17 .irq_set_type = plic_irq_set_type,
18 - .flags = IRQCHIP_AFFINITY_PRE_STARTUP,
19 + .flags = IRQCHIP_ONESHOT_SAFE |
20 + IRQCHIP_EOI_THREADED |
21 + IRQCHIP_AFFINITY_PRE_STARTUP,
24 static int plic_irq_set_type(struct irq_data *d, unsigned int type)