Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1177694lqj; Mon, 3 Jun 2024 12:34:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWCIVOPhcIp+aOJkOSgnfhxhu4kEjrTw7CkmhjFo4LRV2ZWrvIl1LQM3E5GrwfRmzIx7mPZd0JFZnfWCSYeJ26zk+adoqa56UvrI/LHBw== X-Google-Smtp-Source: AGHT+IE2vElqVupLaW4KBGu1g4feIuLztTjdE1G+XxcsL+BgB+TRkfUsBNkHTyRMa0vp0bNSwMgt X-Received: by 2002:a05:6a20:258e:b0:1b0:2af5:f183 with SMTP id adf61e73a8af0-1b26f1c50a8mr10675904637.23.1717443280335; Mon, 03 Jun 2024 12:34:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717443280; cv=pass; d=google.com; s=arc-20160816; b=oNIPeSfQBtfDNPL08+XIHLs/4pyE0EJiCgJ4SV1WZZKYAorA1/MQs0638nYWQuFJpB NmigyJOv9MmvhyHJ0C7oFDtYuA9FgneTn33DQcBL/onW+5UJYuPwdCyO8s89vQtmdPFd 7SRoyIHNmSshz8tLl8AiXGHOlwfxFy1HcPTw2SgJK1jNBfmZsNqScXsl+225f7hC1TRF O6UGExoToGEIlV3go7qgmL2gDY1kmkKzY8+rEQ48UzUE++vZZZZ3pipxDy+3UorvjdQh 3H3R389xei2eYtnAMCX2YrsT92b2FVwz+vAyxXZpXfSbwGapVCu+NYzsRn+b6VnhjoN1 y69A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=edWCNicz5SLkhidXgXtdvBzRygTru67Exq0izoAmB5E=; fh=ahupEGbF45Nj1jHUz86UuAxO0RuFmeNqry8fupjvHGc=; b=EgMw0boew9ntnDaGzms1z5fg48gXOe+/rkTdcMBJnheo7xr+yIosweXg/FLUaFYpY2 CFogtvLx6kL3pO2njMVgi53ZTLdDXmgz21mxmjycZwTQUaCDZyaPe05oyE3z67+g/XDt Gwav7FYzllkx7puFNBaHfdAk2v+S6KETHpmUGgcgDXbsiztWmVqFWET7Qi2l9jos9F6y +Zt3+LBJk6MZIXWuJqicLsBa8JXuLe0Ld836/jEaVugCT6LFnA61BdA1YR6VWv7D9EaS uEL3O8v22RO2HevtRwTA2yW7Nk7DcV0Udc5ANWUuTg9wVzjKQeeFBAjurexXEU5Wcw/h 2a7Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@yahoo.de header.s=s2048 header.b=J1JsREm1; arc=pass (i=1 spf=pass spfdomain=yahoo.de dkim=pass dkdomain=yahoo.de dmarc=pass fromdomain=yahoo.de); spf=pass (google.com: domain of linux-kernel+bounces-199625-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199625-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=yahoo.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c35d59fa61si6879005a12.826.2024.06.03.12.34.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 12:34:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-199625-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@yahoo.de header.s=s2048 header.b=J1JsREm1; arc=pass (i=1 spf=pass spfdomain=yahoo.de dkim=pass dkdomain=yahoo.de dmarc=pass fromdomain=yahoo.de); spf=pass (google.com: domain of linux-kernel+bounces-199625-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199625-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=yahoo.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 5B1E4B26644 for ; Mon, 3 Jun 2024 19:15:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 03B6613B791; Mon, 3 Jun 2024 19:10:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=yahoo.de header.i=@yahoo.de header.b="J1JsREm1" Received: from sonic313-21.consmr.mail.ir2.yahoo.com (sonic313-21.consmr.mail.ir2.yahoo.com [77.238.179.188]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5821F13A876 for ; Mon, 3 Jun 2024 19:10:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=77.238.179.188 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717441825; cv=none; b=fGfqEm4wBfr8rSXulLrRZN/H6rEWVyhvJpi2QntH+RSmuFmwa8Y2BXPk9uKDh6fKBs3KZui4fj2ezEBe5wK93n5aCnbvVC1M1wD69GooeLDuXaEl88w7+/lVwoNCC9VgVwx8Ulfvp8XrccFQZl0hZ+gUIQGIeYkekstmOs0EyMQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717441825; c=relaxed/simple; bh=KPYkAqhmju7XsyzBTxmcRoWn5S92tOqYTNT7Zf42wUw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=NLIdMqIoqS0+zCCZcynXvAsl+ATLAQ6OisBtG7oT005Ifq7TGyw1CkuA50+9/CA4UhyIiDYPt/mzA3VGD0wlo+jt0wkMCSigRyq3XRNq7iU+510x4ZEVmWUs9xZvo666r6XezhHq/RIRRixTogcJqk5anZcMlPy6rK3/A+kyKEk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=yahoo.de; spf=pass smtp.mailfrom=yahoo.de; dkim=pass (2048-bit key) header.d=yahoo.de header.i=@yahoo.de header.b=J1JsREm1; arc=none smtp.client-ip=77.238.179.188 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=yahoo.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=yahoo.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s2048; t=1717441816; bh=edWCNicz5SLkhidXgXtdvBzRygTru67Exq0izoAmB5E=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From:Subject:Reply-To; b=J1JsREm1GMQyjSBjtQPGnapUvJYCq2JZfCXRXdfBJ1dJRQaxMgDD9ZQreCpnZFN8KjYxupZOFgY8b6ju/GnctuTNW+Ke5xKhIzSlFUvd6kQRWBuF55ZoGAzkbdx1/5S4loUdNlrjauTZRYieE0ugbYbqJpa+gqNGFY0n9zhFSknDGI36IFKNsRwrjUrX5nu7VpDbtoel3DgDhR7xsBZXyYsTI/gl9G78oX9H1tZtGT08sYg+yWjXaMtCW1jEFficU7ke7FEf7IJX+mU85ZqtV43xuy3wgxLP2QqValdES2VShCuYT+02DYQIbrPS4KYiFx5W/d1EBdOHBL0ruhSczw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1717441816; bh=HLLzKbN86DMWAOiWBMzfwvF233zZVKaahPOtp3NrJ2l=; h=X-Sonic-MF:Date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B SBWIfhzCESrYtg0Dl7zsW2hAH.SULdOxKK5Y55LlC7Va8qN1SNlWgOX44We9bxI3POXeJMu4M03j WeVYwgz3QKr5AGFHW.CKI19r.40xMIVC.Tv6fVWsdbThv6.kBB585UxEg4adCdTqO2WCAaeGRwPF tVcCtT6J.iZLb2OPLkA9tzg4e1XBa1h2jjInP_fTMUtC3ib5hhjnA8P2Chk9GQztEjJKAab6JlIv sixBpNiOvdzL3nxgrJ8as0Wzhc5WGHSRtzeGuF2OqizEUjqtbnL989FBQ8ealhkUvLgmrKoEv8zQ qC7ktR51sFka5I7Bmqohewtn51_zL5u4q57FahRZGq6yj54y6Mqu0yVWpWa_0v4pjIDAqPu9c5LC HfQ6wPD2pV7geth9K5w5.pfbloEKJzoPdxBqjxruAwMGAlVeVBUdIABkQDeyDMsQL18zmdRk7gLA QMb7xc0jYZBMBF2L3sAgZALgqeBuxzBr47wEvxPa_Z1_SHiO9LXUzluhM3AHm X-Sonic-MF: X-Sonic-ID: 83e29caa-1270-46e0-bf41-7b4f52bbe70c Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ir2.yahoo.com with HTTP; Mon, 3 Jun 2024 19:10:16 +0000 Received: by hermes--production-ir2-7b99fc9bb6-z99rq (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID abd44bd1c36a5049a30287d79d773928; Mon, 03 Jun 2024 18:49:57 +0000 (UTC) Message-ID: <829c478d-f547-4e12-9976-ed465dd8d4ed@yahoo.de> Date: Mon, 3 Jun 2024 20:49:55 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Regression, thermal: core: battery reading wrong after wake from S3 [Was: Bug Report according to thermal_core.c] To: "Rafael J. Wysocki" Cc: Linux regressions mailing list , "Rafael J. Wysocki" , linux-pm@vger.kernel.org, LKML References: <1051df4c-067f-455e-8c7f-9dc47dc8ed00@yahoo.de> <7f4a777b-88f6-4429-b168-d1337d291386@yahoo.de> <435867b5-029b-419f-bb7f-2d4902c62556@leemhuis.info> From: "fhortner@yahoo.de" Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Mailer: WebService/1.1.22407 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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 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