]> git.baikalelectronics.ru Git - kernel.git/commit
IB/hfi1: Reduce 8051 command timeout
authorJakub Byczkowski <jakub.byczkowski@intel.com>
Mon, 6 Nov 2017 14:38:23 +0000 (06:38 -0800)
committerDoug Ledford <dledford@redhat.com>
Mon, 13 Nov 2017 20:53:56 +0000 (15:53 -0500)
commit36ece4589d31659850f50f8402be9f94413d3e9b
tree7c9dc1f0b0521f8de6aa9a4c5736e386e64c667f
parent9bc003d16c5ac3a4d6c888fafa0659304c47fc44
IB/hfi1: Reduce 8051 command timeout

Timeout of 20 seconds is too long for active wait performed
for 8051 command completion. It was required for scenarios
when transition to polling was requested before offline.quiet
state was reached. Currently wait for offline.quiet is
properly implemented and timeout can be reduced to 1 second.

Reviewed-by: Dean Luick <dean.luick@intel.com>
Reviewed-by: Duane McCrory <duane.mccrory@intel.com>
Signed-off-by: Jakub Byczkowski <jakub.byczkowski@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/chip.h