]> 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)
commitafd6e43210e617764eac99ecbed4e413a1bcbddf
tree7c9dc1f0b0521f8de6aa9a4c5736e386e64c667f
parent9abd737a5b41cc327ab6c7182609c54571f29f87
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