Re: [PATCH] gpio: pch: use raw_spinlock_t for the register lock
Junjie Cao <[email protected]> Mon, 27 Jul 2026 23:18:14 +0800
| Newsgroups | dev.linux.lists.linux-rt-devel,org.kernel.vger.linux-gpio,org.kernel.vger.linux-kernel,org.kernel.vger.stable |
|---|---|
| Message-ID | <[email protected]> |
Hi Linus, Thanks for the review! > Really? Why to stable? Is this a regression of something that > used to work before? Using RT is fringe IMO. No -- it is indeed not a regression: the lock has been a plain spinlock_t since IRQ support landed in 2011, so it never worked on PREEMPT_RT rather than regressing. I Cc'd stable because current LTS kernels with PREEMPT_RT hit this sleeping-in-atomic BUG today, like the two fixes I referenced (286533cb14a3, 90f0109019e6, both Cc'd stable); Bartosz has since applied it with the tag kept, so I'm happy to defer to whatever you and he prefer. Many thanks, Junjie