All of lore.kernel.org
 help / color / mirror / Atom feed
* irq storm on sd/mmc card detect gpio interrupt alloced from pinctrl device
@ 2023-08-30  3:05 Chen, Hongzhan
  2023-08-30  7:11 ` Jan Kiszka
  2023-08-30  7:20 ` Florian Bezdeka
  0 siblings, 2 replies; 21+ messages in thread
From: Chen, Hongzhan @ 2023-08-30  3:05 UTC (permalink / raw)
  To: xenomai@lists.linux.dev

Hi Philippe/Jan

We found there is irq storm issue like [1] on sd/mmc card detect interrupt alloced from 
pinctrl device with Xenomai 3.2 Dovetail 5.10.*
According to our test,  the patch [2] works for such issue in our case. It seems that handle_edge_irq 
never ack the irq to clear the interrupt status for the Linux gpio interrupt. 

I am wondering if there is any side-effect for this patch, Please suggest.

Regards

Hongzhan Chen

[1]:
cat /proc/interrupts
  14:    2440190          0          0          0  IR-IO-APIC   14    -fasteoi   INTC1020:00, INTC1020:01, INTC1020:03, INTC1020:04, INTC1020:05
128:    2440190          0          0          0  INTC1020:01  112      0000:00:1a.1 cd

[2]:
diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c
index 6aca6c036ada..4d08eaf076e9 100644
--- a/kernel/irq/chip.c
+++ b/kernel/irq/chip.c
@@ -869,7 +869,6 @@ void handle_edge_irq(struct irq_desc *desc)
        kstat_incr_irqs_this_cpu(desc);

        /* Start handling the irq */
-       if (!irqs_pipelined())
                chip->irq_ack(&desc->irq_data);



^ permalink raw reply related	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2023-09-04 13:35 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-30  3:05 irq storm on sd/mmc card detect gpio interrupt alloced from pinctrl device Chen, Hongzhan
2023-08-30  7:11 ` Jan Kiszka
2023-08-30  7:32   ` Chen, Hongzhan
2023-08-30  7:20 ` Florian Bezdeka
2023-08-30  7:54   ` Chen, Hongzhan
2023-08-30 13:23     ` Florian Bezdeka
2023-08-31  0:45       ` Chen, Hongzhan
2023-08-31  7:09         ` Florian Bezdeka
2023-08-31  7:39           ` Chen, Hongzhan
2023-08-31  8:06             ` Philippe Gerum
2023-08-31  8:35               ` Chen, Hongzhan
2023-08-31  8:56                 ` Philippe Gerum
2023-09-01  2:28                   ` Chen, Hongzhan
2023-09-01  6:35                     ` Philippe Gerum
2023-09-04  8:20                       ` Chen, Hongzhan
2023-09-04  8:56                         ` Jan Kiszka
2023-09-04  9:34                           ` Florian Bezdeka
2023-09-04 13:35                             ` Chen, Hongzhan
2023-09-04  9:21                         ` Philippe Gerum
2023-09-04 13:26                           ` Chen, Hongzhan
2023-09-04  9:36                         ` Chen, Hongzhan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.