Skip to content

IB/hfi1: Cleanup PCIe link configuration

Frederick Lawler linux-pci linux-rdma lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest2 patches 10 repliesIn review

Changes in v3 from the cover letter

* PCI: Add PCI_EXP_LNKCTL2_TLS_* macros
* Drop patch to use extract_speed() in do_pcie_gen3_transition()

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2PCI: Add PCI_EXP_LNKCTL2_TLS* macrosinclude/uapi/linux/pci_regs.h+5 -00 replies
2/2IB/hfi1: Replace custom hfi1 macros with PCIe macrosdrivers/infiniband/hw/hfi1/pcie.c+8 -161 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchMichael J. Ruhl
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] IB/hfi1: Cleanup PCIe link configuration

The IB/hfi1 driver uses custom macros to configure the target link speed. Some macros were previously replaced, but not fully. This patch series addresses the configuration inconsistencies by adding PCI_EXP_LNKCTL2_TLS* macros to PCI, and then use them in the following IB/hfi1 patch.

V3:
* PCI: Add PCI_EXP_LNKCTL2_TLS_* macros
* Drop patch to use extract_speed() in do_pcie_gen3_transition()
V2:
* s/LINK/LNK

Frederick Lawler (2):
PCI: Add PCI_EXP_LNKCTL2_TLS* macros IB/hfi1: Replace custom hfi1 macros with PCIe macros

 drivers/infiniband/hw/hfi1/pcie.c | 24 ++++++++----------------
 include/uapi/linux/pci_regs.h     |  5 +++++
 2 files changed, 13 insertions(+), 16 deletions(-)
Signature · 1 line
2.17.0