Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp5759670imb; Fri, 8 Mar 2019 01:29:26 -0800 (PST) X-Google-Smtp-Source: APXvYqxFaDEuUmZsy17HcOkFdGbN9iTHxHqw+6UWoyssV7ecV7WUt3sbP4i0pq1/LLoXQuJxt+o+ X-Received: by 2002:a63:6841:: with SMTP id d62mr15921804pgc.133.1552037366281; Fri, 08 Mar 2019 01:29:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1552037366; cv=none; d=google.com; s=arc-20160816; b=YF66ZkqSKMsTJniLNCaXY5X+4JatFiy4Jnzy6igNLway1oDVTUyVYlF2gsiI1vrUpP JS2km2PWV/BI5jeX7ILufFl1Ciae4N0OJhiUCmVNCAdmcXMENgzItf4xwCrZwrEV5u6O 6pffNYPT6dDmXmcT0Avfqv+6Fa7FnS5/j//1OMWPm9hUDOKcpAc6Rk0lQ3Q2L2TMLMsd Gq7rDBkeLqXrOJUIBXnxX1MlLW/HUPnejLA9s8Oicq1DhT6j09qaV1J1q8feFRjdosop LRVLL/35Ym+evPwyZm65PcVSfEoHNTRRpbm1eI6Ed08JkJkgbA5VGT1mWBgKQKK4/KGR rVNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=KMYqWqmEZpW/SIThjEhLEnUHdzRiZxufT4g0ftdB7fI=; b=DgWfsyB6pxVI0cer++K2CLRJGAzr6BZu2s/Amv2fYlcDDqP1MjcAmeaLsjlMu3Jwf6 M/SxlkasvazVLb1cUmydf8Tx2uhH1dzA+VI0034VI0sO1JmLCsHPVDzzSifXAAEYRdMj U5LCyBea5S+pad03uB3A+a+qg3MPZtNt59Mr9/aEaFRS7W3s4F5Pyvim1RmfpY4iPK4v E5CJj7eiKdtHQyaFLWL22vtB/EEmo5ygywcZ223Kvvm2R+L9An/Qm+isVDvdknlESf8O W3Xz5BCeWTwbZwi62E2PVB3x7RsKf/VJqB1JJRouHHuze4p+7hSh/3IL6ItXSJshGh1g 4uqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=U7RonqaP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d12si6893826pla.80.2019.03.08.01.29.08; Fri, 08 Mar 2019 01:29:26 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=U7RonqaP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726352AbfCHJ2S (ORCPT + 99 others); Fri, 8 Mar 2019 04:28:18 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:36584 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726283AbfCHJ2R (ORCPT ); Fri, 8 Mar 2019 04:28:17 -0500 Received: by mail-wm1-f66.google.com with SMTP id j125so11828699wmj.1 for ; Fri, 08 Mar 2019 01:28:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=KMYqWqmEZpW/SIThjEhLEnUHdzRiZxufT4g0ftdB7fI=; b=U7RonqaPgYoovOfIW2WlvZrSBBZqVr+V3r9TYbNovlibFts20Qapy0R4mAOOGHlxSx d7v7D+aRMcsNZC1T74dyVQ391UxsljZtz1M+M+oY1lKD1V+m56f5tUaJkaw8xs9D009a 9tUCB0LRB3CmHP2E9cosLLGj81/L1npnGYYcnqm+Ozmlw2FnA1pitL/G+7n2UI2Ekfgm 6HsoEEo0pzzxHUfeLR0DyU830lT9tRaP6pJoU+gPXP3gbj3G2NXHozvUn/GHdoFEZAh7 zxds2J9AMfJhsB4GK/3NvOGV4LFcN5FB5esdQYNuQa4JzZVRTMHfGz6ah1yd7Hm9eg5s udYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=KMYqWqmEZpW/SIThjEhLEnUHdzRiZxufT4g0ftdB7fI=; b=rebsZdlVSTFTqFxQDX1nPk3cCkZuNopO+2kWAXNEehkjlVYWRo6PPY0yjrp2hMn3Wy yzaiKX+S2Grrc2/0lTtCwDH8JDbaam29AcWgKZf5pYMn1Aw4qjAUm/m+5+vyISPmOHKT 6eMaHR/zc/p/shg5Ld3TmdCzdtBJ7qn3GW1dv2qAO8eeiSKlwlh15Tw6g7oeEG5A0vTi ihhXLZCosk2MGff4Dq5HL+yEgmhPt5U76iM/wOkFYHOBhHJxWzRpJ6mIWwIphlS0mCow U0Wu5Iz06DXZas9yuTtoZO2Xg/mfUDmk1bq1kfSkT/lSph7TDXYVt2LkVdWxOWu+dU5k DIlw== X-Gm-Message-State: APjAAAWYxceq/PV0nNann3GVGVcoDxElED9TwE/3qf3m/DADd6/HjqDi D7EaJKwpIDwT27SXW0DbtxFJqQ== X-Received: by 2002:a1c:449:: with SMTP id 70mr8679512wme.118.1552037294775; Fri, 08 Mar 2019 01:28:14 -0800 (PST) Received: from [192.168.0.44] (246.127.130.77.rev.sfr.net. [77.130.127.246]) by smtp.googlemail.com with ESMTPSA id z15sm12524412wrh.18.2019.03.08.01.28.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Mar 2019 01:28:13 -0800 (PST) Subject: Re: [PATCH v2] arm64: dts: ls1088a: add one more thermal zone node To: Andy Tang , Shawn Guo Cc: Leo Li , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-pm@vger.kernel.org" , "rui.zhang@intel.com" , "edubezval@gmail.com" References: <20190304032111.21770-1-andy.tang@nxp.com> <20190304062115.GB26041@dragon> From: Daniel Lezcano Message-ID: Date: Fri, 8 Mar 2019 10:28:12 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=gbk Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/03/2019 03:07, Andy Tang wrote: > > >> -----Original Message----- >> From: Daniel Lezcano >> Sent: 2019??3??7?? 17:15 >> To: Andy Tang ; Shawn Guo >> Cc: Leo Li ; robh+dt@kernel.org; mark.rutland@arm.com; >> linux-arm-kernel@lists.infradead.org; devicetree@vger.kernel.org; >> linux-kernel@vger.kernel.org; linux-pm@vger.kernel.org; rui.zhang@intel.com; >> edubezval@gmail.com >> Subject: Re: [PATCH v2] arm64: dts: ls1088a: add one more thermal zone node >> >>>>> PS: In order to keep consistency to the first thermal-zone node, >>>>> there will be "WARNING: line over 80 characters" warnings. >>>>> >>>>> arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 43 >>>> +++++++++++++++++++++-- >>>>> 1 files changed, 39 insertions(+), 4 deletions(-) >>>>> >>>>> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi >>>>> b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi >>>>> index 661137f..9f52bc9 100644 >>>>> --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi >>>>> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi >>>>> @@ -129,19 +129,19 @@ >>>>> }; >>>>> >>>>> thermal-zones { >>>>> - cpu_thermal: cpu-thermal { >>>>> + ccu { >>>> >>>> Is this change really necessary? What does 'ccu' stand for? >>> I think so. ccu stands for core cluster unit. cpu is too general. >>> On some platforms, there are more than one core clusters. >>> At least we should change it to "core cluster" if short form is not appropriate. >> >> If the sensor is a the cluster level, 'cluster' is enough. IMHO, no need to give a >> description of what contains the cluster, otherwise you will end up with a >> 'core-gpu-cluster-l2' name. > If cluster is specific to core, we can use cluster instead. But I don't think so. > Cluster may refer to "core cluster", "GPU cluster" etc. > So, I think "core-cluster" is ok. > If core was divided to several clusters, we can name it as "core-cluster1", "core-cluster2" etc. > If GPU was divided to several clusters we can name it as "gpu-cluster1", "gpu-cluster2" etc. Hi Andy, I think there is a confusion around the 'cpu' term and 'cluster'. ARM would like to see the 'cluster' word to disappear, so whenever possible we should avoid it. From the hardware side, 'CPU' is usually used to describe the physical chip containing the cores+cache. From the software side, 'CPU' is usually used to describe the logical process unit, aka a core or a hyper-thread. As we are in the DT, so describing the hardware, the CPU refers to the group cores+caches. From my POV, using 'cpu' for the group of cores and 'gpu' for the graphic sounds ok, and so far that is what is used for the other platforms. If you change the name, that may give the feeling there is something special with those thermal zones. -- Linaro.org ?? Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog