mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "fhortner@yahoo.de" <fhortner@yahoo.de>
To: "Rafael J. Wysocki" <rafael@kernel.org>
Cc: Linux regressions mailing list <regressions@lists.linux.dev>,
	"Rafael J. Wysocki" <rafael.j.wysocki@intel.com>,
	linux-pm@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>
Subject: Re: Regression, thermal: core: battery reading wrong after wake from S3 [Was: Bug Report according to thermal_core.c]
Date: Mon, 3 Jun 2024 20:49:55 +0200	[thread overview]
Message-ID: <829c478d-f547-4e12-9976-ed465dd8d4ed@yahoo.de> (raw)
In-Reply-To: <CAJZ5v0jwvq6W0u7Zx4GzQxJOnrF4KvN1RHtqqDcaMvN6yp0hDg@mail.gmail.com>

I Totally agree, this was also my first thought, what has the battery 
state to do with thermals.
But at least, so far, we have in total three repros confirmed in the bug 
report. All of the same machine.
Thinkpad X1 Xtreme Gen2 = Thinkpad P1 Gen2. The only difference is the 
graphics Nvidia Geforce vs Nvidia Quadro

these are the types of thermal zones:

cat /sys/class/thermal/thermal_zone*/type
acpitz
SEN6
SEN7
SEN8
SEN9
SENA
SENB
SENC
SEND
x86_pkg_temp
iwlwifi_1
INT3400 Thermal
SEN1
SEN2
pch_cannonlake
SEN3
SEN0
B0D4
SEN4
SEN5


Am 03.06.24 um 20:38 schrieb Rafael J. Wysocki:
> On Thu, May 30, 2024 at 1:10 PM fhortner@yahoo.de <fhortner@yahoo.de> wrote:
>> Thanks Thorsten for the side note.
>>
>> I have compiled kernel 6.8.11 with reverted commit
>> 5a5efdaffda5d23717d9117cf36cda9eafcf2fae.
>>
>> Battery Status works fine now with reverted commit after S3 Sleep and
>> Wake cycles.
> Well, the connection between the battery status and the resume of
> thermal zones is somewhat unclear to me at the moment.
>
> Most likely, the commit in question changes the timing of system
> resume which affects the battery behavior and it seems to be related
> to the EC somehow.
>
> Let's first see what thermal zones there are on your system, so please
> send the output of
>
> $ cat /sys/class/thermal/thermal_zone*/type


  reply	other threads:[~2024-06-03 19:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1051df4c-067f-455e-8c7f-9dc47dc8ed00@yahoo.de>
     [not found] ` <7f4a777b-88f6-4429-b168-d1337d291386@yahoo.de>
2024-05-30 10:21   ` Linux regression tracking (Thorsten Leemhuis)
2024-05-30 10:49     ` fhortner
2024-06-03 18:38       ` Rafael J. Wysocki
2024-06-03 18:49         ` fhortner [this message]
     [not found]         ` <312649b1-eea9-4346-af93-76a821e88eb7@yahoo.de>
     [not found]           ` <CAJZ5v0jfvRWK0M3Xf=36e74cVQ9rN5T1WdZZVnuk1XmZ=xu==g@mail.gmail.com>
     [not found]             ` <78549853-1763-40cf-9974-3fc737fad093@yahoo.de>
     [not found]               ` <CAJZ5v0h5pQDaA-bEOmcz_TpE87kFqWLFLJC+=OLjg5ZtF3hxpQ@mail.gmail.com>
     [not found]                 ` <91d94429-fc7e-4828-914d-1a251ee1ba99@yahoo.de>
     [not found]                   ` <CAJZ5v0gPZHDfuK1FRdTAG8Eqjf0NWUQdf-_GCWsWf6dCBE=1dg@mail.gmail.com>
     [not found]                     ` <543787c3-db5b-4f63-b5e0-df508300db73@yahoo.de>
     [not found]                       ` <CAJZ5v0h7jDw3yX689nZdB+YeJbCk0vFoUgVb4Yi0cqDxjL5chQ@mail.gmail.com>
     [not found]                         ` <40ec1e53-2bc8-48aa-9909-fac9072adb57@yahoo.de>
     [not found]                           ` <CAJZ5v0jtjXfvr4GXukjyO9XsEO6K2Nfux3otpFPP4vWS_9_qEQ@mail.gmail.com>
2024-06-12 17:23                             ` Rafael J. Wysocki
2024-06-13 15:14                               ` Rafael J. Wysocki
2024-06-13 19:43                                 ` fhortner
2024-06-14 10:18                                   ` Rafael J. Wysocki
2024-06-16  7:39                                     ` fhortner
2024-06-17 10:46                                       ` Rafael J. Wysocki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=829c478d-f547-4e12-9976-ed465dd8d4ed@yahoo.de \
    --to=fhortner@yahoo.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=rafael.j.wysocki@intel.com \
    --cc=rafael@kernel.org \
    --cc=regressions@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®