UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 70011

2017.3 Linux: AXI DMA test client errors

Description

In the 2017.3 release, the Linux AXI DMA test client has the following issues:

  • Stress testing the DMA test client when it is built as a module results in errors
  • The Test client limits the test buffer size to 700, irrespective of the buffer size configured by the user
root@vdma_debug:~# modprobe axidmatest 
[ 33.251234] dmatest: Started 1 threads using dma2chan0 dma2chan1 
[ 33.252477] dma2chan0-dma2c: terminating after 5 tests, 0 failures (status 0) 
root@vdma_debug:~# rmmod axidmatest 
[ 39.637889] xilinx_dmatest: dropped channel dma2chan0 
[ 39.642898] xilinx_dmatest: dropped channel dma2chan1 
root@vdma_debug:~# 
root@vdma_debug:~# 
root@vdma_debug:~# modprobe axidmatest 
[ 48.479185] dmatest: Started 1 threads using dma2chan0 dma2chan1 
[ 48.479304] xilinx-vdma 80010000.dma: Channel ffffffc06d1f5c18 has errors 10, cdr 70049b80 tdr 70058500 
[ 49.479297] xilinx-vdma 80010000.dma: Cannot start channel ffffffc06d1f5a18: 10009 
[ 80.876196] dma2chan0-dma2c: #0: tx test timed out 

[ 381.932196] dma2chan0-dma2c: #1: rx test timed out 
[ 693.228199] dma2chan0-dma2c: #2: rx test timed out 
[ 723.948196] dma2chan0-dma2c: #3: tx test timed out 
[ 754.668196] dma2chan0-dma2c: #4: tx test timed out 
[ 754.672917] dma2chan0-dma2c: terminating after 5 tests, 5 failures (status 0) 
root@vdma_debug:~# 

Solution

To resolve this issue, when reinserting the axidmatest kernel module, do a reset of the DMA core.

This can be accomplished using the devmem command, or by applying the attached patch to drivers/dma/xilinx/axidmatest.c

Attachments

Associated Attachments

AR# 70011
Date 11/07/2017
Status Active
Type Known Issues
Devices
  • SoC
  • FPGA Device Families
Tools
  • Linux
IP
  • AXI DMA Controller
Boards & Kits
  • Zynq UltraScale+ MPSoC Boards and Kits
Page Bookmarked