OSDN Git Service

IB/hfi1: tune_pcie_caps is arbitrarily placed, poorly
authorMichael J. Ruhl <michael.j.ruhl@intel.com>
Thu, 16 Aug 2018 05:58:49 +0000 (22:58 -0700)
committerDoug Ledford <dledford@redhat.com>
Sat, 1 Sep 2018 12:11:34 +0000 (08:11 -0400)
commit6a516bc9d70b291d3271c6c66b89c25e3c2b5795
tree19016cca73615a89d8e37f202f9db22d5a2150e7
parent22c21438aad76022b6e41fea02e7e382d94ab361
IB/hfi1: tune_pcie_caps is arbitrarily placed, poorly

The tune_pcie_caps needs to occur sometime after PCI is enabled, but
before the HFI is enabled.  Currently it is placed in the MSIx
allocation code which doesn't really fit. Moving it to just after
the gen3 bump.

Clean up the associated code (modules, etc.).

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Reviewed-by: Sadanand Warrier <sadanand.warrier@intel.com>
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@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/hfi.h
drivers/infiniband/hw/hfi1/pcie.c