From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: Re: [PATCH v0 03/12] mlxsw: core: Add core environment module for port temperature reading Date: Thu, 21 Jun 2018 19:11:20 +0200 Message-ID: <20180621171120.GA6830@lunn.ch> References: <1529594883-20619-1-git-send-email-vadimp@mellanox.com> <1529594883-20619-4-git-send-email-vadimp@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: davem@davemloft.net, netdev@vger.kernel.org, jiri@resnulli.us To: Vadim Pasternak Return-path: Received: from vps0.lunn.ch ([185.16.172.187]:38781 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752838AbeFURLY (ORCPT ); Thu, 21 Jun 2018 13:11:24 -0400 Content-Disposition: inline In-Reply-To: <1529594883-20619-4-git-send-email-vadimp@mellanox.com> Sender: netdev-owner@vger.kernel.org List-ID: > New internal API reads the temperature from all the modules, which are > equipped with the thermal sensor and exposes temperature according to > the worst measure. All individual temperature values are normalized to > pre-defined range. Hi Vadim Could you explain this normalization process. Why are you not just expose each sensors temperature in millidegrees C, which is the normal for HWMON. Andrew