Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp487215lqb; Wed, 29 May 2024 01:25:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVpR5o7fXaDfGb6D9+4fmnWFvUu2zWJM7TMgz2HzxExNIuTb8g/wvgUSGNkESlZsJZaoWxC0J4JpUdjRC9LKzpm3JMMJcMY8OOrEIsIpg== X-Google-Smtp-Source: AGHT+IFjBGjpkFyWSow14gwayzXRpryAYDPcNfC5oXTZjrNxc1ek1pa/b0sExzorbfgAhEjnmGnY X-Received: by 2002:a05:620a:4256:b0:793:1c64:131e with SMTP id af79cd13be357-794ab1123c8mr1762947085a.50.1716971110693; Wed, 29 May 2024 01:25:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716971110; cv=pass; d=google.com; s=arc-20160816; b=Yt9kSAE4QDfSp0Z1OoVdT+QRf0L6dgwFMZru0tVeX/fJLj3BlOkyF9DqCDvRGfZerj Z+/fU66aoE8HQXIyBTrbZzh2wKpCd5TK6WWH34XBLsrQbVfuGm6H19mwAsjTDETS5N3N iBvyCPT1U5EIxq2dgtexnFMIj5Ey328Owpjjs3OT6e/SYlqO0mMfwID/FtFpzn1uzm3w RlbMI6jLlT8XhwCCAGSHfRIIz+gJfCj5S7TLLHpmXO6F0C9Qw+tzxz0S4PSwQpKsVMjV OgCG3chLHD6Fl2sNRks2IBYe9evxqASXiwg5DmFJI7yx7iB+OEET5HWJqiw9MSNYz7iX Z5fw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=fOE0A0l7NfKBSljfnqniwrdePepuGPXfC4qSeThvThQ=; fh=R0BBp/A9tOk1UYRHAf3K73HxJbn49q1IobRFLa3fTzo=; b=xYE11ES8Tu6m+XbxxJezTt6Ehtt/20vkCoIVLOL+V6cZgfwsQdT5ldOOpqVxmnpYHW 4T7fBAkDdWtffZlzuJYmAngu39wuFJuBvS1OQrJ7JDeQ1Xt0UXUiMIe+Vfj8nI4RY4Zt HstCyfztvyEspeKM4fjdOe4L/RgUuS4ldcOYwsDMp4tCRl8ZUzaScTGIb5PVbHL4gW6/ 9yq7OlpyROCviUgA1VDjlOemhCopMdFpIdPP+WxcRPd954QL8FZi1FPyorXajG0lo89B NQsJaOH27GVbR/L/BK5goRJx8D5XF/8EYUXe/DMVMjdQC7Tu1vx9AruiYruW7eYmZoKc rxuQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=ORKOniri; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-193719-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193719-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-43fb17eb138si120208301cf.179.2024.05.29.01.25.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 01:25:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-193719-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=ORKOniri; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-193719-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193719-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id E6C161C24FA3 for ; Wed, 29 May 2024 08:24:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 000341802BE; Wed, 29 May 2024 08:19:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="ORKOniri" Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) (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 0AE15169397 for ; Wed, 29 May 2024 08:19:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716970786; cv=none; b=gDlYEUQeh0JjzxkNs3RsxXKX57QNf2fAOS1b47tzw5kPh6v7rh0zf+2setcWdlzjyUDbGjGGmqAmPOM/4vo5Go+kSPRJvikyn03gUlYjd5/nJNkd5L/OfA8Per/CJRMXwp1btHWDdwhsyPjWzME7DyQH56Pab6+lp/BJ/pWX+is= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716970786; c=relaxed/simple; bh=Ae90CS/pD9BkisUZjgTcWgpjDwmgKX7NJpeOtvmu0Cg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=R3QmytwWaUfePFT4lnH6pCznBI2cCS1LcCz4mlwDAIlkAQHWOUlL6sKy8b8a0RUdRIwCfBFR/fTs7AdE1svJ8lwDn208hEArCCnf4AfIqZJaRknpbkEPXub+zoIzdJb5Xqrx0Wk2DiGYz/wj2j6PJ0Ic0FOzB2XX611CRXn6MF8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=ORKOniri; arc=none smtp.client-ip=209.85.221.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-354de3c5d00so320991f8f.1 for ; Wed, 29 May 2024 01:19:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1716970782; x=1717575582; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=fOE0A0l7NfKBSljfnqniwrdePepuGPXfC4qSeThvThQ=; b=ORKOniriRTgvLumwzUPoO36Jr1rJqkdRndtrWdXm1o5TBJNsUzt6+Cd8E0g05EzmLH dEwtdniCgDE4k0Fx3liyZXKqdZpZcGtDCb3hG1amgpMP+TzCOgQ8XuVsT+nUJbcy51nD W1x04Yx2NaZofPOERJnv3Jq+UVMgg07mpFmeluGkepf7BDzWPw7o/Zy+TG4Jw//7axjF /nxPUZ6oLjTodPReTR1JUCaiO05hxFvLptGu3AyeZgcfaaGJxU2vMOw7/SxUuPGYxM9D tMazW3WBe2AdkF12frt8dLi2m59j6dwjhlyjetkyUQIuibFZE+3hamLg8FyTpKH9edi8 DEjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716970782; x=1717575582; h=content-transfer-encoding:in-reply-to: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=fOE0A0l7NfKBSljfnqniwrdePepuGPXfC4qSeThvThQ=; b=DSas9PvNQW2ncGJeKPDGCISbigUE0DnkwSKHZPynDxQ/S6f9yYT/UDTkDuNDyDNK+I nc92Gx5x5QbiH0q86ff9qQGDaKHA56x6OtxCm2HkZfjJAh/yLe4SkZDHIJVs4nAjwAi5 R+zA9P2ro9j41q/b8g94yIBet70TTCAY9Pjk88pHXC44zQ+odGR9hcPx3C5LFFVo5lOg MUYw9BVXssilFt0u21EEmfKKgiFK1AnBpWVAZ2IgeZhL2VmthRYszWnKaWuJm2oCoOvF 5NGUcL/ykTdvj31ezbKlrjuWQiGB8rQ6ruuX5jljyfpjWbKKhuu1jhHkXtLwImRLiPdc MBLQ== X-Forwarded-Encrypted: i=1; AJvYcCUwmFMvTHIn4+Jocv323G6pmgN8gagMd3CqEzLT63j0Ya+fq7Whn12GhZSlqM6qHyXEwV/w1jjz0r/nL/kDF2aSp+/pmzf4PfC7QEzy X-Gm-Message-State: AOJu0Yzqx1tM/j85gz4GsyIdxhXbu00Lgcv/TcaZsUYmZ9YeLu1VVshK abbvsvuowp6kQ/Q27lJ2Xm+oPTGj4GTsYJKIs6si23ZiEQCxGJw/x3dOFh9tfxU= X-Received: by 2002:adf:cb92:0:b0:34c:77bd:2508 with SMTP id ffacd0b85a97d-35c79d6fecbmr990696f8f.11.1716970782209; Wed, 29 May 2024 01:19:42 -0700 (PDT) Received: from [10.1.5.19] (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3557a08a8dfsm13980128f8f.30.2024.05.29.01.19.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 May 2024 01:19:41 -0700 (PDT) Message-ID: <6d01d555-9af8-4ec8-8630-0d9a7b48f423@baylibre.com> Date: Wed, 29 May 2024 10:19:40 +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: Krzysztof Kozlowski , 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> <1b691b03-1d2c-48ee-9907-dc043ea1ed5d@linaro.org> Content-Language: en-US From: Alexandre Bailon In-Reply-To: <1b691b03-1d2c-48ee-9907-dc043ea1ed5d@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 5/27/24 08:56, Krzysztof Kozlowski wrote: > 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? To aggregate all thermal sensors which are in same performance domain, we removes each individual nodes to create only two: cpu-little and cpu-big. We need to remove the other nodes because their trips points and cooling devices would conflict with those we define for the multi sensor thermal zone. Best Regards, Alexandre > > Does not look tested. You just introduced warnings. > > Best regards, > Krzysztof >