From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: Re: [PATCH mlx5-next 1/2] net/mlx5: Add temperature warning event to log Date: Wed, 30 May 2018 03:04:04 +0200 Message-ID: <20180530010404.GB30239@lunn.ch> References: <20180530001954.12000-1-saeedm@mellanox.com> <20180530001954.12000-2-saeedm@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org, linux-rdma@vger.kernel.org, Leon Romanovsky , Jason Gunthorpe , Ilan Tayari , Adi Nissim To: Saeed Mahameed Return-path: Received: from vps0.lunn.ch ([185.16.172.187]:48993 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966885AbeE3BEG (ORCPT ); Tue, 29 May 2018 21:04:06 -0400 Content-Disposition: inline In-Reply-To: <20180530001954.12000-2-saeedm@mellanox.com> Sender: netdev-owner@vger.kernel.org List-ID: On Tue, May 29, 2018 at 05:19:53PM -0700, Saeed Mahameed wrote: > From: Ilan Tayari > > Temperature warning event is sent by FW to indicate high temperature > as detected by one of the sensors on the board. > Add handling of this event by writing the numbers of the alert sensors > to the kernel log. Hi Saaed Is the temperature itself available? If so, it would be better to expose this as a hwmon device per temperature sensor. Andrew