]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9e73f55f7ae317a39d3ab4e0683ba0b10a7a2c8f
tree19016cca73615a89d8e37f202f9db22d5a2150e7
parent4a78aacf4f101c96c6971e9e603667fd3b65f91b
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