Patch series made against Lorenzo's branches and also depends of: - pci/dwc - pci/endpoint 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. Gustavo Pimentel (7): PCI: endpoint: Add MSI-X interfaces PCI: dwc: Add MSI-X callbacks handler PCI: cadence: Update cdns_pcie_ep_raise_irq function signature PCI: dwc: Rework MSI callbacks handler PCI: dwc: Add legacy interrupt callback handler misc: pci_endpoint_test: Add MSI-X support tools: PCI: Add MSI-X support Documentation/misc-devices/pci-endpoint-test.txt | 6 + drivers/misc/pci_endpoint_test.c | 261 +++++++++++++++++------ drivers/pci/cadence/pcie-cadence-ep.c | 3 +- drivers/pci/dwc/pci-dra7xx.c | 2 +- drivers/pci/dwc/pcie-artpec6.c | 2 +- drivers/pci/dwc/pcie-designware-ep.c | 205 ++++++++++++++++-- drivers/pci/dwc/pcie-designware-plat.c | 7 +- drivers/pci/dwc/pcie-designware.h | 31 +-- drivers/pci/endpoint/functions/pci-epf-test.c | 81 +++++-- drivers/pci/endpoint/pci-ep-cfs.c | 24 +++ drivers/pci/endpoint/pci-epc-core.c | 62 +++++- include/linux/pci-epc.h | 13 +- include/linux/pci-epf.h | 1 + include/uapi/linux/pcitest.h | 3 + tools/pci/pcitest.c | 51 ++++- tools/pci/pcitest.sh | 15 ++ 16 files changed, 639 insertions(+), 128 deletions(-) -- 2.7.4