Skip to content

RFC Introduce a test for continuous transfer

Shunsuke Mie dmaengine linux-pci lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest11 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11misc: pci_endpoint_test: Aggregate irq_type checkingdrivers/misc/pci_endpoint_test.c+5 -150 replies
2/11misc: pci_endpoint_test: Remove an unused variabledrivers/misc/pci_endpoint_test.c+3 -90 replies
3/11pci: endpoint: function/pci-epf-test: Unify a range of time measurementdrivers/pci/endpoint/functions/pci-epf-test.c+7 -50 replies
4/11PCI: endpoint: functions/pci-epf-test: Move common difinitions to header filedrivers/pci/endpoint/functions/pci-epf-test.c include/linux/pci-epf-test.h+68 -360 replies
5/11MAINTAINERS: Add a header file for pci-epf-testMAINTAINERS+1 -00 replies
6/11misc: pci_endpoint_test: Use a common header file between endpoint driverdrivers/misc/pci_endpoint_test.c+1 -412 replies
7/11PCI: endpoint: functions/pci-epf-test: Extend the test for continuous transfersdrivers/pci/endpoint/functions/pci-epf-test.c+84 -680 replies
8/11misc: pci_endpoint_test: Support a test of continuous transferdrivers/misc/pci_endpoint_test.c include/uapi/linux/pcitest.h+33 -280 replies
9/11tools: PCI: Add 'C' option to support continuous transfertools/pci/pcitest.c+12 -10 replies
10/11dmaengine: dw-edma: Fix to change for continuous transferdrivers/dma/dw-edma/dw-edma-core.c+14 -90 replies
11/11dmaengine: dw-edma: Fix to enable to issue dma request on DMA processingdrivers/dma/dw-edma/dw-edma-core.c+5 -20 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC PATCH 00/11] Introduce a test for continuous transfer

This patchset introduces testing through continuous transfer to the PCI endpoint tests. The purpose is to find bugs that may exist in the endpoint controller driver. This changes able to find bugs in the DW EDMA driver and this patchset includes the fix.

This bug does not appear in the current tests because these synchronize to finish with every data transfer. However, the problem occurs with continuous DMA issuances. The continuous transfers are required to get high throughput and low latency. Therefore, the added tests will enable realistic transfer testing.

This patchset is divided into three parts:
- Remove duplicated definitions and improve some code [1-6/11]
- Add continuous transfer tests [7-9/11]
- Fix for the DW EDMA driver bug [10,11/11]

This patchset has beed tested on RCar Spidar that has dw pci edma chip.

Shunsuke Mie (11):
misc: pci_endpoint_test: Aggregate irq_type checking
misc: pci_endpoint_test: Remove an unused variable
pci: endpoint: function/pci-epf-test: Unify a range of time
measurement
PCI: endpoint: functions/pci-epf-test: Move common difinitions to
header file
MAINTAINERS: Add a header file for pci-epf-test
misc: pci_endpoint_test: Use a common header file between endpoint
driver
PCI: endpoint: functions/pci-epf-test: Extend the test for continuous
transfers
misc: pci_endpoint_test: Support a test of continuous transfer
tools: PCI: Add 'C' option to support continuous transfer
dmaengine: dw-edma: Fix to change for continuous transfer
dmaengine: dw-edma: Fix to enable to issue dma request on DMA
processing

 MAINTAINERS                                   |   1 +
 drivers/dma/dw-edma/dw-edma-core.c            |  30 ++-
 drivers/misc/pci_endpoint_test.c              | 132 ++++--------
 drivers/pci/endpoint/functions/pci-epf-test.c | 199 ++++++++----------
 include/linux/pci-epf-test.h                  |  67 ++++++
 include/uapi/linux/pcitest.h                  |   1 +
 tools/pci/pcitest.c                           |  13 +-
 7 files changed, 231 insertions(+), 212 deletions(-)
 create mode 100644 include/linux/pci-epf-test.h
Signature · 1 line
2.25.1