This series adds improvements and fixes to pci_endpoint_test driver mostly applicable when used with multi-function endpoint (or multiple endpoint instances using pci_epf_test). *) Using module parameter to determine irqtype would indicate all the pci_endpoint_test device have the same irqtype. Fix it here. *) Add ioctl to clear irq so that "cat /proc/interrupts" only lists the entries for the devices that is actually being used. *) Creating more than 10 pci-endpoint-test devices results in a kernel error. *) Use full pci-endpoint-test name in request irq so that it's easy to profile the interrupt details in "cat /proc/interrupts" Changes from v1: *) Removed a patch that references J721E device ID (That patch will be added as part of J721E support series) *) Removed a patch that always enable legacy interrupt. That should be handled by pci_alloc_irq_vectors() Kishon Vijay Abraham I (5): misc: pci_endpoint_test: Avoid using module parameter to determine irqtype misc: pci_endpoint_test: Add ioctl to clear IRQ tools: PCI: Add 'e' to clear IRQ misc: pci_endpoint_test: Fix to support > 10 pci-endpoint-test devices misc: pci_endpoint_test: Use full pci-endpoint-test name in request irq drivers/misc/pci_endpoint_test.c | 49 +++++++++++++++++++++++++------- include/uapi/linux/pcitest.h | 1 + tools/pci/pcitest.c | 16 ++++++++++- 3 files changed, 55 insertions(+), 11 deletions(-) -- 2.17.1