From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752474AbbBRQ7T (ORCPT ); Wed, 18 Feb 2015 11:59:19 -0500 Received: from mga01.intel.com ([192.55.52.88]:62263 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751571AbbBRQ7S (ORCPT ); Wed, 18 Feb 2015 11:59:18 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,602,1418112000"; d="scan'208";a="687450830" Message-ID: <1424278698.23187.39.camel@spandruv-DESK3.jf.intel.com> Subject: Re: [PATCH RFC 02/12] Documentation: thermal docbook: add glossary From: Srinivas Pandruvada To: Javi Merino Cc: Eduardo Valentin , Rui Zhang , "ezequiel.garcia@free-electrons.com" , "amit.kachhap@linaro.org" , "viresh.kumar@linaro.org" , "amit.daniel@samsung.com" , "hongbo.zhang@linaro.com" , "andrew@lunn.ch" , "durgadoss.r@intel.com" , "peter@piie.net" , "shawn.guo@linaro.org" , "aaron.lu@intel.com" , "caesar.wang@rock-chips.com" , "b.zolnierkie@samsung.com" , "l.majewski@samsung.com" , "vincenzo.frascino@st.com" , "mperttunen@nvidia.com" , "mikko.perttunen@kapsi.fi" , "jacob.jun.pan@linux.intel.com" , "bcousson@baylibre.com" , LKML , Linux PM Date: Wed, 18 Feb 2015 08:58:18 -0800 In-Reply-To: <20150218115221.GD2990@e104805> References: <1423517653-11359-1-git-send-email-edubezval@gmail.com> <1423517653-11359-3-git-send-email-edubezval@gmail.com> <20150218115221.GD2990@e104805> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4 (3.10.4-4.fc20) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2015-02-18 at 11:52 +0000, Javi Merino wrote: > Hi Eduardo, > > On Mon, Feb 09, 2015 at 09:34:03PM +0000, Eduardo Valentin wrote: > > This change introduces a section in the Introduction Chapter to > > list concepts used by the Thermal Framework. > > > > Signed-off-by: Eduardo Valentin > > --- > > Documentation/DocBook/thermal.tmpl | 129 ++++++++++++++++++++++++++++++++++++- > > 1 file changed, 128 insertions(+), 1 deletion(-) > > > > diff --git a/Documentation/DocBook/thermal.tmpl b/Documentation/DocBook/thermal.tmpl > > index f8fb8a2..66efed3 100644 > > --- a/Documentation/DocBook/thermal.tmpl > > +++ b/Documentation/DocBook/thermal.tmpl > > @@ -84,5 +84,132 @@ > > devices. > > > > > > - > > + > > + Glossary > > + The Linux Kernel Thermal Framework uses a > > + specific terminology to represent the entities involved > > + in thermal constrained environments. This section > > + summaries the terminology as dictionary. These terms are > > + in use within the present document and in the source > > + code of the Linux Kernel Thermal Framework. > > + > > + > > + > > + Thermal Zone > > + > > + Thermal zones represent > > + what is the current status of a > > + thermal constrained zone in the > > + hardware. The zone usually is a > > + device or component. The status > > + of a thermal zone is mainly with > > + respect to temperature. > > + Currently, the Linux Kernel > > + Thermal Framework represents > > + temperature in miliCelsius. The > > + current abstraction covers for > > + non negative temperatures and > > + constraints. > > + > > Shall we point out that a thermal zone doesn't necessarily imply a > thermal sensor? I find it very common to assume that if you have 10 > sensors, you should have 10 thermal zones. From my point of view, a > thermal zone is an area that has similar thermal characteristics. > Therefore, the temperature of the thermal zone doesn't necessarily > have to come from on sensor, and can be defined as a combination of > the input from multiple thermal sensors. Currently since you can have one temperature input per zone (irrespective of whether the temperature is combination of many sensors or virtual sensor), so separating thermal sensor and zone can be more confusing IMO from a user space perspective. This was a feature proposed and submitted for thermal sysfs 2.0 (or next version), where sensors and zones are separated. I think there was some plan to adopt this. Rui Zhang can comment more. Thanks, Srinivas > > I don't know how to put this in proper words for the documentation, > but I think it's worth hinting it here. > > Cheers, > Javi