Re: [RFC] thermal/core: Disable uevent messages for cooling devices

From: John Stultz
Date: Mon Apr 08 2024 - 14:48:38 EST


On Sun, Jul 10, 2022 at 9:40 AM Roman Stratiienko
<r.stratiienko@xxxxxxxxx> wrote:
>
> During suspend, the big CPU cluster is turned off first while a little
> is still running. This forcibly unregisters the cooling device which
> sends a "REMOVE" uevent to all subscribers [1].
>
> In case userspace netlink subscriber has set the EPOLLWAKEUP flag, a
> wakeup event is triggered that causes suspend to be aborted.
>
> Without this change, suspend doesn't work on PinePhone PRO with AOSP
> userland.
>
> [1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5c238a8b599f1ae25eaeb08ad0e9e13e2b9eb023
> Signed-off-by: Roman Stratiienko <r.stratiienko@xxxxxxxxx>

Hey Roman,
I wanted to drudge this patch up, to ask what the current status of
it was? Is there an alternative solution that you've been using since
this was last sent out?
I've heard of some vendors working around something similar, so I
wanted to see if we could get a common fix upstream.

thanks
-john