On Thu, Feb 10, 2022 at 10:34 AM Gunter Grau via Xenomai < xenomai@xenomai.org> wrote:
> 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. > I’ll integrate and test this patch out over the weekend, I can’t say off the top of my head what is the better solution. I’ll have feedback in a few days. Thanks for the patch :) Greg > >