Skip to content

Add MSI-X support on pcitest tool

Gustavo Pimentel linux-doc linux-pci lkml 14 versions – Applied

Status from this message: Applied to pci/dwc for v4.19, thanks for the series and the thorough

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v14 Latest12 patches 1 replyApplied
  2. v1312 patches 2 repliesSuperseded
  3. v1212 patches 5 repliesSuperseded
Earlier versions · 11
VersionPostedPatchesRepliesStatus
v1112 patches2 repliesSuperseded
v1012 patches0 repliesSuperseded
v912 patches14 repliesSuperseded
v811 patches6 repliesSuperseded
v711 patches0 repliesSuperseded
v611 patches10 repliesSuperseded
v511 patches4 repliesSuperseded
v410 patches12 repliesSuperseded
v310 patches0 repliesSuperseded
v27 patches10 repliesSuperseded
v110 patches2 repliesSuperseded

Patches in v14 Applied

#Subject and filesSizeRepliesApplied
1/12PCI: dwc: Fix EP link notification implementationdrivers/pci/controller/dwc/pcie-designware-ep.c drivers/pci/controller/dwc/pcie-designware-plat.c+9 -80 replies
2/12PCI: endpoint: Add MSI-X interfacesDocumentation/PCI/endpoint/function/binding/pci-test.txt drivers/pci/endpoint/pci-ep-cfs.c drivers/pci/endpoint/pci-epc-core.c +2 more+93 -00 replies
3/12PCI: Update xxx_pcie_ep_raise_irq() and pci_epc_raise_irq() signaturesdrivers/pci/controller/dwc/pci-dra7xx.c drivers/pci/controller/dwc/pcie-artpec6.c drivers/pci/controller/dwc/pcie-designware-ep.c +6 more+15 -140 replies
4/12PCI: dwc: Add MSI-X callbacks handlerdrivers/pci/controller/dwc/pcie-designware-ep.c drivers/pci/controller/dwc/pcie-designware-plat.c drivers/pci/controller/dwc/pcie-designware.h+148 -10 replies
5/12PCI: dwc: Rework MSI callbacks handlerdrivers/pci/controller/dwc/pcie-designware-ep.c drivers/pci/controller/dwc/pcie-designware.h+33 -270 replies
6/12PCI: dwc: Add legacy interrupt callback handlerdrivers/pci/controller/dwc/pcie-designware-ep.c drivers/pci/controller/dwc/pcie-designware-plat.c drivers/pci/controller/dwc/pcie-designware.h+17 -20 replies
7/12pci-epf-test/pci_endpoint_test: Cleanup PCI_ENDPOINT_TEST memspaceDocumentation/PCI/endpoint/pci-test-function.txt drivers/misc/pci_endpoint_test.c drivers/pci/endpoint/functions/pci-epf-test.c+114 -550 replies
8/12pci-epf-test/pci_endpoint_test: Use irq_type module parameterdrivers/misc/pci_endpoint_test.c+19 -90 replies
9/12pci-epf-test/pci_endpoint_test: Add MSI-X supportDocumentation/PCI/endpoint/pci-endpoint.txt Documentation/PCI/endpoint/pci-test-function.txt Documentation/PCI/endpoint/pci-test-howto.txt +7 more+79 -160 replies
10/12pci_endpoint_test: Add 2 ioctl commandsDocumentation/ioctl/ioctl-number.txt Documentation/misc-devices/pci-endpoint-test.txt drivers/misc/pci_endpoint_test.c +1 more+165 -480 replies
11/12tools: PCI: Add MSI-X supportDocumentation/PCI/endpoint/pci-test-howto.txt tools/pci/pcitest.c tools/pci/pcitest.sh+87 -150 replies
12/12PCI: endpoint: Add MSI set maximum restrictiondrivers/pci/endpoint/pci-epc-core.c+2 -10 replies

Reviews trailers per patch

All 12 patches have a Reviewed-by or Acked-by.

PatchKishon Vijay Abraham IAlan DouglasShawn LinJesper NilssonJoao Pinto
1/12A-b
2/12A-b
3/12A-b A-b A-b A-b A-b
4/12A-b
5/12A-b
6/12A-b
7/12A-b
8/12A-b
9/12A-b
10/12A-b
11/12A-b
12/12A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v14 thread

Cover letter [PATCH v14 00/12] Add MSI-X support on pcitest tool

Patch series made against Lorenzo's master branch.

Fix EP link notification implementation.

Add MSI-X support on pcitest tool.

Add new callbacks methods and handlers to trigger the MSI-X interrupts on the EP DesignWare IP driver.

Allow to set/get MSI-X EP maximum capability number.

Rework on set/get and triggering MSI methods on EP DesignWare IP driver.

Add a new input parameter (msix) to pcitest tool to test MSI-X feature.

Update the pcitest.sh script to support MSI-X feature tests.

Update related documentation accordingly.

Gustavo Pimentel (12):
PCI: dwc: Fix EP link notification implementation
PCI: endpoint: Add MSI-X interfaces
PCI: Update xxx_pcie_ep_raise_irq() and pci_epc_raise_irq() signatures
PCI: dwc: Add MSI-X callbacks handler
PCI: dwc: Rework MSI callbacks handler
PCI: dwc: Add legacy interrupt callback handler pci-epf-test/pci_endpoint_test: Cleanup PCI_ENDPOINT_TEST memspace pci-epf-test/pci_endpoint_test: Use irq_type module parameter pci-epf-test/pci_endpoint_test: Add MSI-X support
pci_endpoint_test: Add 2 ioctl commands
tools: PCI: Add MSI-X support
PCI: endpoint: Add MSI set maximum restriction

 .../PCI/endpoint/function/binding/pci-test.txt     |   2 +
 Documentation/PCI/endpoint/pci-endpoint.txt        |   4 +-
 Documentation/PCI/endpoint/pci-test-function.txt   |  29 ++-
 Documentation/PCI/endpoint/pci-test-howto.txt      |  30 ++-
 Documentation/ioctl/ioctl-number.txt               |   1 +
 Documentation/misc-devices/pci-endpoint-test.txt   |   6 +
 drivers/misc/pci_endpoint_test.c                   | 290 ++++++++++++++++-----
 drivers/pci/controller/dwc/pci-dra7xx.c            |   2 +-
 drivers/pci/controller/dwc/pcie-artpec6.c          |   2 +-
 drivers/pci/controller/dwc/pcie-designware-ep.c    | 210 +++++++++++++--
 drivers/pci/controller/dwc/pcie-designware-plat.c  |  11 +-
 drivers/pci/controller/dwc/pcie-designware.h       |  29 ++-
 drivers/pci/controller/pcie-cadence-ep.c           |   3 +-
 drivers/pci/controller/pcie-rockchip-ep.c          |   2 +-
 drivers/pci/endpoint/functions/pci-epf-test.c      |  86 ++++--
 drivers/pci/endpoint/pci-ep-cfs.c                  |  24 ++
 drivers/pci/endpoint/pci-epc-core.c                |  68 ++++-
 include/linux/pci-epc.h                            |  16 +-
 include/linux/pci-epf.h                            |   1 +
 include/uapi/linux/pcitest.h                       |   3 +
 tools/pci/pcitest.c                                |  51 +++-
 tools/pci/pcitest.sh                               |  15 ++
 22 files changed, 735 insertions(+), 150 deletions(-)
Signature · 1 line
2.7.4