cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
dominic_1985
Visitor
Visitor
1,695 Views
Registered: ‎10-09-2018

vcu118 pcie xdma transfer failed

Hi,

 

I am using the vcu118 emulation board to do data transactions through PCIe with xilinx xdma integrated. 

 

In my application, there are 4 threads running  concurrently. Each thread applies one h2c channel and one c2h channel for data RX/TX. For every h2c write transfer, the length of one data block is about 600KB. The flow of each thread is writing 600KB by h2c, then reading by c2h for the same size, then loop again.

 

After 4 threads start transferring, the PCIE xdma would crash after a few seconds, with an "MAGIC_STOPPED" error caught. But No data corruption found after dumping all the sgdma descriptor list in xdma linux driver.

 

Is the dma engine descriptor FIFO corrupted under such situation?

 

Below is the dmesg log info, please help analyze and git some suggestions, thanks.

 

[ 6355.241138] xdma:xdma_engine_stop: xdma_engine_stop(0-C2H3-MM) done

[ 6355.241142] xdma:engine_service: desc_count = 1

[ 6355.241146] xdma:engine_service: head of queue transfer 0x000000009689a007 has 1 descriptors

[ 6355.241150] xdma:engine_service: Engine completed 1 desc, 1 not yet dequeued

[ 6355.241154] xdma:engine_service_final_transfer: engine 0-C2H3-MM completed transfer

[ 6355.241158] xdma:engine_service_final_transfer: Completed transfer ID = 0x000000009689a007

[ 6355.241162] xdma:engine_service_final_transfer: *pdesc_completed=1, transfer->desc_num=1

[ 6355.241165] xdma:engine_service_resume: no pending transfers, 0-C2H3-MM engine stays idle.

[ 6355.241172] xdma:xdma_xfer_submit: transfer 000000009689a007, 64, ep 0x81770040 compl, +0.

xdma:engine_service_final_transfer: engine 0-H2C2-MM, status error 0x11.

[10835.192131] xdma:engine_service_final_transfer: 0-H2C1-MM, xfer 0x00000000c38de665, stopped half-way, 69/153.

[10835.192132] xdma:engine_status_dump: SG engine 0-H2C2-MM status: 0x00000011: BUSY,MAGIC_STOPPED

[10835.192133] xdma:engine_service_final_transfer: 0-H2C0-MM, xfer 0x00000000f8349b85, stopped half-way, 79/153.

[10835.192135] xdma:engine_err_handle: 0-H2C2-MM has errors but is still BUSY

[10835.192135] xdma:engine_service_resume: no queued transfers but 0-H2C0-MM engine running!

[10835.192137] xdma:engine_err_handle: 0-H2C2-MM, s 0x11, aborted xfer 0x00000000206e5701, cmpl 17/153

[10835.192138] xdma:engine_service_resume: no queued transfers but 0-H2C2-MM engine running!

[10835.192140] xdma:engine_service_resume: no queued transfers but 0-H2C1-MM engine running!

[10835.192268] engine_service_poll+0x120/0x150 [xdma]

[10835.192270] engine_service_poll+0x120/0x150 [xdma]

[10835.192272] xdma_xfer_submit+0x335/0x810 [xdma]

[10835.192273] xdma_xfer_submit+0x335/0x810 [xdma]

[10835.192275] char_sgdma_read_write+0x2bb/0x420 [xdma]

[10835.192277] char_sgdma_read_write+0x2bb/0x420 [xdma]

[10835.192279] char_sgdma_write+0x14/0x20 [xdma]

[10835.192282] char_sgdma_write+0x14/0x20 [xdma]

[10835.192283] __vfs_write+0x1b/0x40

[10835.192285] __vfs_write+0x1b/0x40

[10835.192286] vfs_write+0xb1/0x1a0

[10835.192287] vfs_write+0xb1/0x1a0

[10835.192288] SyS_write+0x55/0xc0

[10835.192289] SyS_write+0x55/0xc0

[10835.192291] do_syscall_64+0x73/0x130

[10835.192293] do_syscall_64+0x73/0x130

[10835.192295] entry_SYSCALL_64_after_hwframe+0x3d/0xa2

[10835.192297] entry_SYSCALL_64_after_hwframe+0x3d/0xa2

[10835.192297] RIP: 0033:0x7feb24fd82b7

[10835.192298] RIP: 0033:0x7feb24fd82b7

[10835.192299] RSP: 002b:00007feb1ae76c40 EFLAGS: 00000293

[10835.192300] RSP: 002b:00007fead1317c40 EFLAGS: 00000293

[10835.192300] ORIG_RAX: 0000000000000001

[10835.192301] ORIG_RAX: 0000000000000001

[10835.192302] RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 00007feb24fd82b7

[10835.192303] RAX: ffffffffffffffda RBX: 0000000000000009 RCX: 00007feb24fd82b7

[10835.192303] RDX: 0000000000097e00 RSI: 00007fea317bb280 RDI: 0000000000000008

[10835.192304] RDX: 0000000000097e00 RSI: 00007feaf7182c40 RDI: 0000000000000009

[10835.192305] RBP: 00007fea317bb280 R08: 0000000000000000 R09: 0000000000000000

[10835.192306] RBP: 00007feaf7182c40 R08: 0000000000000000 R09: 00000000000983c1

[10835.192306] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000097e00

[10835.192307] R10: fffffffffffff000 R11: 0000000000000293 R12: 0000000000097e00

[10835.192308] R13: 0000000000000000 R14: 00000000017e3e40 R15: 00007feb1c679c20

[10835.192309] R13: 0000000000000000 R14: 00000000017e41c0 R15: 00007feb1be78c20

[10835.192310] Code:

[10835.192310] Code:

 

 

[10835.192378] ---[ end trace d1837abca450bc1f ]---

[10835.192379] ---[ end trace d1837abca450bc20 ]---

[10835.192381] xdma:xdma_xfer_submit: xfer 0x00000000c38de665,622080, failed, ep 0x80008000.

[10835.192382] xdma:xdma_xfer_submit: xfer 0x00000000206e5701,622080, failed, ep 0x80010000.

[10835.192438] Modules linked in: xdma(OE) cfg80211 nls_iso8859_1 snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_seq_midi snd_seq_midi_event joydev input_leds cp210x usbserial snd_rawmidi intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp snd_seq kvm irqbypass crct10dif_pclmul snd_seq_device snd_timer crc32_pclmul ghash_clmulni_intel snd pcbc aesni_intel aes_x86_64 crypto_simd glue_helper cryptd intel_cstate intel_rapl_perf eeepc_wmi asus_wmi sparse_keymap wmi_bmof soundcore mei_me mei shpchp acpi_pad mac_hid sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_generic usbhid hid i915 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt e1000e fb_sys_fops mxm_wmi ptp drm pps_core ahci libahci

[10835.192460] wmi video [last unloaded: xdma]

[10835.192462] CPU: 0 PID: 9388 Comm: opencv_test Tainted: G D W OE 4.15.0-36-generic #39-Ubuntu

[10835.192463] Hardware name: System manufacturer System Product Name/STRIX B250F GAMING, BIOS 0810 09/08/2017

[10835.192466] RIP: 0010:engine_service+0x176/0x210 [xdma]

[10835.192467] RSP: 0018:ffffbc950365fcd8 EFLAGS: 00010086

[10835.192468] RAX: 000000000000004d RBX: ffff9ab9ee538438 RCX: 0000000000000002

[10835.192469] RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000046

[10835.192470] RBP: ffffbc950365fd00 R08: 0000000000000000 R09: 000000000000004d

[10835.192471] R10: ffffbc950365fbe8 R11: 0000000086d5abe8 R12: ffff9ab9ee5384a8

[10835.192472] R13: ffff9aba6727e018 R14: 0000000000000206 R15: ffff9ab9ee538438

[10835.192473] FS: 00007fea57b5c700(0000) GS:ffff9aba76c00000(0000) knlGS:0000000000000000

[10835.192474] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033

[10835.192475] CR2: 0000558384b8cde0 CR3: 000000018ecc8002 CR4: 00000000003606f0

[10835.192476] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000

[10835.192477] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

[10835.192478] Call Trace:

[10835.192481] engine_service_poll+0x120/0x150 [xdma]

[10835.192483] xdma_xfer_submit+0x335/0x810 [xdma]

[10835.192486] char_sgdma_read_write+0x2bb/0x420 [xdma]

[10835.192488] char_sgdma_write+0x14/0x20 [xdma]

[10835.192490] __vfs_write+0x1b/0x40

[10835.192491] vfs_write+0xb1/0x1a0

[10835.192492] SyS_write+0x55/0xc0

[10835.192494] do_syscall_64+0x73/0x130

[10835.192496] entry_SYSCALL_64_after_hwframe+0x3d/0xa2

[10835.192497] RIP: 0033:0x7feb24fd82b7

[10835.192498] RSP: 002b:00007fea57b5bc40 EFLAGS: 00000293 ORIG_RAX: 0000000000000001

[10835.192499] RAX: ffffffffffffffda RBX: 0000000000000007 RCX: 00007feb24fd82b7

[10835.192500] RDX: 0000000000097e00 RSI: 00007fea7d92ee40 RDI: 0000000000000007

[10835.192501] RBP: 00007fea7d92ee40 R08: 0000000000000000 R09: 00000000000984f1

[10835.192502] R10: fffffffffffff000 R11: 0000000000000293 R12: 0000000000097e00

[10835.192503] R13: 0000000000000000 R14: 00000000017e3ac0 R15: 00007feb1ce7ac20

[10835.192504] Code: 78 48 e8 ce 76 43 d1 89 45 dc e9 15 ff ff ff 49 39 c4 75 a1 48 8d 53 10 48 c7 c6 60 b4 a6 c0 48 c7 c7 18 d1 a6 c0 e8 0a 78 08 d1 <0f> 0b eb 86 31 d2 be 01 00 00 00 48 89 df e8 d7 ca ff ff e9 72

[10835.192524] ---[ end trace d1837abca450bc21 ]---

[10835.192526] xdma:xdma_xfer_submit: xfer 0x00000000f8349b85,622080, failed, ep 0x80000000.

[10835.221006] xdma:engine_service_final_transfer: engine 0-H2C3-MM, status error 0x10.

[10835.221010] xdma:engine_status_dump: SG engine 0-H2C3-MM status: 0x00000010: MAGIC_STOPPED

[10835.221012] xdma:engine_err_handle: 0-H2C3-MM, s 0x10, aborted xfer 0x000000005f073235, cmpl 0/152

[10835.221013] xdma:xdma_xfer_submit: xfer 0x000000005f073235,622080, failed, ep 0x80018000.

 
0 Kudos
Reply
3 Replies
venkata
Moderator
Moderator
1,670 Views
Registered: ‎02-16-2010

The following log says the magic_stopped bit in H2C Channel Status (0x40) is set.
[10835.221006] xdma:engine_service_final_transfer: engine 0-H2C3-MM, status error 0x10.

 

Here is the description of this bit from PG195 - Table 2-44:
magic_stopped
Reset on setting the Control register Run bit. Set when the engine
encounters a descriptor with invalid magic and stopped if the Control
register ie_magic_stopped bit is set.

 

Can you check the magic field of the descriptor which caused the error - MAGIC_STOPPED?

------------------------------------------------------------------------------
Don't forget to reply, give kudo and accept as solution
------------------------------------------------------------------------------
0 Kudos
Reply
dominic_1985
Visitor
Visitor
1,661 Views
Registered: ‎10-09-2018

hi ,

 

Thanks for you reply.

 

I dumped all the dma descriptor and checked the migic field. Nothing abnormal found.

 

The descriptor memory were ok before dma submit, how can I debug the card descriptor fifo status? It seemed the fifo descriptors were corrupt during scatter-gather data transferring. 

 

Are there any debug registers or further analyze approach?I do not see detail description about the xdma fifo working mechanism in XDMA TRM PG195.

 

0 Kudos
Reply
justleft
Visitor
Visitor
1,615 Views
Registered: ‎10-09-2018

I have the same promble, when use 4 h2c channer transfer data at the same time,  and I checked the magic field is no promble.

 

Xilinx_Answer_65444_Linux_Files_rel20180420.zip (Recommended Driver Version with improved error handling and more block partition for easy access)
 

[ 6983.348994] xdma: loading out-of-tree module taints kernel.
[ 6983.349045] xdma: module verification failed: signature and/or required key missing - tainting kernel
[ 6983.349870] xdma:xdma_mod_init: Xilinx XDMA Reference Driver xdma v2017.1.47
[ 6983.349871] xdma:xdma_mod_init: desc_blen_max: 0xfffffff/268435455, sgdma_timeout: 10 sec.
[ 6983.349911] xdma:xdma_device_open: xdma device 0000:01:00.0, 0x00000000d372b6fe.
[ 6983.371998] xdma 0000:01:00.0: Refused to change power state, currently in D3
[ 6983.372235] xdma:pci_check_intr_pend: 0000:01:00.0 PCI STATUS Interrupt pending 0xffff.
[ 6983.372359] xdma:map_single_bar: BAR0 at 0xf0000000 mapped at 0x00000000c2f11d85, length=1048576(/1048576)
[ 6983.372382] xdma:map_single_bar: BAR2 at 0xf0100000 mapped at 0x000000005675f5f3, length=65536(/65536)
[ 6983.372384] xdma:map_bars: Failed to detect XDMA config BAR
[ 6983.400007] xdma: probe of 0000:01:00.0 failed with error -22
[ 7094.123232] pci_bus 0000:01: busn_res: [bus 01] is released
[ 7121.881904] pci 0000:00:01.0: [8086:1901] type 01 class 0x060400
[ 7121.881983] pci 0000:00:01.0: PME# supported from D0 D3hot D3cold
[ 7121.882655] pci 0000:01:00.0: [10ee:903f] type 00 class 0x070001
[ 7121.882675] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[ 7121.882685] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x0000ffff 64bit pref]
[ 7121.882705] pci 0000:01:00.0: Max Payload Size set to 256 (was 128, max 1024)
[ 7121.882824] pci 0000:00:01.0: PCI bridge to [bus 01]
[ 7121.882831] pci 0000:00:01.0:   bridge window [mem 0xf0000000-0xf01fffff 64bit pref]
[ 7121.882886] pci 0000:00:01.0: BAR 15: assigned [mem 0xc8800000-0xc89fffff 64bit pref]
[ 7121.882892] pci 0000:01:00.0: BAR 0: assigned [mem 0xc8800000-0xc88fffff 64bit pref]
[ 7121.882901] pci 0000:01:00.0: BAR 2: assigned [mem 0xc8900000-0xc890ffff 64bit pref]
[ 7121.882909] pci 0000:00:01.0: PCI bridge to [bus 01]
[ 7121.882914] pci 0000:00:01.0:   bridge window [mem 0xc8800000-0xc89fffff 64bit pref]
[ 7121.883328] serial 0000:01:00.0: enabling device (0000 -> 0002)
[ 7121.883505] xdma:xdma_device_open: xdma device 0000:01:00.0, 0x000000004c9eabf2.
[ 7121.883658] xdma:map_single_bar: BAR0 at 0xc8800000 mapped at 0x00000000c2f11d85, length=1048576(/1048576)
[ 7121.883673] xdma:map_single_bar: BAR2 at 0xc8900000 mapped at 0x000000005675f5f3, length=65536(/65536)
[ 7121.883676] xdma:map_bars: config bar 2, pos 1.
[ 7121.883677] xdma:identify_bars: 2 BARs: config 1, user 0, bypass -1.
[ 7121.883683] xdma:probe_engines: XDMA_TRANSFER_MAX_DESC:32.
[ 7121.884156] xdma:probe_one: 0000:01:00.0 xdma0, pdev 0x000000004c9eabf2, xdev 0x000000004a994e0e, 0x000000000dcf48c3, usr 16, ch 4,4.
[ 7121.887626] xdma:cdev_xvc_init: xcdev 0x0000000021efaca0, bar 0, offset 0x40000.
[ 7940.654398] audit: type=1400 audit(1539574373.780:42): apparmor="ALLOWED" operation="connect" profile="libreoffice-oopslash" name="/tmp/OSL_PIPE_1000_SingleOfficeIPC_3c29adc96fc55e6dd35d5c533b33e77b" pid=9247 comm="oosplash" requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=1000
[ 7940.654410] audit: type=1400 audit(1539574373.780:43): apparmor="ALLOWED" operation="file_perm" profile="libreoffice-oopslash" name="/tmp/OSL_PIPE_1000_SingleOfficeIPC_3c29adc96fc55e6dd35d5c533b33e77b" pid=9247 comm="oosplash" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
[ 7940.654411] audit: type=1400 audit(1539574373.780:44): apparmor="ALLOWED" operation="file_perm" profile="libreoffice-oopslash" name="/tmp/OSL_PIPE_1000_SingleOfficeIPC_3c29adc96fc55e6dd35d5c533b33e77b" pid=9247 comm="oosplash" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
[ 7940.654521] audit: type=1400 audit(1539574373.780:45): apparmor="ALLOWED" operation="file_perm" profile="libreoffice-oopslash" name="/tmp/OSL_PIPE_1000_SingleOfficeIPC_3c29adc96fc55e6dd35d5c533b33e77b" pid=9247 comm="oosplash" requested_mask="w" denied_mask="w" fsuid=1000 ouid=1000
[ 7940.654523] audit: type=1400 audit(1539574373.780:46): apparmor="ALLOWED" operation="file_perm" profile="libreoffice-oopslash" name="/tmp/OSL_PIPE_1000_SingleOfficeIPC_3c29adc96fc55e6dd35d5c533b33e77b" pid=9247 comm="oosplash" requested_mask="w" denied_mask="w" fsuid=1000 ouid=1000
[11410.712566] xdma:engine_service_wb_monitor: Polling timeout occurred
[11410.712567] xdma:engine_service_wb_monitor: Polling timeout occurred
[11410.712568] xdma:engine_service_wb_monitor: Polling timeout occurred
[11410.712568] xdma:engine_service_wb_monitor: Polling timeout occurred
[11410.712570] xdma:engine_service_wb_monitor: desc_wb = 0x00000000, expected 0x00000020
[11410.712570] xdma:engine_service_wb_monitor: desc_wb = 0x00000000, expected 0x00000020
[11410.712571] xdma:engine_service_wb_monitor: desc_wb = 0x00000000, expected 0x00000020
[11410.712573] xdma:engine_reg_dump: 0-H2C2-MM: ioread32(0x0000000063d5bc17) = 0x1fc00206 (id).
[11410.712573] xdma:engine_service_wb_monitor: desc_wb = 0x00000000, expected 0x00000020
[11410.712575] xdma:engine_reg_dump: 0-H2C2-MM: ioread32(0x00000000f299a5cb) = 0x00000001 (status).
[11410.712576] xdma:engine_reg_dump: 0-H2C2-MM: ioread32(0x000000009922494a) = 0x04f83e19 (control)
[11410.712577] xdma:engine_reg_dump: 0-H2C2-MM: ioread32(0x000000001c2d62b2) = 0x34423000 (first_desc_lo)
[11410.712578] xdma:engine_reg_dump: 0-H2C2-MM: ioread32(0x00000000b699cd4a) = 0x00000000 (first_desc_hi)
[11410.712579] xdma:engine_reg_dump: 0-H2C2-MM: ioread32(0x000000000bbfdd4f) = 0x0000000f (first_desc_adjacent).
[11410.712581] xdma:engine_reg_dump: 0-H2C2-MM: ioread32(0x000000004be8028d) = 0x00000010 (completed_desc_count).
[11410.712582] xdma:engine_reg_dump: 0-H2C2-MM: ioread32(0x00000000e20b1cf7) = 0x00f83e18 (interrupt_enable_mask)
[11410.712582] xdma:engine_status_dump: SG engine 0-H2C2-MM status: 0x00000001: BUSY
[11410.712583] xdma:engine_service_wb_monitor: 0-H2C2-MM, desc_wb:0x0 expected_wb:0x20.
[11410.712584] xdma:engine_reg_dump: 0-H2C1-MM: ioread32(0x000000004b894feb) = 0x1fc00106 (id).
[11410.712585] xdma:engine_reg_dump: 0-H2C1-MM: ioread32(0x0000000070e3eaf3) = 0x00000001 (status).
[11410.712587] xdma:engine_service_final_transfer: 0-H2C2-MM, xfer 0x0000000021a2a93e, stopped half-way, 16/32.
[11410.712587] xdma:engine_reg_dump: 0-H2C1-MM: ioread32(0x00000000843f86b6) = 0x04f83e19 (control)
[11410.712588] xdma:engine_service_resume: no queued transfers but 0-H2C2-MM engine running!
[11410.712588] xdma:engine_reg_dump: 0-H2C1-MM: ioread32(0x00000000b8d52b7d) = 0x34421000 (first_desc_lo)
[11410.712589] xdma:xdma_xfer_submit: xfer 0x0000000021a2a93e,131072, failed, ep 0x8179fdc0.
[11410.712590] xdma:engine_reg_dump: 0-H2C1-MM: ioread32(0x000000006c45b7b5) = 0x00000000 (first_desc_hi)
[11410.712591] xdma:transfer_dump: xfer 0x0000000021a2a93e, state 0x3, f 0x1, dir 1, len 131072, last 0.
[11410.712591] xdma:engine_reg_dump: 0-H2C1-MM: ioread32(0x000000004bf719fe) = 0x0000000f (first_desc_adjacent).
[11410.712592] xdma:transfer_dump: transfer 0x0000000021a2a93e, desc 32, bus 0x34423000, adj 32.
[11410.712593] xdma:engine_reg_dump: 0-H2C1-MM: ioread32(0x00000000b80d63fd) = 0x0000001c (completed_desc_count).
[11410.712594] xdma:engine_reg_dump: 0-H2C1-MM: ioread32(0x00000000e22063ca) = 0x00f83e18 (interrupt_enable_mask)
[11410.712595] xdma:engine_status_dump: SG engine 0-H2C1-MM status: 0x00000001: BUSY
[11410.712596] xdma:engine_reg_dump: 0-H2C3-MM: ioread32(0x00000000825e1b18) = 0x1fc00306 (id).
[11410.712597] xdma:engine_service_wb_monitor: 0-H2C1-MM, desc_wb:0x0 expected_wb:0x20.
[11410.712598] xdma:engine_reg_dump: 0-H2C3-MM: ioread32(0x00000000e49b7cc8) = 0x00000010 (status).
[11410.712599] xdma:engine_service_final_transfer: 0-H2C1-MM, xfer 0x000000007a2cbf3b, stopped half-way, 28/32.
[11410.712600] xdma:engine_service_resume: no queued transfers but 0-H2C1-MM engine running!
[11410.712601] xdma:xdma_xfer_submit: xfer 0x000000007a2cbf3b,131072, failed, ep 0x80fcfdc0.
[11410.712601] xdma:engine_reg_dump: 0-H2C3-MM: ioread32(0x0000000084c5c37f) = 0x04f83e18 (control)
[11410.712602] xdma:transfer_dump: xfer 0x000000007a2cbf3b, state 0x3, f 0x1, dir 1, len 131072, last 0.
[11410.712603] xdma:engine_reg_dump: 0-H2C3-MM: ioread32(0x00000000ba5253b6) = 0x34425000 (first_desc_lo)
[11410.712604] xdma:transfer_dump: transfer 0x000000007a2cbf3b, desc 32, bus 0x34421000, adj 32.
[11410.712604] xdma:engine_reg_dump: 0-H2C3-MM: ioread32(0x000000003ad79ba8) = 0x00000000 (first_desc_hi)
[11410.712605] xdma:engine_reg_dump: 0-H2C3-MM: ioread32(0x000000003d8a6a58) = 0x0000000f (first_desc_adjacent).
[11410.712607] xdma:engine_reg_dump: 0-H2C3-MM: ioread32(0x00000000a61df6e9) = 0x00000000 (completed_desc_count).
[11410.712608] xdma:engine_reg_dump: 0-H2C3-MM: ioread32(0x0000000048122812) = 0x00f83e18 (interrupt_enable_mask)
[11410.712608] xdma:engine_status_dump: SG engine 0-H2C3-MM status: 0x00000001: BUSY
[11410.712609] xdma:engine_service_wb_monitor: 0-H2C3-MM, desc_wb:0x0 expected_wb:0x20.
[11410.712610] xdma:engine_reg_dump: 0-H2C0-MM: ioread32(0x000000005675f5f3) = 0x1fc00006 (id).
[11410.712611] xdma:engine_reg_dump: 0-H2C0-MM: ioread32(0x00000000bee98a34) = 0x00000001 (status).
[11410.712612] xdma:engine_service_final_transfer: engine 0-H2C3-MM, status error 0x10.
[11410.712613] xdma:engine_reg_dump: 0-H2C0-MM: ioread32(0x00000000b57cc978) = 0x04f83e19 (control)
[11410.712614] xdma:engine_status_dump: SG engine 0-H2C3-MM status: 0x00000010: MAGIC_STOPPED
[11410.712614] xdma:engine_reg_dump: 0-H2C0-MM: ioread32(0x000000006b604751) = 0x3441f000 (first_desc_lo)
[11410.712616] xdma:engine_err_handle: 0-H2C3-MM, s 0x10, aborted xfer 0x00000000feb5dd69, cmpl 0/32
[11410.712616] xdma:engine_reg_dump: 0-H2C0-MM: ioread32(0x000000002916a87d) = 0x00000000 (first_desc_hi)
[11410.712617] xdma:xdma_xfer_submit: xfer 0x00000000feb5dd69,131072, failed, ep 0x81f6fdc0.
[11410.712618] xdma:engine_reg_dump: 0-H2C0-MM: ioread32(0x00000000d237587d) = 0x0000000f (first_desc_adjacent).
[11410.712619] xdma:transfer_dump: xfer 0x00000000feb5dd69, state 0x3, f 0x1, dir 1, len 131072, last 0.
[11410.712619] xdma:engine_reg_dump: 0-H2C0-MM: ioread32(0x0000000055abdfbb) = 0x0000001a (completed_desc_count).
[11410.712620] xdma:transfer_dump: transfer 0x00000000feb5dd69, desc 32, bus 0x34425000, adj 32.
[11410.712621] xdma:engine_reg_dump: 0-H2C0-MM: ioread32(0x0000000090666017) = 0x00f83e18 (interrupt_enable_mask)
[11410.712622] xdma:dump_desc: 0xffff8f12b4423000/0x00: 0xad4b0f00 0xad4b0f00 magic|extra_adjacent|control
[11410.712622] xdma:engine_status_dump: SG engine 0-H2C0-MM status: 0x00000001: BUSY
[11410.712623] xdma:engine_service_wb_monitor: 0-H2C0-MM, desc_wb:0x0 expected_wb:0x20.
[11410.712624] xdma:dump_desc: 0xffff8f12b4423004/0x04: 0x00001000 0x00001000 bytes
[11410.712625] xdma:dump_desc: 0xffff8f12b4423008/0x08: 0x0c951000 0x0c951000 src_addr_lo
[11410.712626] xdma:dump_desc: 0xffff8f12b442300c/0x0c: 0x00000001 0x00000001 src_addr_hi
[11410.712627] xdma:engine_service_final_transfer: 0-H2C0-MM, xfer 0x00000000f7949285, stopped half-way, 26/32.
[11410.712627] xdma:engine_service_resume: no queued transfers but 0-H2C0-MM engine running!
[11410.712628] xdma:dump_desc: 0xffff8f12b4423010/0x00: 0x8179fdc0 0x8179fdc0 dst_addr_lo
[11410.712629] xdma:xdma_xfer_submit: xfer 0x00000000f7949285,131072, failed, ep 0x807ffdc0.
[11410.712630] xdma:dump_desc: 0xffff8f12b4423014/0x04: 0x00000000 0x00000000 dst_addr_hi
[11410.712630] xdma:dump_desc: 0xffff8f12b4423018/0x08: 0x34423020 0x34423020 next_addr
[11410.712631] xdma:dump_desc: 0xffff8f12b442301c/0x0c: 0x00000000 0x00000000 next_addr_pad
[11410.712632] xdma:transfer_dump: xfer 0x00000000f7949285, state 0x3, f 0x1, dir 1, len 131072, last 0.
[11410.712633] xdma:transfer_dump: transfer 0x00000000f7949285, desc 32, bus 0x3441f000, adj 32.
[11410.712634] xdma:dump_desc:
[11410.712635] xdma:dump_desc: 0xffff8f12b4421000/0x00: 0xad4b0f00 0xad4b0f00 magic|extra_adjacent|control
[11410.712636] xdma:dump_desc: 0xffff8f12b4421004/0x04: 0x00001000 0x00001000 bytes
[11410.712637] xdma:dump_desc: 0xffff8f12b4421008/0x08: 0x0b5d4000 0x0b5d4000 src_addr_lo
[11410.712638] xdma:dump_desc: 0xffff8f12b442100c/0x0c: 0x00000001 0x00000001 src_addr_hi
[11410.712638] xdma:dump_desc: 0xffff8f12b4421010/0x00: 0x80fcfdc0 0x80fcfdc0 dst_addr_lo
[11410.712639] xdma:dump_desc: 0xffff8f12b4421014/0x04: 0x00000000 0x00000000 dst_addr_hi
[11410.712640] xdma:dump_desc: 0xffff8f12b4421018/0x08: 0x34421020 0x34421020 next_addr
[11410.712640] xdma:dump_desc: 0xffff8f12b442101c/0x0c: 0x00000000 0x00000000 next_addr_pad
[11410.712641] xdma:dump_desc:
[11410.712642] xdma:dump_desc: 0xffff8f12b4425000/0x00: 0xad4b0f00 0xad4b0f00 magic|extra_adjacent|control
[11410.712643] xdma:dump_desc: 0xffff8f12b4425004/0x04: 0x00001000 0x00001000 bytes
[11410.712644] xdma:dump_desc: 0xffff8f12b4425008/0x08: 0x0a1fc000 0x0a1fc000 src_addr_lo
[11410.712645] xdma:dump_desc: 0xffff8f12b442500c/0x0c: 0x00000001 0x00000001 src_addr_hi
[11410.712645] xdma:dump_desc: 0xffff8f12b4425010/0x00: 0x81f6fdc0 0x81f6fdc0 dst_addr_lo
[11410.712646] xdma:dump_desc: 0xffff8f12b4425014/0x04: 0x00000000 0x00000000 dst_addr_hi
[11410.712647] xdma:dump_desc: 0xffff8f12b4425018/0x08: 0x34425020 0x34425020 next_addr
[11410.712647] xdma:dump_desc: 0xffff8f12b442501c/0x0c: 0x00000000 0x00000000 next_addr_pad
[11410.712648] xdma:dump_desc:
[11410.712649] xdma:dump_desc: 0xffff8f12b441f000/0x00: 0xad4b0f00 0xad4b0f00 magic|extra_adjacent|control
[11410.712650] xdma:dump_desc: 0xffff8f12b441f004/0x04: 0x00001000 0x00001000 bytes
[11410.712651] xdma:dump_desc: 0xffff8f12b441f008/0x08: 0x0ca87000 0x0ca87000 src_addr_lo
[11410.712652] xdma:dump_desc: 0xffff8f12b441f00c/0x0c: 0x00000001 0x00000001 src_addr_hi
[11410.712652] xdma:dump_desc: 0xffff8f12b441f010/0x00: 0x807ffdc0 0x807ffdc0 dst_addr_lo
[11410.712653] xdma:dump_desc: 0xffff8f12b441f014/0x04: 0x00000000 0x00000000 dst_addr_hi
[11410.712654] xdma:dump_desc: 0xffff8f12b441f018/0x08: 0x3441f020 0x3441f020 next_addr
[11410.712654] xdma:dump_desc: 0xffff8f12b441f01c/0x0c: 0x00000000 0x00000000 next_addr_pad
[11410.712655] xdma:dump_desc:
[11410.712656] xdma:dump_desc: 0xffff8f12b4423020/0x00: 0xad4b0f00 0xad4b0f00 magic|extra_adjacent|control
[11410.712656] xdma:dump_desc: 0xffff8f12b4423024/0x04: 0x00001000 0x00001000 bytes
[11410.712657] xdma:dump_desc: 0xffff8f12b4423028/0x08: 0x0896c000 0x0896c000 src_addr_lo
[11410.712658] xdma:dump_desc: 0xffff8f12b442302c/0x0c: 0x00000001 0x00000001 src_addr_hi
[11410.712659] xdma:dump_desc: 0xffff8f12b4423030/0x00: 0x817a0dc0 0x817a0dc0 dst_addr_lo
[11410.712659] xdma:dump_desc: 0xffff8f12b4423034/0x04: 0x00000000 0x00000000 dst_addr_hi
[11410.712660] xdma:dump_desc: 0xffff8f12b4423038/0x08: 0x34423040 0x34423040 next_addr
[11410.712661] xdma:dump_desc: 0xffff8f12b442303c/0x0c: 0x00000000 0x00000000 next_addr_pad
[11410.712661] xdma:dump_desc:
[11410.712662] xdma:dump_desc: 0xffff8f12b4421020/0x00: 0xad4b0f00 0xad4b0f00 magic|extra_adjacent|control
[11410.712663] xdma:dump_desc: 0xffff8f12b4421024/0x04: 0x00001000 0x00001000 bytes
[11410.712664] xdma:dump_desc: 0xffff8f12b4421028/0x08: 0x0d060000 0x0d060000 src_addr_lo
[11410.712664] xdma:dump_desc: 0xffff8f12b442102c/0x0c: 0x00000001 0x00000001 src_addr_hi
[11410.712665] xdma:dump_desc: 0xffff8f12b4421030/0x00: 0x80fd0dc0 0x80fd0dc0 dst_addr_lo
[11410.712666] xdma:dump_desc: 0xffff8f12b4421034/0x04: 0x00000000 0x00000000 dst_addr_hi
[11410.712666] xdma:dump_desc: 0xffff8f12b4421038/0x08: 0x34421040 0x34421040 next_addr
[11410.712667] xdma:dump_desc: 0xffff8f12b442103c/0x0c: 0x00000000 0x00000000 next_addr_pad
[11410.712667] xdma:dump_desc:
[11410.712668] xdma:dump_desc: 0xffff8f12b4425020/0x00: 0xad4b0f00 0xad4b0f00 magic|extra_adjacent|control
[11410.712669] xdma:dump_desc: 0xffff8f12b4425024/0x04: 0x00001000 0x00001000 bytes
[11410.712670] xdma:dump_desc: 0xffff8f12b4425028/0x08: 0x09f08000 0x09f08000 src_addr_lo
[11410.712671] xdma:dump_desc: 0xffff8f12b442502c/0x0c: 0x00000001 0x00000001 src_addr_hi
[11410.712671] xdma:dump_desc: 0xffff8f12b4425030/0x00: 0x81f70dc0 0x81f70dc0 dst_addr_lo
[11410.712672] xdma:dump_desc: 0xffff8f12b4425034/0x04: 0x00000000 0x00000000 dst_addr_hi
[11410.712673] xdma:dump_desc: 0xffff8f12b4425038/0x08: 0x34425040 0x34425040 next_addr
[11410.712673] xdma:dump_desc: 0xffff8f12b442503c/0x0c: 0x00000000 0x00000000 next_addr_pad
[11410.712674] xdma:dump_desc:
[11410.712674] xdma:dump_desc: 0xffff8f12b441f020/0x00: 0xad4b0f00 0xad4b0f00 magic|extra_adjacent|control
[11410.712675] xdma:dump_desc: 0xffff8f12b441f024/0x04: 0x00001000 0x00001000 bytes
[11410.712676] xdma:dump_desc: 0xffff8f12b441f028/0x08: 0x09da8000 0x09da8000 src_addr_lo
[11410.712677] xdma:dump_desc: 0xffff8f12b441f02c/0x0c: 0x00000001 0x00000001 src_addr_hi
[11410.712678] xdma:dump_desc: 0xffff8f12b441f030/0x00: 0x80800dc0 0x80800dc0 dst_addr_lo
[11410.712678] xdma:dump_desc: 0xffff8f12b441f034/0x04: 0x00000000 0x00000000 dst_addr_hi
[11410.712679] xdma:dump_desc: 0xffff8f12b441f038/0x08: 0x3441f040 0x3441f040 next_addr
[11410.712680] xdma:dump_desc: 0xffff8f12b441f03c/0x0c: 0x00000000 0x00000000 next_addr_pad

0 Kudos
Reply