OSDN Git Service

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)
commit22a3ffa78086e31223865c24aeb7d1c3970e2984
tree7c9dc1f0b0521f8de6aa9a4c5736e386e64c667f
parent641f348bbdf1dcd30870bef8b0bd663aaf24f2ed
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