Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp292462lqp; Tue, 11 Jun 2024 05:02:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX52cMy8VsQJMsnZ8tMypeJzOhLWyzDi5HRdIjrzf7vQ99MHEBkSX3xhE10LLX7tHXxUsMAcHDNEBkilFPp8ZWedtgHqKVdvftnKKOFlQ== X-Google-Smtp-Source: AGHT+IEdc03o0uVgUSW4p4+IoKDV4yh3Xh3hYI0MGndNIsQOGbIYmyvQUaXOTDbXu5N8NPfUztuo X-Received: by 2002:a05:620a:2495:b0:796:c532:f96a with SMTP id af79cd13be357-796c532fcdbmr563931885a.47.1718107353816; Tue, 11 Jun 2024 05:02:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718107353; cv=pass; d=google.com; s=arc-20160816; b=usTFbMDx4jODcE9JxfxCTN8QL3cg6/z6Pe1zB6t56QDeJzienamtaRw7mLTChwbW/2 jXc+sxlLpRoL6Vt3dTwJ8h+5jxjValVoNN/H8DmwC5cZ3TjmI7rzXlzxC9DUZbqw1b3c igpfKA5GuG5Pu8XcvNHNp+DwDrw3zPkKYZul59HsATdlDEAbf+kaGLjgljL9JhUhDFa9 A9wFl9PaywHo+ufM3sy0OQgVr4oI7gajiVBtuJps/sS5Gg+sNDFrIY/io0/N5ExxdaJe vCpIYgCm37/jVmPOMZXfdtsHE1PnCpX2NSiCKS8WykdPWRjWxfJJSb0YHS+AVS2Sa/zk 9mnA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=pDkR4GbASuyOSY7Wi8J13DHC8JBG3TCdDiJ8+2QLvdU=; fh=BzpqrD9yeGMHahLt5a4WBxemM7b4YSerpjuPdJAai/g=; b=jsEhf4+e8yqeCaY/uWol36pGoAdNZE9uOL5gVdp7TluciJ9StweCNc/MecBJuASldl xoBZv2DJz0NUMQevF9ciQCqRqSzaG41EKZcf9LVllpHrxAUcJk08decUaHZ0ksqpniPc PmMAQA90ry/bUUx6O3mSizM1OiJVDM2WOuHzEtdAqPXPm9L/6Txunyh8xTj0WvWokTiV Mn1O+1uoFIZ8hmVF3q8C3AMSPhPpieHSAiv8x5LJpf3RAytu/ajcsP7ozdXyof6mYSyP fLe+XLpqYCGa5FqENFg5kceLFJrFg89cCPcNsdjrCRYUAmMOdJ5eEg0OIZ3UfWLZj0qs 5awA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="XJJ/zKWv"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-209824-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209824-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-79557eb662dsi725960385a.712.2024.06.11.05.02.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 05:02:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-209824-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="XJJ/zKWv"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-209824-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209824-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id CEF041C209A1 for ; Tue, 11 Jun 2024 12:02:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 91B2517B505; Tue, 11 Jun 2024 12:02:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="XJJ/zKWv" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AEE2017623D; Tue, 11 Jun 2024 12:02:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718107341; cv=none; b=TYcmAWF7HlArEzlhTOKTzW7Qdy5GR7ryZodbnEdKvVsgGTl35j/Na1UnY2VuXF9TCKmFvGgZp+zvSrm24f6oVPTNavJ51Bt9sMut2RGx17/SiyCgdHYwwzwxipb457nCEd9IJowDyV4uSEiKkJaWErXZSm0A0Ie4j59sKQ493DM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718107341; c=relaxed/simple; bh=CVnXtj7dn7R4jP36tYffAg5QjTJwaLN8wgb/nx5uVVM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=VhcCuMXijHDKG1B6fS9Lr4fMELpFuhA0snUbiF2Kh4CIsyN/Cz6BSpTbF6ES0LBK3MF1uAZo4J12qFHBnC3LVjKjVXGRoVyil38exOZVytVDK/axhZ0TWRGU03lKspssbhpfdpTzKvo9XPLVxIWEIcF/1VkRTt0fskLfZSZTN3Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=XJJ/zKWv; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2AB0BC32789; Tue, 11 Jun 2024 12:02:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718107341; bh=CVnXtj7dn7R4jP36tYffAg5QjTJwaLN8wgb/nx5uVVM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XJJ/zKWvRiyqgeI+ApQhnRndzGu9PygAixIX0q/qDR8eRcwJG0wY1hW+Osb/iuqbq lDotrOT+lklfU6UGVcKy4bfqPhyXHW9tgEBi5QWPV8xeI/VTn3t34Ufmy0AoPzsoQ+ c0g3rdr9IHuGozdVDEzk2Wbq/fgf4Ul7Y+1Q5tFZ4riDaH75fH8Cc/JQR2oNkaqmf/ N4ysbZ5rBYb2OmBi38sB9tHrKVPW7+IHZ9QwaZiMdsPa/7P0ZaeeGz/N4JyuLbnzR1 fM/Cji6L+TAX48aJqIKG9oDazxcNYO3bltbrn7U+y2428eiRmqjxVXfyUn1iZIQ5lS 3aZ4x3x7gE2PQ== Received: from johan by theta with local (Exim 4.97.1) (envelope-from ) id 1sH0Cd-000000008k4-1zj5; Tue, 11 Jun 2024 14:02:15 +0200 Date: Tue, 11 Jun 2024 14:02:15 +0200 From: Johan Hovold To: "Rafael J. Wysocki" Cc: "Rafael J. Wysocki" , Daniel Lezcano , Viresh Kumar , Zhang Rui , Lukasz Luba , Steev Klimaszewski , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, regressions@lists.linux.dev Subject: Re: cpufreq/thermal regression in 6.10 Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Tue, Jun 11, 2024 at 12:54:25PM +0200, Rafael J. Wysocki wrote: > On Mon, Jun 10, 2024 at 1:17 PM Rafael J. Wysocki wrote: > > On Sun, Jun 9, 2024 at 9:53 AM Johan Hovold wrote: > > > Steev reported to me off-list that the CPU frequency of the big cores on > > > the Lenovo ThinkPad X13s sometimes appears to get stuck at a low > > > frequency with 6.10-rc2. > > > > > > I just confirmed that once the cores are fully throttled (using the > > > stepwise thermal governor) due to the skin temperature reaching the > > > first trip point, scaling_max_freq gets stuck at the next OPP: > > > > > > cpu4/cpufreq/scaling_max_freq:940800 > > > cpu5/cpufreq/scaling_max_freq:940800 > > > cpu6/cpufreq/scaling_max_freq:940800 > > > cpu7/cpufreq/scaling_max_freq:940800 > > > > > > when the temperature drops again. > If this is the step-wise governor, the problem might have been > introduced by commit > > 042a3d80f118 thermal: core: Move passive polling management to the core > > which removed passive polling count updates from that governor, so if > the thermal zone in question has passive polling only and no regular > polling, temperature updates may stop coming before the governor drops > the cooling device states to the "no target" level. > > So please test the attached partial revert of the above commit when you can. Thanks for the quick fix. The partial revert seems to do the trick: Tested-by: Johan Hovold Johan