2023-05-24 21:51:14 +00:00
|
|
|
From d6cf6473b0aaec455e48bccefe318a98a87b789f Mon Sep 17 00:00:00 2001
|
|
|
|
From: Samuel Holland <samuel@sholland.org>
|
|
|
|
Date: Sat, 28 May 2022 19:04:56 -0500
|
|
|
|
Subject: [PATCH 013/117] irqchip/sifive-plic: Support wake IRQs
|
|
|
|
|
|
|
|
Signed-off-by: Samuel Holland <samuel@sholland.org>
|
|
|
|
---
|
|
|
|
drivers/irqchip/irq-sifive-plic.c | 6 ++++--
|
|
|
|
1 file changed, 4 insertions(+), 2 deletions(-)
|
|
|
|
|
|
|
|
--- a/drivers/irqchip/irq-sifive-plic.c
|
|
|
|
+++ b/drivers/irqchip/irq-sifive-plic.c
|
2024-03-01 21:08:40 +00:00
|
|
|
@@ -193,7 +193,8 @@ static struct irq_chip plic_edge_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_SKIP_SET_WAKE |
|
|
|
|
+ IRQCHIP_AFFINITY_PRE_STARTUP,
|
|
|
|
};
|
|
|
|
|
|
|
|
static struct irq_chip plic_chip = {
|
2024-03-01 21:08:40 +00:00
|
|
|
@@ -207,7 +208,8 @@ 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_ONESHOT_SAFE |
|
|
|
|
+ .flags = IRQCHIP_SKIP_SET_WAKE |
|
|
|
|
+ IRQCHIP_ONESHOT_SAFE |
|
|
|
|
IRQCHIP_EOI_THREADED |
|
|
|
|
IRQCHIP_AFFINITY_PRE_STARTUP,
|
|
|
|
};
|