Skip to content

RFC Adds pcitest tool support for MSI-X

Gustavo Pimentel linux-doc linux-pci lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest10 patches 26 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10PCI: dwc: Add MSI-X callbacks handlerdrivers/pci/dwc/pci-dra7xx.c drivers/pci/dwc/pcie-artpec6.c drivers/pci/dwc/pcie-designware-ep.c +2 more+173 -510 replies
2/10PCI: cadence: Update cdns_pcie_ep_raise_irq function signaturedrivers/pci/cadence/pcie-cadence-ep.c+1 -11 reply
3/10PCI: endpoint: Add MSI-X interfacesdrivers/pci/endpoint/pci-ep-cfs.c drivers/pci/endpoint/pci-epc-core.c include/linux/pci-epc.h +1 more+92 -12 replies
4/10PCI: dwc: MSI callbacks handler reworkdrivers/pci/dwc/pcie-designware-ep.c drivers/pci/dwc/pcie-designware.h drivers/pci/endpoint/pci-epc-core.c+32 -280 replies
5/10PCI: dwc: Add legacy interrupt callback handlerdrivers/pci/dwc/pcie-designware-ep.c drivers/pci/dwc/pcie-designware-plat.c drivers/pci/dwc/pcie-designware.h+17 -20 replies
6/10misc: pci_endpoint_test: Add MSI-X supportDocumentation/misc-devices/pci-endpoint-test.txt drivers/misc/pci_endpoint_test.c+79 -268 replies
7/10misc: pci_endpoint_test: Replace lower into upper case charactersdrivers/misc/pci_endpoint_test.c+9 -90 replies
8/10PCI: endpoint: functions/pci-epf-test: Add MSI-X supportdrivers/pci/endpoint/functions/pci-epf-test.c+69 -180 replies
9/10PCI: endpoint: functions/pci-epf-test: Replace lower into upper case charactersdrivers/pci/endpoint/functions/pci-epf-test.c+13 -130 replies
10/10tools: PCI: Add MSI-X supportinclude/uapi/linux/pcitest.h tools/pci/pcitest.c tools/pci/pcitest.sh+43 -12 replies

Reviews trailers per patch

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

PatchAlan Douglas
1/10
2/10A-b
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

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

Read the v1 thread

Cover letter [RFC 00/10] Adds pcitest tool support for MSI-X

This patch set depends the following series:
https://lkml.org/lkml/2018/4/10/421

This series aims to add pcitest tool support for MSI-X.

Includes new callbacks methods and handlers to trigger the MSI-X interruptions on the EP Designware IP driver.

Provides new methods on pci_epf_test driver that allows to set/get EP maximum number of MSI-X entries (similar to set/get MSI methods).

Reworks on MSI set/get and triggering methods on EP Designware IP driver to be more generic and flexible.

Adds a new input parameter (msix) and replicates the whole MSI mechanism applied to the MSI-X feature on pcitest tool. Also updates the pcitest script with the new test set applied to this new feature.

Gustavo Pimentel (10):
PCI: dwc: Add MSI-X callbacks handler
PCI: cadence: Update cdns_pcie_ep_raise_irq function signature
PCI: endpoint: Add MSI-X interfaces
PCI: dwc: MSI callbacks handler rework
PCI: dwc: Add legacy interrupt callback handler
misc: pci_endpoint_test: Add MSI-X support
misc: pci_endpoint_test: Replace lower into upper case characters
PCI: endpoint: functions/pci-epf-test: Add MSI-X support
PCI: endpoint: functions/pci-epf-test: Replace lower into upper case
characters
tools: PCI: Add MSI-X support

 Documentation/misc-devices/pci-endpoint-test.txt |   3 +
 drivers/misc/pci_endpoint_test.c                 | 120 ++++++++++----
 drivers/pci/cadence/pcie-cadence-ep.c            |   2 +-
 drivers/pci/dwc/pci-dra7xx.c                     |   2 +-
 drivers/pci/dwc/pcie-artpec6.c                   |   2 +-
 drivers/pci/dwc/pcie-designware-ep.c             | 201 +++++++++++++++++++++--
 drivers/pci/dwc/pcie-designware-plat.c           |   9 +-
 drivers/pci/dwc/pcie-designware.h                |  40 +++--
 drivers/pci/endpoint/functions/pci-epf-test.c    | 113 +++++++++----
 drivers/pci/endpoint/pci-ep-cfs.c                |  24 +++
 drivers/pci/endpoint/pci-epc-core.c              |  60 ++++++-
 include/linux/pci-epc.h                          |  11 +-
 include/linux/pci-epf.h                          |   1 +
 include/uapi/linux/pcitest.h                     |   1 +
 tools/pci/pcitest.c                              |  18 +-
 tools/pci/pcitest.sh                             |  25 +++
 16 files changed, 528 insertions(+), 104 deletions(-)
Signature · 1 line
2.7.4