Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp283989lqp; Mon, 10 Jun 2024 04:17:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW64ws5fkgBh+RMRcYLV6W4dwpkUQXwDKlvtoXUJn9ksdE3abWSgDo3Bnk0vOjRv9YasIvLcTkgJTpkhpPNRSuOppRHF4IgefFkWfk+WQ== X-Google-Smtp-Source: AGHT+IEwHtAOyltaFbSuHsuhgVOEYxMKJuWuGWsAObY4xcnSd7aqYEu4zTbCFj605dpE/prs+YVr X-Received: by 2002:a05:6512:10cd:b0:52c:804e:e831 with SMTP id 2adb3069b0e04-52c804ee8a9mr5332923e87.47.1718018250044; Mon, 10 Jun 2024 04:17:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718018250; cv=pass; d=google.com; s=arc-20160816; b=w898HLNosTm+z9/vrI+Ih76MkZGXEWczbmV08gNkl/YG+sKC3ncFrwQub2nLrUatqj lWlJATDY+2syT53F9C+LXZD1nVQONoDPMSZEkJLMHCUHEA5RQqYlyjLQoPDNGnogLPOY kpmTfoUyRF6IL2KQQef0bN5thADfOkeTdoo3EZuscQ6CMlvgFJi13HGZXbc3djRrOj5M sbh0ZlxsnIPur8JXpsZFkuKrff3yerKCuAvtDupRNUhY0e5rOlrX8c5UVgiVBB9m0tVd LEttY6ShUb6ZGoKw30P7am8kFp1F5+FXw1ClkLQOei9xmdbXtdH+UjSEA7ZbAmLd7+Z1 inbw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=G5nFBn5DhE8ZBhQcBsQyH6cDgf0I2U1gzepwjr5D6Dk=; fh=MinL7jyrU3JS1WYFkmsYdx6dhqBqGkRyCfB3a+2+NgA=; b=izYp0WT13MDw2TLPofw4bZ6oqj2R9uH7jsfg3ZdxiIe4UhUbcEhNje9WIV4vthVzqe lYOYWGt0KdLA42Q/bJ3lQwz6EI1khrfACZPp3o3WOx67BYlGubkJjgbHpmlzogLeXzKB hQ1TB+fSCh9fCzjXRG1TS8Q7KcPBQKe3FxXy8b6yylBDvn+k/rty+PyhAz9BM1Bg0g2x sr34khMDuHv9EQJIi236HKXtzHy9kMj3jXaJllf/pC0n3nn8p4GbB5AcDpVa0ON5hiMi A6Yh/A/S3ormAVXx9pN2EkF9St/SAm1g3sP9Uti+YZ3d39cmUHVaCHOD5i6Kb8ajC7yT sZOw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mdO3U8Gg; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-208067-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208067-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a6efa68b503si267388366b.937.2024.06.10.04.17.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 04:17:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-208067-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mdO3U8Gg; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-208067-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208067-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 am.mirrors.kernel.org (Postfix) with ESMTPS id BE9031F222A2 for ; Mon, 10 Jun 2024 11:17:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D2AC67C6D4; Mon, 10 Jun 2024 11:17:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mdO3U8Gg" 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 049B06BFCA; Mon, 10 Jun 2024 11:17: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=1718018242; cv=none; b=LMQDXVdksqAxGwcP6asE6gRhPDtwC0WJcxvofwKpD9WBXbm1u/dTgcaJNyzhyrxbH0WQMLsyx54TT8XMjMl0gAjlRgM2QOpjqZooTYP6MiV50BIXKDGCWg8jt0oUMNuh+MMWqGeQi8cOnGRk2rPvHF4DN6feP3o8vQFo3d8IVH4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718018242; c=relaxed/simple; bh=13XDtHa++hblwzo5voNHyIdjeLfCecpFY2EvEAXlaUU=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=hiNruA/Fm3S1jvbTydeW1PsIlX7xC1zVgcQiWludMhu6+1P65kfCMhFLD8NqYAdbt9EvJkaWyrJ3x7uIltBIbGVzRGZ0UfWvAV1E/lGvMCeCnWEYiuORSRJN9uZ5WYhXUQNC6l3FUs0aKaE8KbAsWicOEqvFX0eUNNZWPlh33/I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mdO3U8Gg; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A34CDC4AF1A; Mon, 10 Jun 2024 11:17:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718018241; bh=13XDtHa++hblwzo5voNHyIdjeLfCecpFY2EvEAXlaUU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=mdO3U8GgcMVnEmenD0E2KE5VIuf7i5JEwdlVbPv/Ksu3YvJi5FQ9k7c00Syi4pgdB r0MO9CmZCKrxlq84+ScTH7CMgQsrTMSd+xVni2sB2WkBP13GIv6ciXhox7z+YBRudR 6U806fEvLxVfsMcUsPoL/GaquSvmFDcn73b6O6va/xG523ytgunzwo2SZOGjxoLK4Z L3dNPFz3t9DQ6t3TisHXD2gKzTTRKtdYM4DC//alfF/RwBgz2I/dWwj72oDTMB2fVd yQrWeZH/3tJ+li41Zx48VhBxA5EyE/veaNK6yBEcs0EAy2j5V/38Arsysx1RVUXe+G Ci/EC/stdakrg== Received: by mail-oo1-f48.google.com with SMTP id 006d021491bc7-5bad112b623so68725eaf.3; Mon, 10 Jun 2024 04:17:21 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCXfHDdn6sp6QWEQnJ4yJl55hrbgVq3KyGAV41VLY6DPREHlIsBevvL2yPdz7x1KKdIZkkFORf9sVyxoJHXFvUC1miIzglPoSebycPuke/wYF1fTIQL2Lh2003VehtgWAWWkQLv0fIQ= X-Gm-Message-State: AOJu0Yzu1168X46i3+tFdtZqVz5j1l6AaZI2/fILbr7nnYjTTg3rn/8u UtkNI+FAVBKV82fevq5AbqUjVhhvI1tlOVKEpWVP8b+qtWngT+7md4iY8ZMJsEAESFz75Q4kvoC XKAll5LpYT6crnu90ibPdHzCTJ7U= X-Received: by 2002:a4a:d0c6:0:b0:5ba:ead2:c742 with SMTP id 006d021491bc7-5baead2eb7emr4437542eaf.0.1718018240856; Mon, 10 Jun 2024 04:17:20 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: In-Reply-To: From: "Rafael J. Wysocki" Date: Mon, 10 Jun 2024 13:17:07 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: cpufreq/thermal regression in 6.10 To: Johan Hovold 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Thanks for the report. On Sun, Jun 9, 2024 at 9:53=E2=80=AFAM Johan Hovold wrot= e: > > Hi, > > 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. So apparently something fails to update its frequency QoS request. Would it be possible to provoke this with thermal debug enabled (CONFIG_THERMAL_DEBUGFS set) and see what's there in /sys/kernel/debug/thermal/? > This obviously leads to a massive performance drop and could possibly > also be related to reports like this one: > > https://lore.kernel.org/all/CAHk-=3DwjwFGQZcDinK=3DBkEaA8FSyVg5Na= Ue0BobxowxeZ5PvetA@mail.gmail.com/ > > I assume the regression may have been introduced by all the thermal work > that went into 6.10-rc1, but I don't have time to try to track this down > myself right now (and will be away from keyboard most of next week). > > I've confirmed that 6.9 works as expected. Well, I'd need to ask someone else affected by this, then.