]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Add temperature warning event to log
authorIlan Tayari <ilant@mellanox.com>
Wed, 30 May 2018 17:59:49 +0000 (10:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 May 2018 19:35:37 +0000 (15:35 -0400)
commitee655dd403a0bbdb1e7b1ab0f23b6a44473bb815
tree7ad6a4d5614776eb8265688dc93947c2b25df793
parent821c1e6752824e0b724328616a9a24a7a47b1668
net/mlx5: Add temperature warning event to log

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.

Signed-off-by: Ilan Tayari <ilant@mellanox.com>
Signed-off-by: Adi Nissim <adin@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/eq.c
include/linux/mlx5/device.h
include/linux/mlx5/mlx5_ifc.h