Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp2030312lqe; Tue, 9 Apr 2024 07:44:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXzMrxeUlGNgN/JQCOMvIJ8hkLZZcsCMVQWLvQl63K5QQu2EdS8IDzFWMWr6TMV+u+pjKKIaGhdfIYmMnq0zT11T4wM/vmBbTKdGEy4gA== X-Google-Smtp-Source: AGHT+IH/MJhc8wQmjQeOvTUCAyLezKG6mAnR+L2qWIZeu+zUkvx9KClQ/HKRrVcNNrMMUzul1lhI X-Received: by 2002:a17:907:a43:b0:a51:e351:9ad4 with SMTP id be3-20020a1709070a4300b00a51e3519ad4mr2982441ejc.9.1712673871921; Tue, 09 Apr 2024 07:44:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712673871; cv=pass; d=google.com; s=arc-20160816; b=YM+rc4GlAhmeucwY3rp3hT79heudj/RISeic0QLoWLm+N3Tmu+34+dy+jP2qfcMaZX Zxspug4agiuhKvN6GX3zLEUfGRbFkxObsKnCpHU+wj0BKddGxnR7REr5nrfVFSdjT0Of vB6455e1NEvnrqdL56+Xu57V00Qn7y4ozChC6AYHxi/24OdiafBj4Xi4IKbb1J0w358B RE2z9ONzPBx5pkrIVjRStX/Ua72XjOjOwtpAuJzJrIM055q8x/9AVERNcR58D2sff3OF yhAx8f+/mtdmzJo3nV+uCEPptPViMHBJr56CaIn6lBTdPa7gzeqycdnqHxN6eTEPebm5 /gNw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=dkim-signature:content-transfer-encoding:in-reply-to :content-language:references:cc:to:subject:from:user-agent :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :date:message-id; bh=addi/tm6/STcAbogCKFJX/Wg0/BufVKJ3UtpnILakig=; fh=xTtGe8FT0ErLCvPO2nCLno/B20OUq9GXELOqOybN/ZE=; b=vIKf+p80/sDtxKCh40ECzZhCx+68K07SP5JCZde79CztRoRMJb9gFpH0Rw+gspiUef mJtZ7KL8cpFyI3LBKIS0FhSN0Oe4eXzTc8sY3Fba6pPA56fORguYpeC8rGvnnzjBNJn7 G6ykkT/YJAQzTriNKGk225f3w4mQnXLM7pmKTEx8wSAYgIzKgX5zGHtjRepFaaJy+/JH upV1rvEyhjB8KtiwL1CKqVMMmS05bce6R3tk7M5b+1mm1eqOj3YE2VB9GZnKrBLGi5Sr W40rsv4PNJbAHVMbhd65wHhGGYtvZHsGLx/5IJFzQ1WmhG/32S+3Q67IDa1ehgo9Dtv6 nJJg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=temperror (no key for signature) header.i=@lausen.nl header.s=uberspace header.b=wc7nePo9; arc=pass (i=1 spf=pass spfdomain=lausen.nl); spf=pass (google.com: domain of linux-kernel+bounces-137110-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137110-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id qk41-20020a1709077fa900b00a51ab69de4asi4817744ejc.998.2024.04.09.07.44.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 07:44:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-137110-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=temperror (no key for signature) header.i=@lausen.nl header.s=uberspace header.b=wc7nePo9; arc=pass (i=1 spf=pass spfdomain=lausen.nl); spf=pass (google.com: domain of linux-kernel+bounces-137110-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137110-linux.lists.archive=gmail.com@vger.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 A68071F2421D for ; Tue, 9 Apr 2024 14:44:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 567F73BBD4; Tue, 9 Apr 2024 14:42:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="key not found in DNS" (0-bit key) header.d=lausen.nl header.i=@lausen.nl header.b="wc7nePo9" Received: from devico.uberspace.de (devico.uberspace.de [185.26.156.185]) (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 0B4B84AED6 for ; Tue, 9 Apr 2024 14:42:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.26.156.185 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712673772; cv=none; b=Z7nBNntX965HjpL4h5DF+Fc/Yrd1sDaErHMHMR08ZJgabAiewlaqeEYXgAgTkWO77U0C8+dDuh+REnAVSx1EPoL4CMs+Y45D5nLfK0zr9SPa6oz48Z24IaWOBgH8nQ+gsrs0G1zqV8s57455LEPWFJ35+QfbFqTiBZsEYRuSPiw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712673772; c=relaxed/simple; bh=WcBHAO835OpZ7Wucwr0AFDAB7jKmJePuFUm5drOOGgY=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=m5cbEa2Txy886QOMetnJBuurTS6p0wULfubHKKngcUnJaFN03nV+z6HoWHQQmInsTFsAqv5SMGEOiPdt/MAk8oMguo0FWjJWSnBWA4UE9zw7IzXahMf5Xw3b/doUKVo4XMilzUDJeylu4gBFxbJ26FQjUx7ea6NDBIlphquqSEk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lausen.nl; spf=pass smtp.mailfrom=lausen.nl; dkim=fail (0-bit key) header.d=lausen.nl header.i=@lausen.nl header.b=wc7nePo9 reason="key not found in DNS"; arc=none smtp.client-ip=185.26.156.185 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lausen.nl Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lausen.nl Received: (qmail 31948 invoked by uid 990); 9 Apr 2024 14:42:46 -0000 Authentication-Results: devico.uberspace.de; auth=pass (plain) Received: from unknown (HELO unkown) (::1) by devico.uberspace.de (Haraka/3.0.1) with ESMTPSA; Tue, 09 Apr 2024 16:42:45 +0200 Message-ID: <594fdc5a-3b09-40df-98a0-43671665e55f@lausen.nl> Date: Tue, 9 Apr 2024 10:42:44 -0400 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Leonard Lausen Subject: Re: [PATCH v2 0/3] gov_power_allocator: Allow binding before cooling devices To: nikita@trvn.ru, Lukasz Luba , "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui Cc: "Rafael J. Wysocki" , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Nikita Travkin , regressions@lists.linux.dev References: <20240403-gpa-no-cooling-devs-v2-0-79bdd8439449@trvn.ru> Content-Language: en-US In-Reply-To: <20240403-gpa-no-cooling-devs-v2-0-79bdd8439449@trvn.ru> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Bar: / X-Rspamd-Report: SUSPICIOUS_RECIPS(1.5) BAYES_HAM(-0.490661) XM_UA_NO_VERSION(0.01) MIME_GOOD(-0.1) X-Rspamd-Score: 0.919338 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lausen.nl; s=uberspace; h=from:to:cc:subject:date; bh=WcBHAO835OpZ7Wucwr0AFDAB7jKmJePuFUm5drOOGgY=; b=wc7nePo90m4/dEoTfQqKRpWsmcKs0wrORamLnVXUa+5xU/Q5UTKc+dEJf2/6JMP8Oq+MDKmaXn 4T4kIzD7nx1SHCpEN5kgcMkdBjCPA5cPw3VKx7Ky8Dbfr4/TR9SaByXns6eNSIGoQh7RFAZtKAgM 8cd1y79tJ9wzE+8elKX+AJ+K77aNKdGg6is/swfkZkmbMJ7xf27NLPXNWcUcGBv6WoTTURFRxsIo o/WMrHzgDQ5bqDGPWjeDOglanQ/04/MBVEMrlzFX69eQy7xmAKp6aDTtVVfp8P1Eg4YoydjTTETl 0XxES+ZBu4zto8ChIkWj+sgMf2+usyre1KfJ22Er48QFK0/kaZuYpE5W3rMIZ24wEgTCaz1w4zh5 xDjs4jXVtOeCEfgYYGRA3NuUqxyGmF3ROhn07xGkhjj9gjaSv8rnxKD5yD4CR4zltHthl5ZxzfI0 rYy7ES5LgnXtGiGXhlSutcj797widsU0CCkg9GrbCnBdxMkJG3YKW2OI8NYIxLt76c/rP75veTqf yGCpGPvSt1vsXeVM4axHgxA7pOpaDeH0PXE6QoG3DGK1vqHw5413/bfqvH57y45ILAyNSHa+ANVQ rSfa7pwFIcUm5dg3FERSNjDzW9zoK0IO1H4gkF2opDRcWm2A3dZ5ILKT6EkQqLWfD1m7nJ2WFfKr Y= Hi Nikita, Hi Ɓukasz, thank you for fixing the e83747c2f8e3 ("thermal: gov_power_allocator: Set up trip points earlier") and 912e97c67cc3 ("thermal: gov_power_allocator: Move memory allocation out of throttle()") regressions as part of v6.9-rc3. As the regression was introduced in v6.8, would it be possible to include the fix in a v6.8 patch release? Thank you Leonard (Resending with regressions@lists.linux.dev in CC) #regzbot introduced: 912e97c67cc3f333c4c5df8f51498c651792e658 #regzbot fixed-by: 1057c4c36ef8b236a2e28edef301da0801338c5f #regzbot introduced: e83747c2f8e3cc5e284e37a8921099f1901d79d8 #regzbot fixed-by: da781936e7c301e6197eb6513775748e79fb2575 On 4/3/24 07:31, Nikita Travkin via B4 Relay wrote: > Recent changes in IPA made it fail probing if the TZ has no cooling > devices attached on probe or no trip points defined. > > This series restores prior behavior to: > > - allow IPA to probe before cooling devices have attached; > - allow IPA to probe when the TZ has no passive/active trip points. > > I've noticed that all thermal zones fail probing with -EINVAL on my > sc7180 based Acer Aspire 1 since 6.8. This series allows me to bring > them back. > > Additionally there is a commit that supresses the "sustainable_power > will be estimated" warning on TZ that have no trip points (and thus IPA > will not be able to do anything for them anyway). This allowed me to > notice that some of the TZ with cooling_devices on my platform actually > lack the sustainable_power value. > > Signed-off-by: Nikita Travkin > --- > Changes in v2: > - Split to two changes (Lukasz) > - Return 0 in allocate_actors_buffer() instead of suppressing -EINVAL > (Lukasz) > - Add a change to supress "sustainable_power will be estimated" warning > on "empty" TZ > - Link to v1: https://lore.kernel.org/r/20240321-gpa-no-cooling-devs-v1-1-5c9e0ef2062e@trvn.ru > > --- > Nikita Travkin (3): > thermal: gov_power_allocator: Allow binding without cooling devices > thermal: gov_power_allocator: Allow binding without trip points > thermal: gov_power_allocator: Suppress sustainable_power warning without trip_points > > drivers/thermal/gov_power_allocator.c | 16 ++++++---------- > 1 file changed, 6 insertions(+), 10 deletions(-) > --- > base-commit: 727900b675b749c40ba1f6669c7ae5eb7eb8e837 > change-id: 20240321-gpa-no-cooling-devs-c79ee3288325 > > Best regards,