All of lore.kernel.org
 help / color / mirror / Atom feed
* Issue with linux threaded level triggered interrupts
@ 2022-02-10 15:33 Gunter Grau
  2022-02-10 15:33 ` [PATCH] ipipe: Fix ipipe level irq end Gunter Grau
  2022-02-10 15:39 ` Issue with linux threaded level triggered interrupts Greg Gallagher
  0 siblings, 2 replies; 28+ messages in thread
From: Gunter Grau @ 2022-02-10 15:33 UTC (permalink / raw)
  To: xenomai

Hi,

during our development on imx6 with kernel 5.4 and Xenomai 3.1 we discovered complete system stalls when using phylib with phy irqs level triggerd. This irq is connected on the imx-gpio.

Investigation showed that it seems to be an issue in the ipipe irq end function for level interrupts. Please review the patch proposal.
I am not sure if just calling unmask_irq() is ok here since this functin also does some locking. The other way would be to just call additionally the irq_state_clr_masked(desc) in the level end function itself.

The patch applies on ipipe/master in ipipe-arm.
It looks like this is an issue in all ipipe patches, but is triggered
by the introduction of a check in unmask_irq().

Thanks in advance,
Gunter Grau




________________________________
The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.


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

end of thread, other threads:[~2022-09-02  7:48 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-10 15:33 Issue with linux threaded level triggered interrupts Gunter Grau
2022-02-10 15:33 ` [PATCH] ipipe: Fix ipipe level irq end Gunter Grau
2022-02-10 15:37   ` Greg Gallagher
2022-02-10 15:53   ` Jan Kiszka
2022-02-16 21:03   ` Jan Kiszka
2022-02-17  8:48     ` Gunter Grau
2022-02-17  9:15       ` Jan Kiszka
2022-02-17 12:16         ` Grau, Gunter
2022-02-17 12:36           ` Jan Kiszka
2022-02-17 14:11         ` Greg Gallagher
2022-02-17 15:12           ` Jan Kiszka
2022-02-17 15:13             ` Greg Gallagher
2022-08-11 13:05               ` Grau, Gunter
2022-08-15  6:19                 ` Jan Kiszka
2022-08-15  9:13                   ` Grau, Gunter
2022-08-15  9:34                     ` Philippe Gerum
2022-08-15 10:27                     ` [[I-PIPE PATCH]] ipipe: noarch: Fix ipipe level end interrupt Gunter Grau
2022-08-15 11:56                       ` Jan Kiszka
2022-08-15 12:31                         ` Grau, Gunter
2022-08-15 13:54                           ` Jan Kiszka
2022-08-15 15:24                             ` Grau, Gunter
2022-08-16  6:23                               ` Jan Kiszka
2022-08-17 16:09                                 ` Grau, Gunter
2022-09-02  7:48                                 ` Bezdeka, Florian
2022-02-17 14:05       ` [PATCH] ipipe: Fix ipipe level irq end Jan Kiszka
2022-02-17 14:08         ` Jan Kiszka
2022-02-17 14:12           ` Gunter Grau
2022-02-10 15:39 ` Issue with linux threaded level triggered interrupts Greg Gallagher

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.