]> git.baikalelectronics.ru Git - kernel.git/commit
IB/hfi1: Turn off AOC TX after offline substates
authorSebastian Sanchez <sebastian.sanchez@intel.com>
Tue, 26 Sep 2017 13:05:57 +0000 (06:05 -0700)
committerDoug Ledford <dledford@redhat.com>
Wed, 27 Sep 2017 15:10:36 +0000 (11:10 -0400)
commit8494743c3c24e4d69cfc3fff2f482501eacfe081
treea8356d30ca864aac9677b0473293dd42342db04b
parent3a1519de2ceeffef42013b51a996cf4d897b3a45
IB/hfi1: Turn off AOC TX after offline substates

Offline.quietDuration was added in the 8051 firmware, and the driver
only turns off the AOC transmitters when offline.quiet is reached.
However, the AOC transmitters need to be turned off at the new state.
Therefore, turn off the AOC transmitters at any offline substates
including offline.quiet and offline.quietDuration, then recheck we
reached offline.quiet to support backwards compatibility.

Reviewed-by: Jakub Byczkowski <jakub.byczkowski@intel.com>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Sebastian Sanchez <sebastian.sanchez@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/chip.c
drivers/infiniband/hw/hfi1/chip.h