Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1949664lqa; Tue, 30 Apr 2024 04:25:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVDi+RJ6ZPOEeaWAvxI8J09Sy6xAoXQtzFAzP2QODfvk05yxpbaYekVDSf5P0FGmGmyMBlNTfPyOQXTyswVq7kjpjnN3ddW283hcbP6ZQ== X-Google-Smtp-Source: AGHT+IHlTme8sM3+qJ5pu0op83/lDtqtPnaNiA1xb7X7Kx60ObShIlL4VVgNOligt6QxGa3f8K7n X-Received: by 2002:a17:903:594:b0:1e4:3c7f:c179 with SMTP id jv20-20020a170903059400b001e43c7fc179mr3020414plb.12.1714476353993; Tue, 30 Apr 2024 04:25:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714476353; cv=pass; d=google.com; s=arc-20160816; b=LmwpE0V70eUhxx8c9UxsQ5H92P4Jt03surJiaWIpi1AuRmywzD6+6c7n3DZZAH1OGl UI3QtRV/UQgZpeYujqI9pVpbsLELUEYXHD71LaQjhE8yfT98WSVmJdnADC332PmToxXn CZ6fIUxEhQR2p5A/uk0aUmANNElc8yYZvu8UBy3nRMHNmdHutPQmaz2qvBPFyuH0NiB4 g8Z4yIx2xED5PPxUtODeDcVaiXGFTMLEZyIIKGZZmMGAyK3A2U2cSeVJEXKbaMsGhjU1 7jLFo1EeV6nHm7VG8Y0PMkr2gFTsvYtX6YA5NeQWuC+zoW+f/RTqsWXInUXmum6p1Oy+ 7Zbw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=XWLp1lMkRn/z9F/qb1rRBcveVv86YGGLdJozbQqO3w4=; fh=bLQDqDCTYkLSmqNY2sGg6ZZgpBePGUPErFWSVe6Rdl8=; b=DDwuAgZlvl1rDob84qRxg7XY/jAOPnkf2Wxroyz567GfCQCF3WOViPFLXgRsYb0nTL CXoOXfU0UtvhO9z9ZM16xHM5s9y2aWUybowSyDPqkP/g30T1nduat49pAtnUpSwzHmAZ eu5kRAPJNykOUgdlMPjOEme7dY3RI+k49f4q0ec4fV+lzIMXyGJ+Dp+BiCfTwb08wx3Z OuLV42gdH4kqwHgYgLmxsKHv5OhHPA1Q0ws51qVcjaL0KjlcAYEpima9VmuHXpD5U5q5 ZJcE9u2QDK+4+ROIN+Fp9jHzuX7d6ffJ3G5YPxZgT+mGn0yucV8pxzwhpar1Kla2Dc9u z/Ew==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wteN+2xH; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-163842-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163842-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id f6-20020a635546000000b006003ee04f15si15562837pgm.698.2024.04.30.04.25.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 04:25:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-163842-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wteN+2xH; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-163842-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163842-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 36D1A285692 for ; Tue, 30 Apr 2024 11:24:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 95B3017592; Tue, 30 Apr 2024 11:24:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="wteN+2xH" Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) (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 0432912D20F for ; Tue, 30 Apr 2024 11:23:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714476241; cv=none; b=dEN4qP/KPOFZb6XcVqgUZv2ucIZKz/OYwBO46pBLkPCF/21bGIcsC+vhUNtVlrpzQ89drfWZUqp5ko4Q/TL3CvVMDijVLDHb1CGXSOMx1rLfQpwb01RybPcvDp1T6eDrhHrCw2Nmi7wckUhkwHQFYldzO/VuEObPqFQQV4FDdcg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714476241; c=relaxed/simple; bh=Xc/E1muDcRTkULpV7kIzSbWB3pDGQ/49fUGW3LpDLU8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=eraxJ37BxS5AnKjZwv4JyG/knHtJDAiCCR2C8T23gf3if81O/WLGkcgGQABjMOwT2B1R8h8s3cYlL5SNjbPem/kTdKHx5gab4HXwc4gokXmZbcQL97jkSjM66etxRm+oaPHndARFJKzR1Mov5wXjY60t5SiSdi9Onx6S55e9SY8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=wteN+2xH; arc=none smtp.client-ip=209.85.218.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-a51addddbd4so607890366b.0 for ; Tue, 30 Apr 2024 04:23:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714476238; x=1715081038; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=XWLp1lMkRn/z9F/qb1rRBcveVv86YGGLdJozbQqO3w4=; b=wteN+2xHbalmfFAhfIYncc9nUNXG3OakploFfLqKyDj5sYIQ/2o1lJju8YtzVrq67t yqG33atk6u7e9dj0XNA6S8yyN1dmmHtHJs2+HCrhMdn7AaU/LyleeU7FuSbNB8oJVmKS 8D8fpVzAscJEJPQpjk5gIu1u91kG3vEcdru2OtPicMawjpa85Tspdcm8WlgtLaYwNwx6 DobvZb7fQVrb+gp161Hu3EB9fmKTvNr7/LdXzWXMDdWdu0Kgw9QLL5bs1TGQJ83Wfknn v1XUTx4gnMI/z/sx1+XpIN1Gi09NE1qFN7jbvY9a6COHxwYG3PtnMf2WyXfOoQiRvbV6 vODA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714476238; x=1715081038; h=content-transfer-encoding:in-reply-to:autocrypt: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=XWLp1lMkRn/z9F/qb1rRBcveVv86YGGLdJozbQqO3w4=; b=OHw8hePX+XUR8601NLy+y1h056uopu/n6bX5IcX4tAAuGsXNhhRUXDPUYYH8PHUuhV ur2ggB9WwpuH7DcbeAYmeOZ1RjKVHUuLFJyjd/SCl0tG5/oenYLViZAYt4lFnWw6yLS2 TLDNE7XMipNNxxKA16NLMtDJf7kreGCSO7+JfWwezzq25X/VCFFBcNPIuWXgpt37SbgA fH5eWX9XXr8jRj4sQ7DS+R9QY1Q4n59dzy8/Phb/+DI86ROoy5lcB1BOYPNTvHmZhhyx XrtuABOSONhuoJyZWp82zFN2hvwRf8DogUDG9AYzmfA6dfEtNJySPKdjIdn5xUcIwOgL 4Mlg== X-Forwarded-Encrypted: i=1; AJvYcCWWwYk/FsCclhhccWG/lmyU2ad/FmK1yO0Ez35myMkJW6OfplBiilaRsiUCPT+Xx/jRGdSCI2qIvWJcCd9FsCYqByEefKBylWsE/SuO X-Gm-Message-State: AOJu0Yyu1pG2xWEaEHnlJFbsIO+5s5rfJxlQuHcZwTwUWyZwPhEjjbVB YT2mlByXdaTAGxO/YISKg2wm59rBT3NgeTpTBBlBWq+PVhwgkxh/RJC7vfKm6Vc= X-Received: by 2002:a17:906:1113:b0:a55:b7b2:2d42 with SMTP id h19-20020a170906111300b00a55b7b22d42mr8852366eja.24.1714476238348; Tue, 30 Apr 2024 04:23:58 -0700 (PDT) Received: from [192.168.114.15] (078088045141.garwolin.vectranet.pl. [78.88.45.141]) by smtp.gmail.com with ESMTPSA id h6-20020a170906110600b00a5827d2f6f4sm9482718eja.115.2024.04.30.04.23.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Apr 2024 04:23:57 -0700 (PDT) Message-ID: <95760e2b-ec38-4f04-8f86-e4f935d24a83@linaro.org> Date: Tue, 30 Apr 2024 13:23:52 +0200 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 v6 4/5] sched: Rename arch_update_thermal_pressure into arch_update_hw_pressure To: Vincent Guittot , linux@armlinux.org.uk, catalin.marinas@arm.com, will@kernel.org, sudeep.holla@arm.com, rafael@kernel.org, viresh.kumar@linaro.org, agross@kernel.org, andersson@kernel.org, mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, bristot@redhat.com, vschneid@redhat.com, lukasz.luba@arm.com, rui.zhang@intel.com, mhiramat@kernel.org, daniel.lezcano@linaro.org, amit.kachhap@gmail.com, corbet@lwn.net, gregkh@linuxfoundation.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-doc@vger.kernel.org Cc: Qais Yousef , Bjorn Andersson , Dmitry Baryshkov References: <20240326091616.3696851-1-vincent.guittot@linaro.org> <20240326091616.3696851-5-vincent.guittot@linaro.org> Content-Language: en-US From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj9XpDbt1hNwKQfiidmPh5e7VNAWRnW1iCMMoKqzM1Anzq7e5Afyeif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ZzvwxV6L1CojUEpnilmMG1ZOTstktWpNzw3G2Gis0XihDUef0MWVsQYJAl0wfiv/0By+XK mm2zRR+l/dnzxnlbgJ5pO0imC2w0TVxLkAp0eo0LHw619finad2u6UPQAkZ4oj++iIGrJkt5 Lkn2XgB+IW8ESflz6nDY3b5KQRF8Z6XLP0+IEdLOOARkOW7yEgorBgEEAZdVAQUBAQdAwmUx xrbSCx2ksDxz7rFFGX1KmTkdRtcgC6F3NfuNYkYDAQgHwsF2BBgBCAAgFiEEU24if9oCL2zd AAQVR4cBcg5dfFgFAmQ5bvICGwwACgkQR4cBcg5dfFju1Q//Xta1ShwL0MLSC1KL1lXGXeRM 8arzfyiB5wJ9tb9U/nZvhhdfilEDLe0jKJY0RJErbdRHsalwQCrtq/1ewQpMpsRxXzAjgfRN jc4tgxRWmI+aVTzSRpywNahzZBT695hMz81cVZJoZzaV0KaMTlSnBkrviPz1nIGHYCHJxF9r cIu0GSIyUjZ/7xslxdvjpLth16H27JCWDzDqIQMtg61063gNyEyWgt1qRSaK14JIH/DoYRfn jfFQSC8bffFjat7BQGFz4ZpRavkMUFuDirn5Tf28oc5ebe2cIHp4/kajTx/7JOxWZ80U70mA cBgEeYSrYYnX+UJsSxpzLc/0sT1eRJDEhI4XIQM4ClIzpsCIN5HnVF76UQXh3a9zpwh3dk8i bhN/URmCOTH+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <20240326091616.3696851-5-vincent.guittot@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 26.03.2024 10:16 AM, Vincent Guittot wrote: > Now that cpufreq provides a pressure value to the scheduler, rename > arch_update_thermal_pressure into HW pressure to reflect that it returns > a pressure applied by HW (i.e. with a high frequency change) and not > always related to thermal mitigation but also generated by max current > limitation as an example. Such high frequency signal needs filtering to be > smoothed and provide an value that reflects the average available capacity > into the scheduler time scale. > > Signed-off-by: Vincent Guittot > Reviewed-by: Qais Yousef > Reviewed-by: Lukasz Luba > Tested-by: Lukasz Luba > --- Hi, I'm not quite sure how, but this commit specifically breaks booting on Qualcomm platforms with EAS.. https://pastebin.com/raw/1Uh7u81x Konrad