]> git.baikalelectronics.ru Git - kernel.git/commit
IB/hfi1: Ignore non-temperature warnings on a downed link
authorEaswar Hariharan <easwar.hariharan@intel.com>
Thu, 12 May 2016 17:22:33 +0000 (10:22 -0700)
committerDoug Ledford <dledford@redhat.com>
Fri, 13 May 2016 23:39:14 +0000 (19:39 -0400)
commit7df132a17a0aa80b5037f9ff89d62cdad8539c22
treef322aba97a7ab1685bca07b14e071a5206f7bf79
parent134e2ed6dc57f344712b0530442e49b5405abcae
IB/hfi1: Ignore non-temperature warnings on a downed link

QSFP modules can raise an interrupt to inform us of expected conditions
while the link is down, such as RX power low. Actively ignore these
conditions when the link is down as they only add reporting noise.
Continue reporting conditions that are valid at all times, such as
temperature alarms and warnings.

Reviewed-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Easwar Hariharan <easwar.hariharan@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/chip.c
drivers/staging/rdma/hfi1/diag.c
drivers/staging/rdma/hfi1/hfi.h