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!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
586 Views
Registered: ‎10-29-2018

Query on block descriptors in AXI MCDMA

My previous query was deleted by someone, so I am posting again.

We are using MCDMA in our design for transferring data from memory to AXI stream input of Xilinx’s DisplayPort IP.

Am using Linux on ARM SoC side and have ported the mcda driver from embeddedsw repository by modifying the addressing mechanism to take care of physical or virtual addresses as required for Linux. Have also ported the DisplayPort example and link training is successful along with being able to read EDID and DPCD register configurations.

In our design, c_sg_length_width is currently set to 14. For my test sample code, I am using 128 block descriptors with each block descriptor responsible for transferring 8KB of memory. After submitting the descriptors for transfer, I see that the MM2S error register (0x010) has a value of 1. The interrupt handler also detects an error interrupt. In the datasheet, this mentions an MCDMA internal data error which seems to occur if the buffer length in the fetched descriptor is 0. I have checked each memory descriptor location and the MM2S channel registers and all of them seem to have values correctly set. As can be seen from the log below, the control information for BD field is correctly to 0x2000 and not zero. Hence, I am not able to understand why the error occurs.

The channel register have the following values.

MM2S_CH1CR:                                0xFF1000F1

MM2S_CH1SR:                                0x00100001

MM2S_CH1CURDESC_LSB:          0x60000000

MM2S_CH1CURDESC_MSB:         0x00000000

MM2S_CH1TAILDESC_LSB:          0x60001FC0

MM2S_CH1TAILDESC_MSB:         0x00000000

MM2S_CH1PKTCOUNT_STAT:     0x00000000

We have 2GB of system memory and I have carved out a 512MB memory region for use by MCDMA using devm_memremap function in Linux kernel. For this testing, I allow the memory for block descriptors to start from 0x60000000 and the memory for data from 0x60002000. Hence the current descriptor above is set to 0x60000000 and considering 128 block descriptors to transfer with a channel separation of 40 bytes, the tail descriptor is at 0x60001FC0.

Below is a log of all the memory locations for 128 descriptors. I have printed the following.

NDesc:   Next Descriptor Pointer LSB

BufA:     Buffer Descriptor Address

Ctrl:       Control Information for BD

SB:        Status field

[  245.646715] ged: loading out-of-tree module taints kernel.
[  245.653184] xilinx_mcdma 80000000.axi_mcdma: Allocated reserved memory vaddr: 0xffffffc060000000 paddr: 0x60000000
[  245.663548] xilinx_mcdma 80000000.axi_mcdma: MCDMA driver loaded
[  245.743156] xilinx_mcdma 80000000.axi_mcdma: MCDMA is initalized and ready
[  245.750175] xilinx_mcdma 80000000.axi_mcdma: 1.MCDMA Error register: 0
[  246.779649] xilinx_mcdma 80000000.axi_mcdma: Sending Packet
[  246.787911] xilinx_mcdma 80000000.axi_mcdma: 2.MCDMA Error register: 1
[  246.787914] xilinx_mcdma 80000000.axi_mcdma: Tx Error
[  246.799564] xilinx_mcdma 80000000.axi_mcdma: Pkt: 0 NDesc: 60000040
[  246.805833] xilinx_mcdma 80000000.axi_mcdma: Pkt: 0 BufA: 60002000
[  246.812008] xilinx_mcdma 80000000.axi_mcdma: Pkt: 0 Ctrl: 80002000
[  246.818181] xilinx_mcdma 80000000.axi_mcdma: Pkt: 0 SB: 0
[  246.823576] xilinx_mcdma 80000000.axi_mcdma: Pkt: 1 NDesc: 60000080
[  246.829837] xilinx_mcdma 80000000.axi_mcdma: Pkt: 1 BufA: 60004000
[  246.836012] xilinx_mcdma 80000000.axi_mcdma: Pkt: 1 Ctrl: 2000
[  246.841839] xilinx_mcdma 80000000.axi_mcdma: Pkt: 1 SB: 0
[  246.847234] xilinx_mcdma 80000000.axi_mcdma: Pkt: 2 NDesc: 600000c0
[  246.853494] xilinx_mcdma 80000000.axi_mcdma: Pkt: 2 BufA: 60006000
[  246.859670] xilinx_mcdma 80000000.axi_mcdma: Pkt: 2 Ctrl: 2000
[  246.865497] xilinx_mcdma 80000000.axi_mcdma: Pkt: 2 SB: 0
[  246.870892] xilinx_mcdma 80000000.axi_mcdma: Pkt: 3 NDesc: 60000100
[  246.877156] xilinx_mcdma 80000000.axi_mcdma: Pkt: 3 BufA: 60008000
[  246.883331] xilinx_mcdma 80000000.axi_mcdma: Pkt: 3 Ctrl: 2000
[  246.889160] xilinx_mcdma 80000000.axi_mcdma: Pkt: 3 SB: 0
[  246.894558] xilinx_mcdma 80000000.axi_mcdma: Pkt: 4 NDesc: 60000140
[  246.900816] xilinx_mcdma 80000000.axi_mcdma: Pkt: 4 BufA: 6000a000
[  246.906995] xilinx_mcdma 80000000.axi_mcdma: Pkt: 4 Ctrl: 2000
[  246.912824] xilinx_mcdma 80000000.axi_mcdma: Pkt: 4 SB: 0
[  246.918218] xilinx_mcdma 80000000.axi_mcdma: Pkt: 5 NDesc: 60000180
[  246.924477] xilinx_mcdma 80000000.axi_mcdma: Pkt: 5 BufA: 6000c000
[  246.930653] xilinx_mcdma 80000000.axi_mcdma: Pkt: 5 Ctrl: 2000
[  246.936476] xilinx_mcdma 80000000.axi_mcdma: Pkt: 5 SB: 0
[  246.941875] xilinx_mcdma 80000000.axi_mcdma: Pkt: 6 NDesc: 600001c0
[  246.948136] xilinx_mcdma 80000000.axi_mcdma: Pkt: 6 BufA: 6000e000
[  246.954311] xilinx_mcdma 80000000.axi_mcdma: Pkt: 6 Ctrl: 2000
[  246.960134] xilinx_mcdma 80000000.axi_mcdma: Pkt: 6 SB: 0
[  246.965533] xilinx_mcdma 80000000.axi_mcdma: Pkt: 7 NDesc: 60000200
[  246.971793] xilinx_mcdma 80000000.axi_mcdma: Pkt: 7 BufA: 60010000
[  246.977969] xilinx_mcdma 80000000.axi_mcdma: Pkt: 7 Ctrl: 2000
[  246.983793] xilinx_mcdma 80000000.axi_mcdma: Pkt: 7 SB: 0
[  246.989191] xilinx_mcdma 80000000.axi_mcdma: Pkt: 8 NDesc: 60000240
[  246.995448] xilinx_mcdma 80000000.axi_mcdma: Pkt: 8 BufA: 60012000
[  247.001627] xilinx_mcdma 80000000.axi_mcdma: Pkt: 8 Ctrl: 2000
[  247.007454] xilinx_mcdma 80000000.axi_mcdma: Pkt: 8 SB: 0
[  247.012849] xilinx_mcdma 80000000.axi_mcdma: Pkt: 9 NDesc: 60000280
[  247.019109] xilinx_mcdma 80000000.axi_mcdma: Pkt: 9 BufA: 60014000
[  247.025285] xilinx_mcdma 80000000.axi_mcdma: Pkt: 9 Ctrl: 2000
[  247.031112] xilinx_mcdma 80000000.axi_mcdma: Pkt: 9 SB: 0
[  247.036507] xilinx_mcdma 80000000.axi_mcdma: Pkt: 10 NDesc: 600002c0
[  247.042857] xilinx_mcdma 80000000.axi_mcdma: Pkt: 10 BufA: 60016000
[  247.049118] xilinx_mcdma 80000000.axi_mcdma: Pkt: 10 Ctrl: 2000
[  247.055030] xilinx_mcdma 80000000.axi_mcdma: Pkt: 10 SB: 0
[  247.060513] xilinx_mcdma 80000000.axi_mcdma: Pkt: 11 NDesc: 60000300
[  247.066859] xilinx_mcdma 80000000.axi_mcdma: Pkt: 11 BufA: 60018000
[  247.073122] xilinx_mcdma 80000000.axi_mcdma: Pkt: 11 Ctrl: 2000
[  247.079035] xilinx_mcdma 80000000.axi_mcdma: Pkt: 11 SB: 0
[  247.084518] xilinx_mcdma 80000000.axi_mcdma: Pkt: 12 NDesc: 60000340
[  247.090865] xilinx_mcdma 80000000.axi_mcdma: Pkt: 12 BufA: 6001a000
[  247.097128] xilinx_mcdma 80000000.axi_mcdma: Pkt: 12 Ctrl: 2000
[  247.103041] xilinx_mcdma 80000000.axi_mcdma: Pkt: 12 SB: 0
[  247.108523] xilinx_mcdma 80000000.axi_mcdma: Pkt: 13 NDesc: 60000380
[  247.114870] xilinx_mcdma 80000000.axi_mcdma: Pkt: 13 BufA: 6001c000
[  247.121133] xilinx_mcdma 80000000.axi_mcdma: Pkt: 13 Ctrl: 2000
[  247.127046] xilinx_mcdma 80000000.axi_mcdma: Pkt: 13 SB: 0
[  247.132528] xilinx_mcdma 80000000.axi_mcdma: Pkt: 14 NDesc: 600003c0
[  247.138875] xilinx_mcdma 80000000.axi_mcdma: Pkt: 14 BufA: 6001e000
[  247.145138] xilinx_mcdma 80000000.axi_mcdma: Pkt: 14 Ctrl: 2000
[  247.151051] xilinx_mcdma 80000000.axi_mcdma: Pkt: 14 SB: 0
[  247.156534] xilinx_mcdma 80000000.axi_mcdma: Pkt: 15 NDesc: 60000400
[  247.162880] xilinx_mcdma 80000000.axi_mcdma: Pkt: 15 BufA: 60020000
[  247.169146] xilinx_mcdma 80000000.axi_mcdma: Pkt: 15 Ctrl: 2000
[  247.175065] xilinx_mcdma 80000000.axi_mcdma: Pkt: 15 SB: 0
[  247.180547] xilinx_mcdma 80000000.axi_mcdma: Pkt: 16 NDesc: 60000440
[  247.186894] xilinx_mcdma 80000000.axi_mcdma: Pkt: 16 BufA: 60022000
[  247.193157] xilinx_mcdma 80000000.axi_mcdma: Pkt: 16 Ctrl: 2000
[  247.199070] xilinx_mcdma 80000000.axi_mcdma: Pkt: 16 SB: 0
[  247.204553] xilinx_mcdma 80000000.axi_mcdma: Pkt: 17 NDesc: 60000480
[  247.210900] xilinx_mcdma 80000000.axi_mcdma: Pkt: 17 BufA: 60024000
[  247.217162] xilinx_mcdma 80000000.axi_mcdma: Pkt: 17 Ctrl: 2000
[  247.223075] xilinx_mcdma 80000000.axi_mcdma: Pkt: 17 SB: 0
[  247.228558] xilinx_mcdma 80000000.axi_mcdma: Pkt: 18 NDesc: 600004c0
[  247.234905] xilinx_mcdma 80000000.axi_mcdma: Pkt: 18 BufA: 60026000
[  247.241168] xilinx_mcdma 80000000.axi_mcdma: Pkt: 18 Ctrl: 2000
[  247.247081] xilinx_mcdma 80000000.axi_mcdma: Pkt: 18 SB: 0
[  247.252563] xilinx_mcdma 80000000.axi_mcdma: Pkt: 19 NDesc: 60000500
[  247.258910] xilinx_mcdma 80000000.axi_mcdma: Pkt: 19 BufA: 60028000
[  247.265173] xilinx_mcdma 80000000.axi_mcdma: Pkt: 19 Ctrl: 2000
[  247.271086] xilinx_mcdma 80000000.axi_mcdma: Pkt: 19 SB: 0
[  247.276568] xilinx_mcdma 80000000.axi_mcdma: Pkt: 20 NDesc: 60000540
[  247.282915] xilinx_mcdma 80000000.axi_mcdma: Pkt: 20 BufA: 6002a000
[  247.289178] xilinx_mcdma 80000000.axi_mcdma: Pkt: 20 Ctrl: 2000
[  247.295091] xilinx_mcdma 80000000.axi_mcdma: Pkt: 20 SB: 0
[  247.300575] xilinx_mcdma 80000000.axi_mcdma: Pkt: 21 NDesc: 60000580
[  247.306929] xilinx_mcdma 80000000.axi_mcdma: Pkt: 21 BufA: 6002c000
[  247.313192] xilinx_mcdma 80000000.axi_mcdma: Pkt: 21 Ctrl: 2000
[  247.319105] xilinx_mcdma 80000000.axi_mcdma: Pkt: 21 SB: 0
[  247.324587] xilinx_mcdma 80000000.axi_mcdma: Pkt: 22 NDesc: 600005c0
[  247.330934] xilinx_mcdma 80000000.axi_mcdma: Pkt: 22 BufA: 6002e000
[  247.337197] xilinx_mcdma 80000000.axi_mcdma: Pkt: 22 Ctrl: 2000
[  247.343110] xilinx_mcdma 80000000.axi_mcdma: Pkt: 22 SB: 0
[  247.348593] xilinx_mcdma 80000000.axi_mcdma: Pkt: 23 NDesc: 60000600
[  247.354939] xilinx_mcdma 80000000.axi_mcdma: Pkt: 23 BufA: 60030000
[  247.361203] xilinx_mcdma 80000000.axi_mcdma: Pkt: 23 Ctrl: 2000
[  247.367116] xilinx_mcdma 80000000.axi_mcdma: Pkt: 23 SB: 0
[  247.372598] xilinx_mcdma 80000000.axi_mcdma: Pkt: 24 NDesc: 60000640
[  247.378945] xilinx_mcdma 80000000.axi_mcdma: Pkt: 24 BufA: 60032000
[  247.385208] xilinx_mcdma 80000000.axi_mcdma: Pkt: 24 Ctrl: 2000
[  247.391121] xilinx_mcdma 80000000.axi_mcdma: Pkt: 24 SB: 0
[  247.396603] xilinx_mcdma 80000000.axi_mcdma: Pkt: 25 NDesc: 60000680
[  247.402950] xilinx_mcdma 80000000.axi_mcdma: Pkt: 25 BufA: 60034000
[  247.409213] xilinx_mcdma 80000000.axi_mcdma: Pkt: 25 Ctrl: 2000
[  247.415126] xilinx_mcdma 80000000.axi_mcdma: Pkt: 25 SB: 0
[  247.420609] xilinx_mcdma 80000000.axi_mcdma: Pkt: 26 NDesc: 600006c0
[  247.426955] xilinx_mcdma 80000000.axi_mcdma: Pkt: 26 BufA: 60036000
[  247.433221] xilinx_mcdma 80000000.axi_mcdma: Pkt: 26 Ctrl: 2000
[  247.439140] xilinx_mcdma 80000000.axi_mcdma: Pkt: 26 SB: 0
[  247.444622] xilinx_mcdma 80000000.axi_mcdma: Pkt: 27 NDesc: 60000700
[  247.450969] xilinx_mcdma 80000000.axi_mcdma: Pkt: 27 BufA: 60038000
[  247.457232] xilinx_mcdma 80000000.axi_mcdma: Pkt: 27 Ctrl: 2000
[  247.463145] xilinx_mcdma 80000000.axi_mcdma: Pkt: 27 SB: 0
[  247.468628] xilinx_mcdma 80000000.axi_mcdma: Pkt: 28 NDesc: 60000740
[  247.474974] xilinx_mcdma 80000000.axi_mcdma: Pkt: 28 BufA: 6003a000
[  247.481237] xilinx_mcdma 80000000.axi_mcdma: Pkt: 28 Ctrl: 2000
[  247.487150] xilinx_mcdma 80000000.axi_mcdma: Pkt: 28 SB: 0
[  247.492633] xilinx_mcdma 80000000.axi_mcdma: Pkt: 29 NDesc: 60000780
[  247.498980] xilinx_mcdma 80000000.axi_mcdma: Pkt: 29 BufA: 6003c000
[  247.505243] xilinx_mcdma 80000000.axi_mcdma: Pkt: 29 Ctrl: 2000
[  247.511156] xilinx_mcdma 80000000.axi_mcdma: Pkt: 29 SB: 0
[  247.516638] xilinx_mcdma 80000000.axi_mcdma: Pkt: 30 NDesc: 600007c0
[  247.522984] xilinx_mcdma 80000000.axi_mcdma: Pkt: 30 BufA: 6003e000
[  247.529248] xilinx_mcdma 80000000.axi_mcdma: Pkt: 30 Ctrl: 2000
[  247.535161] xilinx_mcdma 80000000.axi_mcdma: Pkt: 30 SB: 0
[  247.540643] xilinx_mcdma 80000000.axi_mcdma: Pkt: 31 NDesc: 60000800
[  247.546990] xilinx_mcdma 80000000.axi_mcdma: Pkt: 31 BufA: 60040000
[  247.553253] xilinx_mcdma 80000000.axi_mcdma: Pkt: 31 Ctrl: 2000
[  247.559166] xilinx_mcdma 80000000.axi_mcdma: Pkt: 31 SB: 0
[  247.564651] xilinx_mcdma 80000000.axi_mcdma: Pkt: 32 NDesc: 60000840
[  247.571004] xilinx_mcdma 80000000.axi_mcdma: Pkt: 32 BufA: 60042000
[  247.577267] xilinx_mcdma 80000000.axi_mcdma: Pkt: 32 Ctrl: 2000
[  247.583180] xilinx_mcdma 80000000.axi_mcdma: Pkt: 32 SB: 0
[  247.588663] xilinx_mcdma 80000000.axi_mcdma: Pkt: 33 NDesc: 60000880
[  247.595009] xilinx_mcdma 80000000.axi_mcdma: Pkt: 33 BufA: 60044000
[  247.601272] xilinx_mcdma 80000000.axi_mcdma: Pkt: 33 Ctrl: 2000
[  247.607185] xilinx_mcdma 80000000.axi_mcdma: Pkt: 33 SB: 0
[  247.612667] xilinx_mcdma 80000000.axi_mcdma: Pkt: 34 NDesc: 600008c0
[  247.619014] xilinx_mcdma 80000000.axi_mcdma: Pkt: 34 BufA: 60046000
[  247.625277] xilinx_mcdma 80000000.axi_mcdma: Pkt: 34 Ctrl: 2000
[  247.631190] xilinx_mcdma 80000000.axi_mcdma: Pkt: 34 SB: 0
[  247.636673] xilinx_mcdma 80000000.axi_mcdma: Pkt: 35 NDesc: 60000900
[  247.643020] xilinx_mcdma 80000000.axi_mcdma: Pkt: 35 BufA: 60048000
[  247.649282] xilinx_mcdma 80000000.axi_mcdma: Pkt: 35 Ctrl: 2000
[  247.655195] xilinx_mcdma 80000000.axi_mcdma: Pkt: 35 SB: 0
[  247.660678] xilinx_mcdma 80000000.axi_mcdma: Pkt: 36 NDesc: 60000940
[  247.667025] xilinx_mcdma 80000000.axi_mcdma: Pkt: 36 BufA: 6004a000
[  247.673288] xilinx_mcdma 80000000.axi_mcdma: Pkt: 36 Ctrl: 2000
[  247.679201] xilinx_mcdma 80000000.axi_mcdma: Pkt: 36 SB: 0
[  247.684683] xilinx_mcdma 80000000.axi_mcdma: Pkt: 37 NDesc: 60000980
[  247.691030] xilinx_mcdma 80000000.axi_mcdma: Pkt: 37 BufA: 6004c000
[  247.697295] xilinx_mcdma 80000000.axi_mcdma: Pkt: 37 Ctrl: 2000
[  247.703215] xilinx_mcdma 80000000.axi_mcdma: Pkt: 37 SB: 0
[  247.708697] xilinx_mcdma 80000000.axi_mcdma: Pkt: 38 NDesc: 600009c0
[  247.715044] xilinx_mcdma 80000000.axi_mcdma: Pkt: 38 BufA: 6004e000
[  247.721307] xilinx_mcdma 80000000.axi_mcdma: Pkt: 38 Ctrl: 2000
[  247.727220] xilinx_mcdma 80000000.axi_mcdma: Pkt: 38 SB: 0
[  247.732702] xilinx_mcdma 80000000.axi_mcdma: Pkt: 39 NDesc: 60000a00
[  247.739049] xilinx_mcdma 80000000.axi_mcdma: Pkt: 39 BufA: 60050000
[  247.745312] xilinx_mcdma 80000000.axi_mcdma: Pkt: 39 Ctrl: 2000
[  247.751225] xilinx_mcdma 80000000.axi_mcdma: Pkt: 39 SB: 0
[  247.756707] xilinx_mcdma 80000000.axi_mcdma: Pkt: 40 NDesc: 60000a40
[  247.763051] xilinx_mcdma 80000000.axi_mcdma: Pkt: 40 BufA: 60052000
[  247.769317] xilinx_mcdma 80000000.axi_mcdma: Pkt: 40 Ctrl: 2000
[  247.775230] xilinx_mcdma 80000000.axi_mcdma: Pkt: 40 SB: 0
[  247.780713] xilinx_mcdma 80000000.axi_mcdma: Pkt: 41 NDesc: 60000a80
[  247.787059] xilinx_mcdma 80000000.axi_mcdma: Pkt: 41 BufA: 60054000
[  247.793323] xilinx_mcdma 80000000.axi_mcdma: Pkt: 41 Ctrl: 2000
[  247.799235] xilinx_mcdma 80000000.axi_mcdma: Pkt: 41 SB: 0
[  247.804718] xilinx_mcdma 80000000.axi_mcdma: Pkt: 42 NDesc: 60000ac0
[  247.811065] xilinx_mcdma 80000000.axi_mcdma: Pkt: 42 BufA: 60056000
[  247.817328] xilinx_mcdma 80000000.axi_mcdma: Pkt: 42 Ctrl: 2000
[  247.823241] xilinx_mcdma 80000000.axi_mcdma: Pkt: 42 SB: 0
[  247.828725] xilinx_mcdma 80000000.axi_mcdma: Pkt: 43 NDesc: 60000b00
[  247.835079] xilinx_mcdma 80000000.axi_mcdma: Pkt: 43 BufA: 60058000
[  247.841342] xilinx_mcdma 80000000.axi_mcdma: Pkt: 43 Ctrl: 2000
[  247.847255] xilinx_mcdma 80000000.axi_mcdma: Pkt: 43 SB: 0
[  247.852737] xilinx_mcdma 80000000.axi_mcdma: Pkt: 44 NDesc: 60000b40
[  247.859084] xilinx_mcdma 80000000.axi_mcdma: Pkt: 44 BufA: 6005a000
[  247.865347] xilinx_mcdma 80000000.axi_mcdma: Pkt: 44 Ctrl: 2000
[  247.871260] xilinx_mcdma 80000000.axi_mcdma: Pkt: 44 SB: 0
[  247.876743] xilinx_mcdma 80000000.axi_mcdma: Pkt: 45 NDesc: 60000b80
[  247.883089] xilinx_mcdma 80000000.axi_mcdma: Pkt: 45 BufA: 6005c000
[  247.889352] xilinx_mcdma 80000000.axi_mcdma: Pkt: 45 Ctrl: 2000
[  247.895265] xilinx_mcdma 80000000.axi_mcdma: Pkt: 45 SB: 0
[  247.900748] xilinx_mcdma 80000000.axi_mcdma: Pkt: 46 NDesc: 60000bc0
[  247.907095] xilinx_mcdma 80000000.axi_mcdma: Pkt: 46 BufA: 6005e000
[  247.913357] xilinx_mcdma 80000000.axi_mcdma: Pkt: 46 Ctrl: 2000
[  247.919271] xilinx_mcdma 80000000.axi_mcdma: Pkt: 46 SB: 0
[  247.924752] xilinx_mcdma 80000000.axi_mcdma: Pkt: 47 NDesc: 60000c00
[  247.931100] xilinx_mcdma 80000000.axi_mcdma: Pkt: 47 BufA: 60060000
[  247.937363] xilinx_mcdma 80000000.axi_mcdma: Pkt: 47 Ctrl: 2000
[  247.943275] xilinx_mcdma 80000000.axi_mcdma: Pkt: 47 SB: 0
[  247.948758] xilinx_mcdma 80000000.axi_mcdma: Pkt: 48 NDesc: 60000c40
[  247.955105] xilinx_mcdma 80000000.axi_mcdma: Pkt: 48 BufA: 60062000
[  247.961370] xilinx_mcdma 80000000.axi_mcdma: Pkt: 48 Ctrl: 2000
[  247.967290] xilinx_mcdma 80000000.axi_mcdma: Pkt: 48 SB: 0
[  247.972772] xilinx_mcdma 80000000.axi_mcdma: Pkt: 49 NDesc: 60000c80
[  247.979119] xilinx_mcdma 80000000.axi_mcdma: Pkt: 49 BufA: 60064000
[  247.985382] xilinx_mcdma 80000000.axi_mcdma: Pkt: 49 Ctrl: 2000
[  247.991295] xilinx_mcdma 80000000.axi_mcdma: Pkt: 49 SB: 0
[  247.996777] xilinx_mcdma 80000000.axi_mcdma: Pkt: 50 NDesc: 60000cc0
[  248.003124] xilinx_mcdma 80000000.axi_mcdma: Pkt: 50 BufA: 60066000
[  248.009387] xilinx_mcdma 80000000.axi_mcdma: Pkt: 50 Ctrl: 2000
[  248.015300] xilinx_mcdma 80000000.axi_mcdma: Pkt: 50 SB: 0
[  248.020783] xilinx_mcdma 80000000.axi_mcdma: Pkt: 51 NDesc: 60000d00
[  248.027129] xilinx_mcdma 80000000.axi_mcdma: Pkt: 51 BufA: 60068000
[  248.033392] xilinx_mcdma 80000000.axi_mcdma: Pkt: 51 Ctrl: 2000
[  248.039305] xilinx_mcdma 80000000.axi_mcdma: Pkt: 51 SB: 0
[  248.044787] xilinx_mcdma 80000000.axi_mcdma: Pkt: 52 NDesc: 60000d40
[  248.051134] xilinx_mcdma 80000000.axi_mcdma: Pkt: 52 BufA: 6006a000
[  248.057398] xilinx_mcdma 80000000.axi_mcdma: Pkt: 52 Ctrl: 2000
[  248.063311] xilinx_mcdma 80000000.axi_mcdma: Pkt: 52 SB: 0
[  248.068793] xilinx_mcdma 80000000.axi_mcdma: Pkt: 53 NDesc: 60000d80
[  248.075139] xilinx_mcdma 80000000.axi_mcdma: Pkt: 53 BufA: 6006c000
[  248.081403] xilinx_mcdma 80000000.axi_mcdma: Pkt: 53 Ctrl: 2000
[  248.087316] xilinx_mcdma 80000000.axi_mcdma: Pkt: 53 SB: 0
[  248.092800] xilinx_mcdma 80000000.axi_mcdma: Pkt: 54 NDesc: 60000dc0
[  248.099153] xilinx_mcdma 80000000.axi_mcdma: Pkt: 54 BufA: 6006e000
[  248.105417] xilinx_mcdma 80000000.axi_mcdma: Pkt: 54 Ctrl: 2000
[  248.111330] xilinx_mcdma 80000000.axi_mcdma: Pkt: 54 SB: 0
[  248.116812] xilinx_mcdma 80000000.axi_mcdma: Pkt: 55 NDesc: 60000e00
[  248.123159] xilinx_mcdma 80000000.axi_mcdma: Pkt: 55 BufA: 60070000
[  248.129422] xilinx_mcdma 80000000.axi_mcdma: Pkt: 55 Ctrl: 2000
[  248.135335] xilinx_mcdma 80000000.axi_mcdma: Pkt: 55 SB: 0
[  248.140817] xilinx_mcdma 80000000.axi_mcdma: Pkt: 56 NDesc: 60000e40
[  248.147164] xilinx_mcdma 80000000.axi_mcdma: Pkt: 56 BufA: 60072000
[  248.153427] xilinx_mcdma 80000000.axi_mcdma: Pkt: 56 Ctrl: 2000
[  248.159340] xilinx_mcdma 80000000.axi_mcdma: Pkt: 56 SB: 0
[  248.164822] xilinx_mcdma 80000000.axi_mcdma: Pkt: 57 NDesc: 60000e80
[  248.171169] xilinx_mcdma 80000000.axi_mcdma: Pkt: 57 BufA: 60074000
[  248.177432] xilinx_mcdma 80000000.axi_mcdma: Pkt: 57 Ctrl: 2000
[  248.183345] xilinx_mcdma 80000000.axi_mcdma: Pkt: 57 SB: 0
[  248.188828] xilinx_mcdma 80000000.axi_mcdma: Pkt: 58 NDesc: 60000ec0
[  248.195174] xilinx_mcdma 80000000.axi_mcdma: Pkt: 58 BufA: 60076000
[  248.201438] xilinx_mcdma 80000000.axi_mcdma: Pkt: 58 Ctrl: 2000
[  248.207350] xilinx_mcdma 80000000.axi_mcdma: Pkt: 58 SB: 0
[  248.212833] xilinx_mcdma 80000000.axi_mcdma: Pkt: 59 NDesc: 60000f00
[  248.219180] xilinx_mcdma 80000000.axi_mcdma: Pkt: 59 BufA: 60078000
[  248.225445] xilinx_mcdma 80000000.axi_mcdma: Pkt: 59 Ctrl: 2000
[  248.231364] xilinx_mcdma 80000000.axi_mcdma: Pkt: 59 SB: 0
[  248.236847] xilinx_mcdma 80000000.axi_mcdma: Pkt: 60 NDesc: 60000f40
[  248.243194] xilinx_mcdma 80000000.axi_mcdma: Pkt: 60 BufA: 6007a000
[  248.249457] xilinx_mcdma 80000000.axi_mcdma: Pkt: 60 Ctrl: 2000
[  248.255370] xilinx_mcdma 80000000.axi_mcdma: Pkt: 60 SB: 0
[  248.260852] xilinx_mcdma 80000000.axi_mcdma: Pkt: 61 NDesc: 60000f80
[  248.267199] xilinx_mcdma 80000000.axi_mcdma: Pkt: 61 BufA: 6007c000
[  248.273462] xilinx_mcdma 80000000.axi_mcdma: Pkt: 61 Ctrl: 2000
[  248.279375] xilinx_mcdma 80000000.axi_mcdma: Pkt: 61 SB: 0
[  248.284857] xilinx_mcdma 80000000.axi_mcdma: Pkt: 62 NDesc: 60000fc0
[  248.291204] xilinx_mcdma 80000000.axi_mcdma: Pkt: 62 BufA: 6007e000
[  248.297467] xilinx_mcdma 80000000.axi_mcdma: Pkt: 62 Ctrl: 2000
[  248.303380] xilinx_mcdma 80000000.axi_mcdma: Pkt: 62 SB: 0
[  248.308862] xilinx_mcdma 80000000.axi_mcdma: Pkt: 63 NDesc: 60001000
[  248.315209] xilinx_mcdma 80000000.axi_mcdma: Pkt: 63 BufA: 60080000
[  248.321472] xilinx_mcdma 80000000.axi_mcdma: Pkt: 63 Ctrl: 2000
[  248.327385] xilinx_mcdma 80000000.axi_mcdma: Pkt: 63 SB: 0
[  248.332868] xilinx_mcdma 80000000.axi_mcdma: Pkt: 64 NDesc: 60001040
[  248.339214] xilinx_mcdma 80000000.axi_mcdma: Pkt: 64 BufA: 60082000
[  248.345477] xilinx_mcdma 80000000.axi_mcdma: Pkt: 64 Ctrl: 2000
[  248.351391] xilinx_mcdma 80000000.axi_mcdma: Pkt: 64 SB: 0
[  248.356875] xilinx_mcdma 80000000.axi_mcdma: Pkt: 65 NDesc: 60001080
[  248.363228] xilinx_mcdma 80000000.axi_mcdma: Pkt: 65 BufA: 60084000
[  248.369492] xilinx_mcdma 80000000.axi_mcdma: Pkt: 65 Ctrl: 2000
[  248.375404] xilinx_mcdma 80000000.axi_mcdma: Pkt: 65 SB: 0
[  248.380887] xilinx_mcdma 80000000.axi_mcdma: Pkt: 66 NDesc: 600010c0
[  248.387234] xilinx_mcdma 80000000.axi_mcdma: Pkt: 66 BufA: 60086000
[  248.393497] xilinx_mcdma 80000000.axi_mcdma: Pkt: 66 Ctrl: 2000
[  248.399410] xilinx_mcdma 80000000.axi_mcdma: Pkt: 66 SB: 0
[  248.404892] xilinx_mcdma 80000000.axi_mcdma: Pkt: 67 NDesc: 60001100
[  248.411239] xilinx_mcdma 80000000.axi_mcdma: Pkt: 67 BufA: 60088000
[  248.417502] xilinx_mcdma 80000000.axi_mcdma: Pkt: 67 Ctrl: 2000
[  248.423415] xilinx_mcdma 80000000.axi_mcdma: Pkt: 67 SB: 0
[  248.428898] xilinx_mcdma 80000000.axi_mcdma: Pkt: 68 NDesc: 60001140
[  248.435244] xilinx_mcdma 80000000.axi_mcdma: Pkt: 68 BufA: 6008a000
[  248.441507] xilinx_mcdma 80000000.axi_mcdma: Pkt: 68 Ctrl: 2000
[  248.447420] xilinx_mcdma 80000000.axi_mcdma: Pkt: 68 SB: 0
[  248.452903] xilinx_mcdma 80000000.axi_mcdma: Pkt: 69 NDesc: 60001180
[  248.459249] xilinx_mcdma 80000000.axi_mcdma: Pkt: 69 BufA: 6008c000
[  248.465513] xilinx_mcdma 80000000.axi_mcdma: Pkt: 69 Ctrl: 2000
[  248.471425] xilinx_mcdma 80000000.axi_mcdma: Pkt: 69 SB: 0
[  248.476908] xilinx_mcdma 80000000.axi_mcdma: Pkt: 70 NDesc: 600011c0
[  248.483254] xilinx_mcdma 80000000.axi_mcdma: Pkt: 70 BufA: 6008e000
[  248.489520] xilinx_mcdma 80000000.axi_mcdma: Pkt: 70 Ctrl: 2000
[  248.495440] xilinx_mcdma 80000000.axi_mcdma: Pkt: 70 SB: 0
[  248.500922] xilinx_mcdma 80000000.axi_mcdma: Pkt: 71 NDesc: 60001200
[  248.507269] xilinx_mcdma 80000000.axi_mcdma: Pkt: 71 BufA: 60090000
[  248.513532] xilinx_mcdma 80000000.axi_mcdma: Pkt: 71 Ctrl: 2000
[  248.519445] xilinx_mcdma 80000000.axi_mcdma: Pkt: 71 SB: 0
[  248.524927] xilinx_mcdma 80000000.axi_mcdma: Pkt: 72 NDesc: 60001240
[  248.531274] xilinx_mcdma 80000000.axi_mcdma: Pkt: 72 BufA: 60092000
[  248.537537] xilinx_mcdma 80000000.axi_mcdma: Pkt: 72 Ctrl: 2000
[  248.543450] xilinx_mcdma 80000000.axi_mcdma: Pkt: 72 SB: 0
[  248.548932] xilinx_mcdma 80000000.axi_mcdma: Pkt: 73 NDesc: 60001280
[  248.555279] xilinx_mcdma 80000000.axi_mcdma: Pkt: 73 BufA: 60094000
[  248.561542] xilinx_mcdma 80000000.axi_mcdma: Pkt: 73 Ctrl: 2000
[  248.567455] xilinx_mcdma 80000000.axi_mcdma: Pkt: 73 SB: 0
[  248.572937] xilinx_mcdma 80000000.axi_mcdma: Pkt: 74 NDesc: 600012c0
[  248.579284] xilinx_mcdma 80000000.axi_mcdma: Pkt: 74 BufA: 60096000
[  248.585547] xilinx_mcdma 80000000.axi_mcdma: Pkt: 74 Ctrl: 2000
[  248.591460] xilinx_mcdma 80000000.axi_mcdma: Pkt: 74 SB: 0
[  248.596943] xilinx_mcdma 80000000.axi_mcdma: Pkt: 75 NDesc: 60001300
[  248.603290] xilinx_mcdma 80000000.axi_mcdma: Pkt: 75 BufA: 60098000
[  248.609553] xilinx_mcdma 80000000.axi_mcdma: Pkt: 75 Ctrl: 2000
[  248.615462] xilinx_mcdma 80000000.axi_mcdma: Pkt: 75 SB: 0
[  248.620950] xilinx_mcdma 80000000.axi_mcdma: Pkt: 76 NDesc: 60001340
[  248.627303] xilinx_mcdma 80000000.axi_mcdma: Pkt: 76 BufA: 6009a000
[  248.633567] xilinx_mcdma 80000000.axi_mcdma: Pkt: 76 Ctrl: 2000
[  248.639479] xilinx_mcdma 80000000.axi_mcdma: Pkt: 76 SB: 0
[  248.644961] xilinx_mcdma 80000000.axi_mcdma: Pkt: 77 NDesc: 60001380
[  248.651309] xilinx_mcdma 80000000.axi_mcdma: Pkt: 77 BufA: 6009c000
[  248.657572] xilinx_mcdma 80000000.axi_mcdma: Pkt: 77 Ctrl: 2000
[  248.663485] xilinx_mcdma 80000000.axi_mcdma: Pkt: 77 SB: 0
[  248.668967] xilinx_mcdma 80000000.axi_mcdma: Pkt: 78 NDesc: 600013c0
[  248.675314] xilinx_mcdma 80000000.axi_mcdma: Pkt: 78 BufA: 6009e000
[  248.681577] xilinx_mcdma 80000000.axi_mcdma: Pkt: 78 Ctrl: 2000
[  248.687490] xilinx_mcdma 80000000.axi_mcdma: Pkt: 78 SB: 0
[  248.692972] xilinx_mcdma 80000000.axi_mcdma: Pkt: 79 NDesc: 60001400
[  248.699319] xilinx_mcdma 80000000.axi_mcdma: Pkt: 79 BufA: 600a0000
[  248.705582] xilinx_mcdma 80000000.axi_mcdma: Pkt: 79 Ctrl: 2000
[  248.711495] xilinx_mcdma 80000000.axi_mcdma: Pkt: 79 SB: 0
[  248.716977] xilinx_mcdma 80000000.axi_mcdma: Pkt: 80 NDesc: 60001440
[  248.723324] xilinx_mcdma 80000000.axi_mcdma: Pkt: 80 BufA: 600a2000
[  248.729587] xilinx_mcdma 80000000.axi_mcdma: Pkt: 80 Ctrl: 2000
[  248.735500] xilinx_mcdma 80000000.axi_mcdma: Pkt: 80 SB: 0
[  248.740983] xilinx_mcdma 80000000.axi_mcdma: Pkt: 81 NDesc: 60001480
[  248.747329] xilinx_mcdma 80000000.axi_mcdma: Pkt: 81 BufA: 600a4000
[  248.753595] xilinx_mcdma 80000000.axi_mcdma: Pkt: 81 Ctrl: 2000
[  248.759514] xilinx_mcdma 80000000.axi_mcdma: Pkt: 81 SB: 0
[  248.764997] xilinx_mcdma 80000000.axi_mcdma: Pkt: 82 NDesc: 600014c0
[  248.771343] xilinx_mcdma 80000000.axi_mcdma: Pkt: 82 BufA: 600a6000
[  248.777607] xilinx_mcdma 80000000.axi_mcdma: Pkt: 82 Ctrl: 2000
[  248.783520] xilinx_mcdma 80000000.axi_mcdma: Pkt: 82 SB: 0
[  248.789002] xilinx_mcdma 80000000.axi_mcdma: Pkt: 83 NDesc: 60001500
[  248.795349] xilinx_mcdma 80000000.axi_mcdma: Pkt: 83 BufA: 600a8000
[  248.801612] xilinx_mcdma 80000000.axi_mcdma: Pkt: 83 Ctrl: 2000
[  248.807525] xilinx_mcdma 80000000.axi_mcdma: Pkt: 83 SB: 0
[  248.813007] xilinx_mcdma 80000000.axi_mcdma: Pkt: 84 NDesc: 60001540
[  248.819354] xilinx_mcdma 80000000.axi_mcdma: Pkt: 84 BufA: 600aa000
[  248.825617] xilinx_mcdma 80000000.axi_mcdma: Pkt: 84 Ctrl: 2000
[  248.831530] xilinx_mcdma 80000000.axi_mcdma: Pkt: 84 SB: 0
[  248.837012] xilinx_mcdma 80000000.axi_mcdma: Pkt: 85 NDesc: 60001580
[  248.843359] xilinx_mcdma 80000000.axi_mcdma: Pkt: 85 BufA: 600ac000
[  248.849622] xilinx_mcdma 80000000.axi_mcdma: Pkt: 85 Ctrl: 2000
[  248.855535] xilinx_mcdma 80000000.axi_mcdma: Pkt: 85 SB: 0
[  248.861018] xilinx_mcdma 80000000.axi_mcdma: Pkt: 86 NDesc: 600015c0
[  248.867364] xilinx_mcdma 80000000.axi_mcdma: Pkt: 86 BufA: 600ae000
[  248.873628] xilinx_mcdma 80000000.axi_mcdma: Pkt: 86 Ctrl: 2000
[  248.879540] xilinx_mcdma 80000000.axi_mcdma: Pkt: 86 SB: 0
[  248.885025] xilinx_mcdma 80000000.axi_mcdma: Pkt: 87 NDesc: 60001600
[  248.891378] xilinx_mcdma 80000000.axi_mcdma: Pkt: 87 BufA: 600b0000
[  248.897642] xilinx_mcdma 80000000.axi_mcdma: Pkt: 87 Ctrl: 2000
[  248.903554] xilinx_mcdma 80000000.axi_mcdma: Pkt: 87 SB: 0
[  248.909036] xilinx_mcdma 80000000.axi_mcdma: Pkt: 88 NDesc: 60001640
[  248.915384] xilinx_mcdma 80000000.axi_mcdma: Pkt: 88 BufA: 600b2000
[  248.921647] xilinx_mcdma 80000000.axi_mcdma: Pkt: 88 Ctrl: 2000
[  248.927560] xilinx_mcdma 80000000.axi_mcdma: Pkt: 88 SB: 0
[  248.933042] xilinx_mcdma 80000000.axi_mcdma: Pkt: 89 NDesc: 60001680
[  248.939389] xilinx_mcdma 80000000.axi_mcdma: Pkt: 89 BufA: 600b4000
[  248.945652] xilinx_mcdma 80000000.axi_mcdma: Pkt: 89 Ctrl: 2000
[  248.951565] xilinx_mcdma 80000000.axi_mcdma: Pkt: 89 SB: 0
[  248.957047] xilinx_mcdma 80000000.axi_mcdma: Pkt: 90 NDesc: 600016c0
[  248.963394] xilinx_mcdma 80000000.axi_mcdma: Pkt: 90 BufA: 600b6000
[  248.969657] xilinx_mcdma 80000000.axi_mcdma: Pkt: 90 Ctrl: 2000
[  248.975570] xilinx_mcdma 80000000.axi_mcdma: Pkt: 90 SB: 0
[  248.981052] xilinx_mcdma 80000000.axi_mcdma: Pkt: 91 NDesc: 60001700
[  248.987399] xilinx_mcdma 80000000.axi_mcdma: Pkt: 91 BufA: 600b8000
[  248.993662] xilinx_mcdma 80000000.axi_mcdma: Pkt: 91 Ctrl: 2000
[  248.999575] xilinx_mcdma 80000000.axi_mcdma: Pkt: 91 SB: 0
[  249.005058] xilinx_mcdma 80000000.axi_mcdma: Pkt: 92 NDesc: 60001740
[  249.011405] xilinx_mcdma 80000000.axi_mcdma: Pkt: 92 BufA: 600ba000
[  249.017670] xilinx_mcdma 80000000.axi_mcdma: Pkt: 92 Ctrl: 2000
[  249.023589] xilinx_mcdma 80000000.axi_mcdma: Pkt: 92 SB: 0
[  249.029069] xilinx_mcdma 80000000.axi_mcdma: Pkt: 93 NDesc: 60001780
[  249.035415] xilinx_mcdma 80000000.axi_mcdma: Pkt: 93 BufA: 600bc000
[  249.041682] xilinx_mcdma 80000000.axi_mcdma: Pkt: 93 Ctrl: 2000
[  249.047596] xilinx_mcdma 80000000.axi_mcdma: Pkt: 93 SB: 0
[  249.053074] xilinx_mcdma 80000000.axi_mcdma: Pkt: 94 NDesc: 600017c0
[  249.059424] xilinx_mcdma 80000000.axi_mcdma: Pkt: 94 BufA: 600be000
[  249.065687] xilinx_mcdma 80000000.axi_mcdma: Pkt: 94 Ctrl: 2000
[  249.071599] xilinx_mcdma 80000000.axi_mcdma: Pkt: 94 SB: 0
[  249.077082] xilinx_mcdma 80000000.axi_mcdma: Pkt: 95 NDesc: 60001800
[  249.083429] xilinx_mcdma 80000000.axi_mcdma: Pkt: 95 BufA: 600c0000
[  249.089692] xilinx_mcdma 80000000.axi_mcdma: Pkt: 95 Ctrl: 2000
[  249.095605] xilinx_mcdma 80000000.axi_mcdma: Pkt: 95 SB: 0
[  249.101087] xilinx_mcdma 80000000.axi_mcdma: Pkt: 96 NDesc: 60001840
[  249.107431] xilinx_mcdma 80000000.axi_mcdma: Pkt: 96 BufA: 600c2000
[  249.113697] xilinx_mcdma 80000000.axi_mcdma: Pkt: 96 Ctrl: 2000
[  249.119610] xilinx_mcdma 80000000.axi_mcdma: Pkt: 96 SB: 0
[  249.125092] xilinx_mcdma 80000000.axi_mcdma: Pkt: 97 NDesc: 60001880
[  249.131436] xilinx_mcdma 80000000.axi_mcdma: Pkt: 97 BufA: 600c4000
[  249.137702] xilinx_mcdma 80000000.axi_mcdma: Pkt: 97 Ctrl: 2000
[  249.143617] xilinx_mcdma 80000000.axi_mcdma: Pkt: 97 SB: 0
[  249.149098] xilinx_mcdma 80000000.axi_mcdma: Pkt: 98 NDesc: 600018c0
[  249.155441] xilinx_mcdma 80000000.axi_mcdma: Pkt: 98 BufA: 600c6000
[  249.161707] xilinx_mcdma 80000000.axi_mcdma: Pkt: 98 Ctrl: 2000
[  249.167620] xilinx_mcdma 80000000.axi_mcdma: Pkt: 98 SB: 0
[  249.173103] xilinx_mcdma 80000000.axi_mcdma: Pkt: 99 NDesc: 60001900
[  249.179447] xilinx_mcdma 80000000.axi_mcdma: Pkt: 99 BufA: 600c8000
[  249.185713] xilinx_mcdma 80000000.axi_mcdma: Pkt: 99 Ctrl: 2000
[  249.191626] xilinx_mcdma 80000000.axi_mcdma: Pkt: 99 SB: 0
[  249.197108] xilinx_mcdma 80000000.axi_mcdma: Pkt: 100 NDesc: 60001940
[  249.203539] xilinx_mcdma 80000000.axi_mcdma: Pkt: 100 BufA: 600ca000
[  249.209892] xilinx_mcdma 80000000.axi_mcdma: Pkt: 100 Ctrl: 2000
[  249.215891] xilinx_mcdma 80000000.axi_mcdma: Pkt: 100 SB: 0
[  249.221460] xilinx_mcdma 80000000.axi_mcdma: Pkt: 101 NDesc: 60001980
[  249.227895] xilinx_mcdma 80000000.axi_mcdma: Pkt: 101 BufA: 600cc000
[  249.234244] xilinx_mcdma 80000000.axi_mcdma: Pkt: 101 Ctrl: 2000
[  249.240244] xilinx_mcdma 80000000.axi_mcdma: Pkt: 101 SB: 0
[  249.245813] xilinx_mcdma 80000000.axi_mcdma: Pkt: 102 NDesc: 600019c0
[  249.252243] xilinx_mcdma 80000000.axi_mcdma: Pkt: 102 BufA: 600ce000
[  249.258597] xilinx_mcdma 80000000.axi_mcdma: Pkt: 102 Ctrl: 2000
[  249.264596] xilinx_mcdma 80000000.axi_mcdma: Pkt: 102 SB: 0
[  249.270165] xilinx_mcdma 80000000.axi_mcdma: Pkt: 103 NDesc: 60001a00
[  249.276601] xilinx_mcdma 80000000.axi_mcdma: Pkt: 103 BufA: 600d0000
[  249.282949] xilinx_mcdma 80000000.axi_mcdma: Pkt: 103 Ctrl: 2000
[  249.288948] xilinx_mcdma 80000000.axi_mcdma: Pkt: 103 SB: 0
[  249.294517] xilinx_mcdma 80000000.axi_mcdma: Pkt: 104 NDesc: 60001a40
[  249.300951] xilinx_mcdma 80000000.axi_mcdma: Pkt: 104 BufA: 600d2000
[  249.307301] xilinx_mcdma 80000000.axi_mcdma: Pkt: 104 Ctrl: 2000
[  249.313301] xilinx_mcdma 80000000.axi_mcdma: Pkt: 104 SB: 0
[  249.318870] xilinx_mcdma 80000000.axi_mcdma: Pkt: 105 NDesc: 60001a80
[  249.325304] xilinx_mcdma 80000000.axi_mcdma: Pkt: 105 BufA: 600d4000
[  249.331654] xilinx_mcdma 80000000.axi_mcdma: Pkt: 105 Ctrl: 2000
[  249.337653] xilinx_mcdma 80000000.axi_mcdma: Pkt: 105 SB: 0
[  249.343222] xilinx_mcdma 80000000.axi_mcdma: Pkt: 106 NDesc: 60001ac0
[  249.349656] xilinx_mcdma 80000000.axi_mcdma: Pkt: 106 BufA: 600d6000
[  249.356006] xilinx_mcdma 80000000.axi_mcdma: Pkt: 106 Ctrl: 2000
[  249.362005] xilinx_mcdma 80000000.axi_mcdma: Pkt: 106 SB: 0
[  249.367574] xilinx_mcdma 80000000.axi_mcdma: Pkt: 107 NDesc: 60001b00
[  249.374008] xilinx_mcdma 80000000.axi_mcdma: Pkt: 107 BufA: 600d8000
[  249.380358] xilinx_mcdma 80000000.axi_mcdma: Pkt: 107 Ctrl: 2000
[  249.386358] xilinx_mcdma 80000000.axi_mcdma: Pkt: 107 SB: 0
[  249.391927] xilinx_mcdma 80000000.axi_mcdma: Pkt: 108 NDesc: 60001b40
[  249.398361] xilinx_mcdma 80000000.axi_mcdma: Pkt: 108 BufA: 600da000
[  249.404713] xilinx_mcdma 80000000.axi_mcdma: Pkt: 108 Ctrl: 2000
[  249.410719] xilinx_mcdma 80000000.axi_mcdma: Pkt: 108 SB: 0
[  249.416288] xilinx_mcdma 80000000.axi_mcdma: Pkt: 109 NDesc: 60001b80
[  249.422722] xilinx_mcdma 80000000.axi_mcdma: Pkt: 109 BufA: 600dc000
[  249.429072] xilinx_mcdma 80000000.axi_mcdma: Pkt: 109 Ctrl: 2000
[  249.435072] xilinx_mcdma 80000000.axi_mcdma: Pkt: 109 SB: 0
[  249.440641] xilinx_mcdma 80000000.axi_mcdma: Pkt: 110 NDesc: 60001bc0
[  249.447074] xilinx_mcdma 80000000.axi_mcdma: Pkt: 110 BufA: 600de000
[  249.453424] xilinx_mcdma 80000000.axi_mcdma: Pkt: 110 Ctrl: 2000
[  249.459424] xilinx_mcdma 80000000.axi_mcdma: Pkt: 110 SB: 0
[  249.464993] xilinx_mcdma 80000000.axi_mcdma: Pkt: 111 NDesc: 60001c00
[  249.471426] xilinx_mcdma 80000000.axi_mcdma: Pkt: 111 BufA: 600e0000
[  249.477776] xilinx_mcdma 80000000.axi_mcdma: Pkt: 111 Ctrl: 2000
[  249.483776] xilinx_mcdma 80000000.axi_mcdma: Pkt: 111 SB: 0
[  249.489345] xilinx_mcdma 80000000.axi_mcdma: Pkt: 112 NDesc: 60001c40
[  249.495779] xilinx_mcdma 80000000.axi_mcdma: Pkt: 112 BufA: 600e2000
[  249.502128] xilinx_mcdma 80000000.axi_mcdma: Pkt: 112 Ctrl: 2000
[  249.508129] xilinx_mcdma 80000000.axi_mcdma: Pkt: 112 SB: 0
[  249.513697] xilinx_mcdma 80000000.axi_mcdma: Pkt: 113 NDesc: 60001c80
[  249.520132] xilinx_mcdma 80000000.axi_mcdma: Pkt: 113 BufA: 600e4000
[  249.526481] xilinx_mcdma 80000000.axi_mcdma: Pkt: 113 Ctrl: 2000
[  249.532484] xilinx_mcdma 80000000.axi_mcdma: Pkt: 113 SB: 0
[  249.538050] xilinx_mcdma 80000000.axi_mcdma: Pkt: 114 NDesc: 60001cc0
[  249.544484] xilinx_mcdma 80000000.axi_mcdma: Pkt: 114 BufA: 600e6000
[  249.550833] xilinx_mcdma 80000000.axi_mcdma: Pkt: 114 Ctrl: 2000
[  249.556830] xilinx_mcdma 80000000.axi_mcdma: Pkt: 114 SB: 0
[  249.562402] xilinx_mcdma 80000000.axi_mcdma: Pkt: 115 NDesc: 60001d00
[  249.568833] xilinx_mcdma 80000000.axi_mcdma: Pkt: 115 BufA: 600e8000
[  249.575186] xilinx_mcdma 80000000.axi_mcdma: Pkt: 115 Ctrl: 2000
[  249.581182] xilinx_mcdma 80000000.axi_mcdma: Pkt: 115 SB: 0
[  249.586754] xilinx_mcdma 80000000.axi_mcdma: Pkt: 116 NDesc: 60001d40
[  249.593189] xilinx_mcdma 80000000.axi_mcdma: Pkt: 116 BufA: 600ea000
[  249.599538] xilinx_mcdma 80000000.axi_mcdma: Pkt: 116 Ctrl: 2000
[  249.605538] xilinx_mcdma 80000000.axi_mcdma: Pkt: 116 SB: 0
[  249.611107] xilinx_mcdma 80000000.axi_mcdma: Pkt: 117 NDesc: 60001d80
[  249.617537] xilinx_mcdma 80000000.axi_mcdma: Pkt: 117 BufA: 600ec000
[  249.623890] xilinx_mcdma 80000000.axi_mcdma: Pkt: 117 Ctrl: 2000
[  249.629890] xilinx_mcdma 80000000.axi_mcdma: Pkt: 117 SB: 0
[  249.635459] xilinx_mcdma 80000000.axi_mcdma: Pkt: 118 NDesc: 60001dc0
[  249.641894] xilinx_mcdma 80000000.axi_mcdma: Pkt: 118 BufA: 600ee000
[  249.648243] xilinx_mcdma 80000000.axi_mcdma: Pkt: 118 Ctrl: 2000
[  249.654242] xilinx_mcdma 80000000.axi_mcdma: Pkt: 118 SB: 0
[  249.659814] xilinx_mcdma 80000000.axi_mcdma: Pkt: 119 NDesc: 60001e00
[  249.666254] xilinx_mcdma 80000000.axi_mcdma: Pkt: 119 BufA: 600f0000
[  249.672604] xilinx_mcdma 80000000.axi_mcdma: Pkt: 119 Ctrl: 2000
[  249.678604] xilinx_mcdma 80000000.axi_mcdma: Pkt: 119 SB: 0
[  249.684173] xilinx_mcdma 80000000.axi_mcdma: Pkt: 120 NDesc: 60001e40
[  249.690607] xilinx_mcdma 80000000.axi_mcdma: Pkt: 120 BufA: 600f2000
[  249.696956] xilinx_mcdma 80000000.axi_mcdma: Pkt: 120 Ctrl: 2000
[  249.702956] xilinx_mcdma 80000000.axi_mcdma: Pkt: 120 SB: 0
[  249.708525] xilinx_mcdma 80000000.axi_mcdma: Pkt: 121 NDesc: 60001e80
[  249.714959] xilinx_mcdma 80000000.axi_mcdma: Pkt: 121 BufA: 600f4000
[  249.721309] xilinx_mcdma 80000000.axi_mcdma: Pkt: 121 Ctrl: 2000
[  249.727308] xilinx_mcdma 80000000.axi_mcdma: Pkt: 121 SB: 0
[  249.732878] xilinx_mcdma 80000000.axi_mcdma: Pkt: 122 NDesc: 60001ec0
[  249.739311] xilinx_mcdma 80000000.axi_mcdma: Pkt: 122 BufA: 600f6000
[  249.745661] xilinx_mcdma 80000000.axi_mcdma: Pkt: 122 Ctrl: 2000
[  249.751661] xilinx_mcdma 80000000.axi_mcdma: Pkt: 122 SB: 0
[  249.757230] xilinx_mcdma 80000000.axi_mcdma: Pkt: 123 NDesc: 60001f00
[  249.763664] xilinx_mcdma 80000000.axi_mcdma: Pkt: 123 BufA: 600f8000
[  249.770013] xilinx_mcdma 80000000.axi_mcdma: Pkt: 123 Ctrl: 2000
[  249.776013] xilinx_mcdma 80000000.axi_mcdma: Pkt: 123 SB: 0
[  249.781582] xilinx_mcdma 80000000.axi_mcdma: Pkt: 124 NDesc: 60001f40
[  249.788019] xilinx_mcdma 80000000.axi_mcdma: Pkt: 124 BufA: 600fa000
[  249.794366] xilinx_mcdma 80000000.axi_mcdma: Pkt: 124 Ctrl: 2000
[  249.800366] xilinx_mcdma 80000000.axi_mcdma: Pkt: 124 SB: 0
[  249.805934] xilinx_mcdma 80000000.axi_mcdma: Pkt: 125 NDesc: 60001f80
[  249.812365] xilinx_mcdma 80000000.axi_mcdma: Pkt: 125 BufA: 600fc000
[  249.818718] xilinx_mcdma 80000000.axi_mcdma: Pkt: 125 Ctrl: 2000
[  249.824718] xilinx_mcdma 80000000.axi_mcdma: Pkt: 125 SB: 0
[  249.830287] xilinx_mcdma 80000000.axi_mcdma: Pkt: 126 NDesc: 60001fc0
[  249.836721] xilinx_mcdma 80000000.axi_mcdma: Pkt: 126 BufA: 600fe000
[  249.843070] xilinx_mcdma 80000000.axi_mcdma: Pkt: 126 Ctrl: 2000
[  249.849067] xilinx_mcdma 80000000.axi_mcdma: Pkt: 126 SB: 0
[  249.854639] xilinx_mcdma 80000000.axi_mcdma: Pkt: 127 NDesc: 60000000
[  249.861074] xilinx_mcdma 80000000.axi_mcdma: Pkt: 127 BufA: 60100000
[  249.867423] xilinx_mcdma 80000000.axi_mcdma: Pkt: 127 Ctrl: 40002000
[  249.873770] xilinx_mcdma 80000000.axi_mcdma: Pkt: 127 SB: 0

Thanks & Regards,

Sanchayan Maity.

0 Kudos
7 Replies
Moderator
Moderator
537 Views
Registered: ‎11-09-2015

Re: Query on block descriptors in AXI MCDMA

HI @sanchayan_maity ,

Porting a driver from bare-metal to linux is not straight forward. You might be missing something while managing the memory. I have not enough knowledge on Linux to confirm that.

However, is there a specific reason why you are using the MCDMA and not video specific DMAs as the VDMA or the frame buffer IP? They already have a linux driver you can use.


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
524 Views
Registered: ‎10-29-2018

Re: Query on block descriptors in AXI MCDMA

Oh well, I basically take care of everything on the ARM software side of things, so Yocto + Linux. From what my FPGA engineer told me who designed the hardware and takes care of FPGA IP side of things, the MCDMA IP was recommended by Xilinx itself. I do not recall the exact reason, but, I will get back to you tomorrow on that first thing once I hear from my FPGA engineer.

When it comes to VDMA, I am aware of the Linux drivers. We also have our own custom driver from the 1st generation system which used the VDMA IP, but, was based on the Artix + ARM connected on PCIe instead of the current ZynqMP.

As far as porting is concerned, the driver is 90% the same. The only difference is handling of the addresses. A memory address being written to the MCDMA register should be a physical address, but, a memory address if being read or written to, should be a virtual address. Once the mapping is done with memremap, the phys_to_virt and virt_to_phys functions are all that is required. The only question that remains is of the cache. The bare metal code flushes the cache at a few key points. I did try to flush the cache/TLB and also tried memory barriers, but, as of now it has not helped.

Was hoping some MCDMA expert from Xilinx could look at the log I shared and tell me if something looks off. I can share the MCDMA driver code if required.

Thanks for your reply.

Regards,

Sanchayan.

0 Kudos
507 Views
Registered: ‎10-29-2018

Re: Query on block descriptors in AXI MCDMA

I am told we selected the MCDMA IP block on recommendation from Xilinx due to better FPGA utilization area.

Regards,

Sanchayan.

0 Kudos
474 Views
Registered: ‎10-29-2018

Re: Query on block descriptors in AXI MCDMA

Any pointers from Xilinx?

0 Kudos
Xilinx Employee
Xilinx Employee
465 Views
Registered: ‎10-04-2016

Re: Query on block descriptors in AXI MCDMA

Hi @sanchayan_maity 

My first thought when you are getting internal errors from MCDMA but the processor shows good descriptors is that you have a coherency issue. How are you managing the caching of the buffer descriptors? I am wondering if the SG Engine in MCDMA is reading stale values from DDR while the processor is updating values in cache.

Regards,

Deanna

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
431 Views
Registered: ‎10-29-2018

Re: Query on block descriptors in AXI MCDMA

What do you mean by "managing the caching of buffer descriptors"?

I tried to do a cache flush wherever there were cache flush calls in the corresponding bare metal code.

0 Kudos
Xilinx Employee
Xilinx Employee
410 Views
Registered: ‎10-04-2016

Re: Query on block descriptors in AXI MCDMA

Hi @sanchayan_maity,

Fundamentally, I think the MCDMA IP is reading a stale copy of the buffer descriptor from DRAM while the processor is updating buffer descriptors in cache. One way you could prove this is by adding an ILA to the SG port of the AXI MCDMA and see the contents of the buffer descriptors it attempts to read in.

Porting a bare metal driver to Linux is not a trivial undertaking and requires a good understanding of the OS memory management offerings.

Did you leverage the AXI DMA Linux driver to see how that code interacts with the Linux DMA API to manage the memory buffers involved in DMA transfers? A lot of the cache management happens deep within the kernel, not within the the AXI DMA driver itself.

https://github.com/Xilinx/linux-xlnx/blob/master/drivers/dma/xilinx/xilinx_dma.c

Regards,

Deanna 

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos