Regression, thermal: core: battery reading wrong after wake from S3 [Was: Bug Report according to thermal_core.c]

From: Linux regression tracking (Thorsten Leemhuis)
Date: Thu May 30 2024 - 06:24:36 EST


[adding the culprits author, LKML, and the regression mailing list to
the list of recipients; changing subject, too]

On 29.05.24 21:52, fhortner@xxxxxxxx wrote:
> After bisection I have reported a bug according to thermal_core.c:
> After "Resume thermal zones asynchronously" commit: Wrong Battery
> Reading after Wake from S3 Sleep - Lenovo Thinkpad P1 Gen2
>
> https://bugzilla.kernel.org/show_bug.cgi?id=218881
> Could you please have a look at it
>
> I have performed a bisection and the culprit is this commit: Resume
> thermal zones asynchronously
> git bisect bad 5a5efdaffda5d23717d9117cf36cda9eafcf2fae
> # first bad commit: [5a5efdaffda5d23717d9117cf36cda9eafcf2fae] thermal:
> core: Resume thermal zones asynchronously
>
> I have also verified it by compiling a kernel

Side note: not critical at all, but would have been good if you had
specified which kernel version you build.

> without this commit.

Thanks for the report. To be sure the issue doesn't fall through the
cracks unnoticed, I'm adding it to regzbot, the Linux kernel regression
tracking bot:

#regzbot ^introduced 5a5efdaffda5d23717d9117cf36cda9eafcf2
#regzbot dup: https://bugzilla.kernel.org/show_bug.cgi?id=218881
#regzbot title
#regzbot ignore-activity

Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat)
--
Everything you wanna know about Linux kernel regression tracking:
https://linux-regtracking.leemhuis.info/about/#tldr
That page also explains what to do if mails like this annoy you.