Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp50287lqp; Tue, 11 Jun 2024 14:19:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW5IHv2Hnc+KMajmz5YN3Oa+K1yVO0U/sJnzOjLAonTSTQJJHSQ9P1f5KAVrdYlQLSSf2L1HHGijJv4W2lhUDvmFbY3ltfwtQ9TDSmSnQ== X-Google-Smtp-Source: AGHT+IFr4alFg0xIQUqwhPFOep5HdibpNM0Y8BmzquR9wveKaruzJp/QZCbSgpt+OE6WBLpPPk3N X-Received: by 2002:a05:6122:398c:b0:4e9:7f87:4c2b with SMTP id 71dfb90a1353d-4ed07aad148mr99077e0c.3.1718140785059; Tue, 11 Jun 2024 14:19:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718140785; cv=pass; d=google.com; s=arc-20160816; b=aJo1NWCUX5hwtb0tX63teR1hrRkfBIJ8liOe2D0pwoVzGPF6HIQ2Buv414UmevGIiN Kqr1wDuZ5aKeqV6UVfbinxEEGyhslYT2bRMh5q+jPq9D7IbtiZJ3FVKmgj4nfxA98gUh VeTlqfypdfOYTIzEXuqi7NN5sCA+4CKR7fSDAhxLcwYuIEG1OZnUYb5pY62zdLDTLSi7 UGcXfB/W4zR7nnBJAhSTq3WwOluA/5m/JxObmaZcBJHWQHFOTepLTzs79GAdTJupHj7e SIjjKavXnIks1ENmDy6pTEWdJrAheuwYgqToZChYxfzzT0LBVpRK3AzCCTIsEzsGtMk2 yZJQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=kIrp8qzhxU8e7FrceQyxypKcph7vNSgb2Uumfdyvzas=; fh=mpUEkgeNSu6tgGgKW4bT+d/7D1HribCT3h/liXcnq8k=; b=tTfWa5hpmnBEcpueNt5diWGyUQchOm0fiUiZ06K3D6+7htOwlSV2HLOJ4WNjPl/bYJ LFWK1ovYX9iKUPEzx/ioQWSAMpu7V6AA5Tpzxn8xAsXq2BZLi27E4+1/OfbNJJiOuYyd qqqoI7VnsPsWKjEqtdVEKZPzM4zhmgFiT4L1IJI1sH7npMbvIyRdYwlROlSMzjzCKgXY szbBUDcwE1+tEN9zjY4hagybuzGCDmbcys3o4gqmJVVtfOmNvZzvHOCoHjMbaUxN8v1c DKCwhO190wXd6Ix8CcWWFgG65lIQIF4DoStaHw8vfwQ2SMp9C8pV7jKM4Swr9pHQkV+y pdSw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kali.org header.s=google header.b=ZZXTUq5D; arc=pass (i=1 spf=pass spfdomain=kali.org dkim=pass dkdomain=kali.org dmarc=pass fromdomain=kali.org); spf=pass (google.com: domain of linux-kernel+bounces-210609-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210609-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kali.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-440583fa49csi84478521cf.26.2024.06.11.14.19.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 14:19:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210609-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=@kali.org header.s=google header.b=ZZXTUq5D; arc=pass (i=1 spf=pass spfdomain=kali.org dkim=pass dkdomain=kali.org dmarc=pass fromdomain=kali.org); spf=pass (google.com: domain of linux-kernel+bounces-210609-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210609-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kali.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 BF91C1C233AD for ; Tue, 11 Jun 2024 21:19:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9928715359B; Tue, 11 Jun 2024 21:19:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kali.org header.i=@kali.org header.b="ZZXTUq5D" Received: from mail-oa1-f42.google.com (mail-oa1-f42.google.com [209.85.160.42]) (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 4054A1534EC for ; Tue, 11 Jun 2024 21:19:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718140777; cv=none; b=LOhEIjHcMviPUOP/CLbn7mFWPYb0OT75BvmTxz2k+RJjYX1uIlq8P+SM+4ZI8TEzzR19dSdZgGIwZRWv0TKRv9HKO3T7ro9KzoBHtcSrZO68HFsVczdmB+PXf2CXJ1Ukt2ipUskzwcZIZVru8oOy9ldtdWfCb5h2qdZQ7khaKag= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718140777; c=relaxed/simple; bh=ELCydqjpdFo4e5YLr2TqZB1sj47Z8XFwUvs0m0bOxMk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=JPhAWSoUZQ039rm/zbKTp0a80Fli4xda2B7abcsDUj2qMPT7NoW314BFD27f9zf/EGkBAy2M141FqlEksX68nebM6MedUiX1ruzu75WmxTCGXFEgkZ3IHxItebIUw+bwPJPUoLZScjiW1k5TOieRJDHF1Ctr8LHM8RbKGt54nWo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=kali.org; spf=pass smtp.mailfrom=kali.org; dkim=pass (2048-bit key) header.d=kali.org header.i=@kali.org header.b=ZZXTUq5D; arc=none smtp.client-ip=209.85.160.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=kali.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kali.org Received: by mail-oa1-f42.google.com with SMTP id 586e51a60fabf-254c22faf4cso1202514fac.2 for ; Tue, 11 Jun 2024 14:19:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kali.org; s=google; t=1718140775; x=1718745575; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=kIrp8qzhxU8e7FrceQyxypKcph7vNSgb2Uumfdyvzas=; b=ZZXTUq5DSYPqKc7X1syAQURklKwKIu4veTOWNmvnbazNSr/X9ggmYT7UHia8VThni9 gp0nMJKuTUCzZRQfJ71ZcREljadWQmYHCRcT2XU3Vnx7a6tFM5YzjeE1iQCYsAkblqd7 BIpggKAVtm0kg+cs34nYT4QDKfk1pSFFoOTdGeITrcGWKiO3zErCyy4KDqKyh++lt7J1 eVocFQPMou+TB79OuyIcXuTwzwQGKwOYnhlIpXdxswQRvvoSuL9s1h3efoWBFGnx3gE4 gAwtNNFuublJxvw2FTiNdi/39vALV8DbVInxv+nA4aUzY0wlDKH3I1mTF6INSkswXvZ5 IpOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718140775; x=1718745575; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=kIrp8qzhxU8e7FrceQyxypKcph7vNSgb2Uumfdyvzas=; b=WozLBKvoewIzKt7RPvjfQyLYL+lzdg11fEPxe04ni88AcJlyLN/vbYGgVhLMN07ssw IX+RboxIv9be4vpQVtnj2sJ8I2ogNJLFe+1dYrOTUz9nk3sEEamXyf8qWKeKVeIMC8bu Y2KgtdFh47PuZk8wll3M5jHqSQZehgnZx3y5eSmNl/O+g/AQXj+xPVRZqzj3J2+YhVTw yUpBuvnFf8KW7EftluhZ34pZAApt+OtAPqwBQwNAGHHf4kUWcY2+khToq+LOeovImDgK pH1hgOsW6p+tooNotUTbkBqdA0j4boXFjkqpJHtZPw+eH3SRGC7mNUaQIHl3gcZB+6ts NOgA== X-Forwarded-Encrypted: i=1; AJvYcCUuBDWQDKQ/rwvAljeNPEKGa2RUt06ct6SDTOsDJHTxqAJf5zs17IjilY8FZAGRSKfyruhdwFNvgPxFYeL8yxATjAVC3ukoyhdFSknx X-Gm-Message-State: AOJu0YxdtSXMLQJgFEgvkafwTa5gzHYhHgqTUFahg6JuYNW/4s3LcfDL sIueqe7TaD2kiDnDNvXZKWwoDvIwNkj2gtPrx+krLYmaoPUMhdtIl3dzN9T0YNE= X-Received: by 2002:a05:6870:f113:b0:24f:c7cf:17fb with SMTP id 586e51a60fabf-25514c037f9mr50908fac.22.1718140775044; Tue, 11 Jun 2024 14:19:35 -0700 (PDT) Received: from [192.168.1.98] (104-48-214-220.lightspeed.snantx.sbcglobal.net. [104.48.214.220]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-6f9d9a98e74sm616426a34.72.2024.06.11.14.19.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 11 Jun 2024 14:19:34 -0700 (PDT) Message-ID: Date: Tue, 11 Jun 2024 16:19:32 -0500 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: cpufreq/thermal regression in 6.10 To: Johan Hovold , "Rafael J. Wysocki" Cc: "Rafael J. Wysocki" , Daniel Lezcano , Viresh Kumar , Zhang Rui , Lukasz Luba , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, regressions@lists.linux.dev References: Content-Language: en-US From: Steev Klimaszewski In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 6/11/24 7:02 AM, Johan Hovold wrote: > 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 I can also confirm that it's working here! Tested-by: Steev Klimaszewski