OSDN Git Service

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)
commit1865ea9adbfaf341c5cd5d8f7d384f19948b2fe9
tree7ad6a4d5614776eb8265688dc93947c2b25df793
parent35aada99b5bfa7a9360f9653377688556f71edcb
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