Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp1881743lqb; Sun, 26 May 2024 23:57:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV/RKV8oyGMP7jXl4qQp2Riu+3YlgERlaTbMSq6zP9WVWSUkmgZ9ub0hs1Zf6T2sdCkagidtl2UWRdguY4pA5ixsZt4O3uJRV5XYCcm4g== X-Google-Smtp-Source: AGHT+IHrUp0eJkUSzedtICba8EKnXRjZA13fgf9uYyDucp67VFs83PmaUhdYCCLVxXps2MhEiTvD X-Received: by 2002:a17:906:7d86:b0:a5a:891b:416b with SMTP id a640c23a62f3a-a62642d8719mr537007366b.20.1716793028795; Sun, 26 May 2024 23:57:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716793028; cv=pass; d=google.com; s=arc-20160816; b=FhNGiRLzxrDwqjsghR1Wa5MBL5TpNcSZ8ReayBjWCNKy+mrqwENpEYSMSDhdPUAsto rT5aqfX2pAmikuoAGglgp6p5wwRLsLCsnl33u+VmAkOQRy7I4CjPh3elOgF4sTbcaPR2 AtigFy6iXV99zCDbLeLIfdUq2zrpn7FuSvtVfPVrFcBxUSzAqZ8nK5/UMaTx/SyNfJ6y YUD/EFqkcs6l5QOxfvytgV0cxnPW51vqbRb5fLZOMNsXVnMNZ7z7Rou8M8srHLlKkc2g 7ZAUnsHAYA4Dr8rMPPnK/oopSd7Xtcd7XWjd2SeQsWpUGrzi2jpiKlMcyj82w10nciHS 6Jgg== 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:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=gZ09OIEijtK7C2A3jYTqDcFl+COEux6T8i6drV3crdQ=; fh=jBN/0Pyl9iPGFxXyhBiy6pFUrI2Gw1dykvp/9O7uJKs=; b=OuVs1+1FidSZvDN1/lK6Z/oQItRkc/mfasvyXHR3hopBS+uohfzQfKyrirnOzTUGP5 HThqr0cs+7Vm+T3aTkfiZlKSfRomEJ24tSFYmn0cIs+GDZn9HJXC49E293594xwoOJlE JRq2UbV7oy/PG0NB9YhQLBeHtd8KhPhxBG6vdDk2yR5aoGqCKTDjbvwu+9bErxY1ktlC QQQeR3xnj8cIIHUvQ+eJF6y4g27sdqIkQIWW6v8T8g1m4KwZe2phZk5fRgTsSYBnBPQ7 takzRKQqv+zuszgpEcE4vvmO3ljZGuOmgTsWbcMI1wC6QazfAUiZBYtawetSffNxWrb/ s23Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="WhgABS/M"; 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-190111-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190111-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a626cd96cdcsi358678866b.891.2024.05.26.23.57.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 May 2024 23:57:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190111-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=@linaro.org header.s=google header.b="WhgABS/M"; 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-190111-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190111-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 60A241F2151B for ; Mon, 27 May 2024 06:57:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5954B17BA9; Mon, 27 May 2024 06:56:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="WhgABS/M" Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) (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 E6DC02836A for ; Mon, 27 May 2024 06:56:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716793017; cv=none; b=ijStH198BrdHMYxmJgLYB/vqH54BhKXpQ5rKCIJG/KdejQ6ysFvw//3ziQhSiE99j/EZE6Cay6hqOpHVMlYFz1UBYbTQS0w0IrsiCFKQogHvaFml1xKfHvoaT+nbWu//Q1rWLzyjmNYo8NHHziONpzXoRQTJbHX4CNMc0xx93eU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716793017; c=relaxed/simple; bh=Ip3HyV+TwixV9ZJHQtqhXEVzHgpB9zQHR+NAaT+7PG8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=rbAPOZqh2dhiHydBAQGiF3hq2U8kh/TG4di/hNX4VczM7YZwLyeEDtlST5WCyu94EE7IxLsSN8+DLxSfyPIK26Qa78A5ZNNqrWs8XsyHNbDcM2utMERfoxCr9bW+HSCMUf5OmpxV6fdYVq6TK0hOXc48TwZNdxmyWXLT1dipxHc= 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=WhgABS/M; arc=none smtp.client-ip=209.85.167.47 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-lf1-f47.google.com with SMTP id 2adb3069b0e04-529aa4e988aso1495469e87.0 for ; Sun, 26 May 2024 23:56:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716793014; x=1717397814; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=gZ09OIEijtK7C2A3jYTqDcFl+COEux6T8i6drV3crdQ=; b=WhgABS/MNGu+bQUmPyhuxHNFsuW6Yn4TtL5wDgDiXuS19/7VBZqcIUveff49LS7iT0 YH+8DNoByzTHahQe/QXhzkqBnTRoMWhpWXyouZ1iL1DsEflWjvXfo3pC5I2t8znt6VBn MRS1HZNFP5H2MN8biligUIN196ungPL1kQpGDH2roOJMt7qWpIrMwy0D4lSIZLDU4xFs tpKxzKUGWO4JCBji+rZtuJmfaKg/MkSmZIsq+JDyfPcdS0ffjNErGI0I5cXclSIHQOEb QndD9nTERRXrx67UBkkaJLHhqYXOtUl+oqJ/dE5qWUmsy/YzOpCmilMpmI9gCZmw21iy JKQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716793014; x=1717397814; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from: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=gZ09OIEijtK7C2A3jYTqDcFl+COEux6T8i6drV3crdQ=; b=l0T9hsrF2YmaEa24t+T38KQ9wtK0lZQNMBg5ZrzRNoDrBFcCapNZyOXv4JkVOoSdQa hPWDh6/9wGwhRlJ3xwNS8k58nQcCr20jeaEIdmLSW4qkNqqjncfFLOlQDFz+1JyyfbWZ VQK/AnHLsUtCAqMmx1kThsQrM49cVevYvwbB/yMRl7rl5Gg4HvdxzMb3JO8shUrFUNHD aAJ0eGRqJqF13P8EEIzbV1x/TWJKBYKFIAYdoEPMq6jkB+TP8GDnfVwecqsNAZMBA8+Z unai4mpLuhITH5Ar8Bv57rysdk2o1AVMu6e6Ghnpd8nPsmKBWvBj57e2QCk8r1scIcga GT8w== X-Forwarded-Encrypted: i=1; AJvYcCWfmY6WZPNZaVJ4+gJ28B8v93RzI/DhL3/rtf6273rSbidwEnnoyDCSpAl8OIGTR9ecxuGURAlyijQwEQtcq2UslqZBsbmZn6F4S4yN X-Gm-Message-State: AOJu0Yw8l1CWA9yGxF7iXmZvVJ4WUzYZcWT17yoiETjvVNVHY4wZLn36 S8I8MggEFl3C9S0IGzEM4HDLvNJyjg3Kfhbmmnm4e+GTyfDfjMtGtNmGRux5LAY= X-Received: by 2002:a05:6512:110f:b0:51c:6c59:627e with SMTP id 2adb3069b0e04-529661f2c34mr6606138e87.42.1716793014216; Sun, 26 May 2024 23:56:54 -0700 (PDT) Received: from [192.168.1.20] ([178.197.206.169]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a626c81773bsm458298366b.30.2024.05.26.23.56.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 26 May 2024 23:56:53 -0700 (PDT) Message-ID: <1b691b03-1d2c-48ee-9907-dc043ea1ed5d@linaro.org> Date: Mon, 27 May 2024 08:56: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 v3 6/6] ARM64: mt8195: Use thermal aggregation for big and little cpu To: Alexandre Bailon , rafael@kernel.org, daniel.lezcano@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: rui.zhang@intel.com, lukasz.luba@arm.com, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240524143150.610949-1-abailon@baylibre.com> <20240524143150.610949-7-abailon@baylibre.com> From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Iz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sU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240524143150.610949-7-abailon@baylibre.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 24/05/2024 16:31, Alexandre Bailon wrote: > This uses the thermal aggregation for the mt8195 to get the maximal > temperature of big and little cpu clusters. > > Signed-off-by: Alexandre Bailon > --- > arch/arm64/boot/dts/mediatek/mt8195.dtsi | 212 +++-------------------- > 1 file changed, 27 insertions(+), 185 deletions(-) > > diff --git a/arch/arm64/boot/dts/mediatek/mt8195.dtsi b/arch/arm64/boot/dts/mediatek/mt8195.dtsi > index 5d8b68f86ce4..8aa2bf142622 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8195.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8195.dtsi > @@ -3600,50 +3600,31 @@ dp_tx: dp-tx@1c600000 { > }; > > thermal_zones: thermal-zones { > - cpu0-thermal { > + cpu-little { How is it related to the commit? Does not look tested. You just introduced warnings. Best regards, Krzysztof