OSDN Git Service

IB/hfi1: PCIe bus width retry
authorKamenee Arumugam <kamenee.arumugam@intel.com>
Thu, 16 Aug 2018 06:04:13 +0000 (23:04 -0700)
committerDoug Ledford <dledford@redhat.com>
Sat, 1 Sep 2018 12:13:38 +0000 (08:13 -0400)
commite63bb50d1994b71f97b40077ddec46a7354197a0
treef1e9036ab95e9352000e6a8354dffa19af1f49f0
parent6eb4eb10fb0d14340956c05281b7e09d80902788
IB/hfi1: PCIe bus width retry

Retry the PCIe link training up to 'pcie_retry' times
if the PCIe link width is narrower than the previous width.

Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Reviewed-by: Mitko Haralanov <mitko.haralanov@intel.com>
Signed-off-by: Kamenee Arumugam <kamenee.arumugam@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/pcie.c