Re: [PATCH v2 0/5] misc: Improvements to pci_endpoint_test driver
From: Lorenzo Pieralisi
Date: Fri Mar 20 2020 - 05:52:16 EST
On Tue, Mar 17, 2020 at 03:31:53PM +0530, Kishon Vijay Abraham I wrote:
> 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(-)
Applied to pci/endpoint for v5.7.
Thanks,
Lorenzo