]> 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)
commit0529d80e4a30ac451576c628692a160d679eceef
tree7ad6a4d5614776eb8265688dc93947c2b25df793
parent207e52c57c7461ee6091d9bdc774b13d36a0b36e
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