Skip to content

misc: Improvements to pci_endpoint_test driver

Kishon Vijay Abraham I linux-pci lkml stable 2 versions – Applied

Status from this message: Applied to pci/endpoint for v5.7.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 1 replyApplied
  2. v17 patches 2 repliesSuperseded

Changes in v2 from the cover letter

*) 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()

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/5misc: pci_endpoint_test: Avoid using module parameter to determine irqtypedrivers/misc/pci_endpoint_test.c+9 -30 replies
2/5misc: pci_endpoint_test: Add ioctl to clear IRQdrivers/misc/pci_endpoint_test.c include/uapi/linux/pcitest.h+11 -00 replies
3/5tools: PCI: Add 'e' to clear IRQtools/pci/pcitest.c+15 -10 replies
4/5misc: pci_endpoint_test: Fix to support > 10 pci-endpoint-test devicesdrivers/misc/pci_endpoint_test.c+1 -10 replies
5/5misc: pci_endpoint_test: Use full pci-endpoint-test name in request irqdrivers/misc/pci_endpoint_test.c+19 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/5] misc: Improvements to pci_endpoint_test driver

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(-)
Signature · 1 line
2.17.1