On Mon, Jul 25, 2022 at 12:51 AM Marek Vasut <marex@xxxxxxx> wrote: > > The driver currently performs register read-modify-write without locking > in its irqchip part, this could lead to a race condition when configuring > interrupt mode setting. Add the missing bgpio spinlock lock/unlock around > the register read-modify-write. ... > + spin_lock_irqsave(&port->gc.bgpio_lock, flags); To my surprise, is bgpio_lock not a raw spin lock?! How is it possible to work on RT? -- With Best Regards, Andy Shevchenko