Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp2034517lqe; Tue, 9 Apr 2024 07:51:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW4Ajl7lj0ibq+4d71dnupWKRK9irpJZQzh7qwCDh3xm9AvkPU7DvlPtMxVizykzpulg2i8Wcd1ca6Gtako2UzTMK6jDfhZbJ7mPmZMfg== X-Google-Smtp-Source: AGHT+IFpM3cgXxBb/V8vjn2WNj5B9D6/YLM+Pcw7/GEMLYNP4GXZBIbbmBBCXv6qU81bl5MEBwF+ X-Received: by 2002:a50:8711:0:b0:56c:be3:7cef with SMTP id i17-20020a508711000000b0056c0be37cefmr9827517edb.11.1712674306723; Tue, 09 Apr 2024 07:51:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712674306; cv=pass; d=google.com; s=arc-20160816; b=TgCkYrCNfV2IWQH6+e1mVp2lppJzqjnCiqAVZ6M6aKZJEfhmn1jQBgf7kFrAzwIYI7 ja19CuPEFBrhdolmQ1f7sXY5DhYIs1jJoxDCYJulfF82upi6Hj+Cniw/r3hbdFNNYVpM FbTYdSX9aEqjW95IF1kxCCmHlZlUuuC1azx4fdPMCm9t+RDwD4ZuPQC4Tib8R/CMNeeP tLFZ/VavK0R/u8M2dnQygH9Cva3Bw60DMh3DJtmBWC9ub/bMqgH5Xft69NZEhRuF4+gX S5g+r/QadGvDV8ewgPyGLNOpFBoi2vDi1MVE4zxNV5lIDu/DycsO+fLDQslY2aUFGgo6 UUlQ== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id; bh=Ja7/WxzqUncrvraQt5NahD0ypCsb+d5sMmxHVVAwxow=; fh=8U/8wAxbjihsfcn5uh2YrkLdQPfXETK6+/a8/y8qcbg=; b=hTIk5EU1uC9A2P5Fk/ONiLfXtEFDMtpjKpQdcQj2y0WE8NJMoc07qPolXG64o+Y/uj IUXdBn1d3oAcPGcPdCK0JG/VCrKk6e0lgYvFaqeeVN8+17PwA74TUyP1vTG0zLxi+xhq FYY+mzTi9XvrQnPmXnvjKPMY/KBy2txtnM9YF1sW+CRxhIKX4s7JQ8rqY1QFck+KOInQ aA1a1KJkulca5f4PJo9e26wqhsFPzR1KSQjcY57ZHEtV9NLaFL/IP56MqHfkdLGP2IIO LbKy/efeVb28WBR9SfNo4Z2XZO/YOeQr4eCH3uHc1ug+TGBCfzfVGF1bNbVCwSi+QARu hqkw==; 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=YX28zyeO; arc=pass (i=1 spf=pass spfdomain=lausen.nl); spf=pass (google.com: domain of linux-kernel+bounces-137130-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137130-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 y8-20020a056402270800b0056e706e7396si1002547edd.519.2024.04.09.07.51.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 07:51:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-137130-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=YX28zyeO; arc=pass (i=1 spf=pass spfdomain=lausen.nl); spf=pass (google.com: domain of linux-kernel+bounces-137130-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137130-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 AB0FB1F276BF for ; Tue, 9 Apr 2024 14:50:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 87239130E40; Tue, 9 Apr 2024 14:48:51 +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="YX28zyeO" 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 B0D9A50A62 for ; Tue, 9 Apr 2024 14:48: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=1712674130; cv=none; b=d+cUtoe05J+WF6mcoHRaTUmsLmfxJcfuDbzVK8J0x4vwcbRLED24lpkizlfny99/ScQBTwOU8ALmxlP2c/csXuoJof2vH6jXHiloOWujYllJrwiE6nyRs4KM0AwziWFSH8giZ5aoGedZsvhEP7yh6zkov6NwvPEkeb4Xuor8zmg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712674130; c=relaxed/simple; bh=bSBMOSEIwri42I+EM+PyX9ZK5/mVrNAM53JMXpJiGrY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=pAT/N0gKPMY/+vxT53UFiZ8ds5pkkoNfX5yfrNxvg98OBLpszTP7Nh+52ZhnmObGICngxMgX1KJKkJ1Jh0yIXaSBto4sQ5C0FQrPqYYME1XBmQT6mpBX1f8Tvh9KwFf8yO1NF5JB6cK1uHA8s5HtJjoXBMGF/M5Q1gaQ/HhwdK8= 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=YX28zyeO 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 31281 invoked by uid 990); 9 Apr 2024 14:42:05 -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:04 +0200 Message-ID: <18a16fcd-3ae1-48af-94ed-72700a656e8e@lausen.nl> Date: Tue, 9 Apr 2024 10:41:59 -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 Subject: Re: [PATCH v2 0/3] gov_power_allocator: Allow binding before cooling devices Content-Language: en-US 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 References: <20240403-gpa-no-cooling-devs-v2-0-79bdd8439449@trvn.ru> From: Leonard Lausen 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.348686) XM_UA_NO_VERSION(0.01) MIME_GOOD(-0.1) X-Rspamd-Score: 1.061313 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lausen.nl; s=uberspace; h=from:to:cc:subject:date; bh=bSBMOSEIwri42I+EM+PyX9ZK5/mVrNAM53JMXpJiGrY=; b=YX28zyeOtVRG3iXskkpsZdlPIRqBHVYU6I9cNBc3xLfDDE33JZLNx6dw+qLb8GvYKmgv711jor +QGFuFRR0+cGrngBvCKAnLs+kgzAsKk4vXkJJNRjWgrM4DZIVPS8ZUZ0/kzCBZAHjLkbWDCYYd/T a66wcx6AFaW4geAPdDOVjf2XvrZMj3UmZS1H076oT0/Ro4G3Etz3Zr7LTg8bxlbRpW2hQeYEZlov MbbTPyUAapELfJIGPLL8ZFAjlDB+Kbw6iuGfKE03QV5IbtzVLt0ITYiKHAgjpck2xIk/JJu6c3qf sH3LfY/6hjeEuytbmU/PFn/GZx4DujcrAsEtL5YgQDdphl5pS+CAAzZW1jRFviZjzDUHVE+LXkod YeKhJ+ch+cIZfVZfdoLxSkt0l87oLPO94LSQwbHJa+Y/wEq19q7g3eE6eaU807uZQCAqWSCkbEJJ dLBOQ/XnAgElQb5it2xk8Ea3qz4z2AnDK+DrN/gLwGEeETepW5AwJclqvsgP4rimCuDVVKZIGcRZ wkKHDaT2eaCWx2Rq77++IqwPJPbqx+XaroVgA1CbIIwGrWziCtaCzgsyZmqtC2BW7UemqJmLjWBT eWIxbFMSWSejefQzjqExPUM6/h4599p0e1/+fg0RKrV5JS48xRsswn3JIcQvfgsFLj+d3E0kntey U= 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 #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,