Re: [PATCH] gpio: pch: use raw_spinlock_t for the register lock
From: Linus Walleij
Date: Wed Jul 29 2026 - 03:32:11 EST
On Mon, Jul 27, 2026 at 5:19 PM Junjie Cao <junjie.cao@xxxxxxxxx> wrote:
> 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.
It's no big deal, the stable people pick a lot of random stuff I don't
even understand anyway. If they want it, they will take it.
Yours,
Linus Walleij