Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3266506lqp; Tue, 26 Mar 2024 04:47:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUDyVKl3SgKkN0Gl4AFKf7U/a1sce/aBTCE4hpV/sJvKh2jfUo6sJVJRWpqZQbCOBhfHRGcjXA7t+eNNmvRB89tnkxpF0DRBnu6BMPk7Q== X-Google-Smtp-Source: AGHT+IEtM61DqF6HfdZbApZGeGI+mg5xdQKv3CTEiaGy1ODgb9HUjEZLsP1uyoZY5O19Bu+ruZTC X-Received: by 2002:a17:906:305b:b0:a47:383f:fa0a with SMTP id d27-20020a170906305b00b00a47383ffa0amr7576461ejd.46.1711453651419; Tue, 26 Mar 2024 04:47:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711453651; cv=pass; d=google.com; s=arc-20160816; b=Fk2YDeiM8bTG7RMkA39XtyVitu8Fjm5/QGxZ91xjItwYd4V8aqV5PaDATXeukNbXLu s6XGSWvpVSov5XXuSqrleN5I8PgANBKcGyjZ6uxHL4yTChRNcTOxGfx5SvpfDGIYOU9x CPTgcmzCyj4YCqTY9wRWJfLjHdFataQ/TiRhKJm8pfQDk9RPgSnrcPqdYL5qC+ErrsWL nlO1vSb/OVHZ/Ox/av03SZIiwRHZhudzqNMcvpDYVsEc7cIYGC3PnwMPDWs2QaptI4O/ qeGafqZgvOJznPxBXF6Dk/xY1+Hg0qvrNPKIZQyiJm0SaWoyDSPuNtOJegCpTjDW2vhG xmvQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=OH9xpZHq5zm32WUZrXK8kfzeBNZUknI+dO6M8e8k1Bg=; fh=lZGyTEpI5Pv9iE4gYmA4fLD3B5EWkBdNNuvEd+yMHD8=; b=ae5/CHW0ANgyEMRR8R4T7P4ck7zJCh0pa6Eei14jmar78xB/S/5yWy//W02tz+miDX 69Xw1ljtXucvGtrSt/grlOH6ucthlsSlNYq3Q9faadcsY5MwJQfjMUcgHtkyYvfvN2+N RoQKzzGHPw1hdb1ix94c88HLt0Y/KjhzW/yPlaJWfWwNOD3+4gt45CkgfCL02pv3cxbw fUGP9VYj37sC+YkqtqaNWmSNK4BfBiZd+vKcteAZjWTqvQ7WNEroQywPbcEghF6PEJXx R6oiXcesDcUXdHk61F9FNUjrAZXZfv7AB5R2eITT6Nhq+LQy5t2wQnMx2SCsntJx8xBX ZDvg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="lt/WW03m"; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-118916-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118916-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id gh1-20020a170906e08100b00a47534ea956si2321190ejb.573.2024.03.26.04.47.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 04:47:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-118916-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=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="lt/WW03m"; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-118916-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118916-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com 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 1F4EF1F3D98E for ; Tue, 26 Mar 2024 11:47:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 313486BB52; Tue, 26 Mar 2024 11:47:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="lt/WW03m" Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) (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 99C0A5810C; Tue, 26 Mar 2024 11:47:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.248 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711453641; cv=none; b=qKEebiroHjFCgS/C5yioq15p19w9rBUYd8MWSw9fvWv3KMM40YTPYT7dXRyEIhiEjx3+wpK5Y/rIknsN7qBGqgf0YTiD5f+O4SjvY3VtMjGVeUIJLpMRc5HZekgS+Kf0cYc93SaM414fXeaCEwCCgUo6+9vTg/9bxBhvZHI1SKY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711453641; c=relaxed/simple; bh=G8cxDTpcn6Dk3PzuJDxp5gUz+xViCQX62aAkRHSm314=; h=Date:From:To:CC:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=XhZEzR6WjN0/Gk+fHKV2OKqF1AhBqjsZIRmEaL4eW26e7WjrWt5vshr2O0tr+VefDkccxLSx7nC7VkFZ1ViCqoeooXg+rN9d7erGI37qvnYI0O28/gF7TqaxchQ7RGvK90LNI26ef1ceMm0SVjpeZjI4zlCrpZLnIQJfV7bDNAs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=lt/WW03m; arc=none smtp.client-ip=198.47.23.248 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 42QBkrQF084876; Tue, 26 Mar 2024 06:46:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1711453613; bh=OH9xpZHq5zm32WUZrXK8kfzeBNZUknI+dO6M8e8k1Bg=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=lt/WW03mCg4aA5F1zhkI72SVlqfuk1Nq/O2ox2YV76/VepAdV4so00zTl9t9RO5qJ lIRoHZhbcMTNYm38OtZc+IFJyOtZYkiXCDmCW9kfyz66XqHU33nN9Cg62cQSvBS2uC 2Ox7S9+RemHlvkBadYGtM68N0IElgX5Flo8JAXh0= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 42QBkroS016480 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 26 Mar 2024 06:46:53 -0500 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 26 Mar 2024 06:46:53 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 26 Mar 2024 06:46:53 -0500 Received: from localhost (dhruva.dhcp.ti.com [172.24.227.68]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 42QBkqBY011628; Tue, 26 Mar 2024 06:46:52 -0500 Date: Tue, 26 Mar 2024 17:16:51 +0530 From: Dhruva Gole To: Vincent Guittot CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH v6 3/5] thermal/cpufreq: Remove arch_update_thermal_pressure() Message-ID: <20240326114651.ibuoa5f7gk57t4if@dhruva> References: <20240326091616.3696851-1-vincent.guittot@linaro.org> <20240326091616.3696851-4-vincent.guittot@linaro.org> 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="us-ascii" Content-Disposition: inline In-Reply-To: <20240326091616.3696851-4-vincent.guittot@linaro.org> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Hi, On Mar 26, 2024 at 10:16:14 +0100, Vincent Guittot wrote: > arch_update_thermal_pressure() aims to update fast changing signal which > should be averaged using PELT filtering before being provided to the > scheduler which can't make smart use of fast changing signal. > cpufreq now provides the maximum freq_qos pressure on the capacity to the > scheduler, which includes cpufreq cooling device. Remove the call to > arch_update_thermal_pressure() in cpufreq cooling device as this is > handled by cpufreq_get_pressure(). > > Signed-off-by: Vincent Guittot > Reviewed-by: Lukasz Luba > Acked-by: Viresh Kumar > Tested-by: Lukasz Luba > --- Makes sense, Reviewed-by: Dhruva Gole -- Best regards, Dhruva