Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-1432

m3ulcb dma driver descriptor warning causes KF onboard BT to fail

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • None
    • Flounder
    • Kernel/ OS
    • None

      Interacting with the Settings app on M3ULCB+KF, disconnecting and then connecting a paired device resulted in the following repeating DMA driver WARNING and wl18xx BT comm failure:

      [ 318.525600] (stc): chip/interface misbehavior: dropping frame starting with 0x60
      [ 318.533051] (stc): chip/interface misbehavior: dropping frame starting with 0xbd
      [ 318.540491] (stc): chip/interface misbehavior: dropping frame starting with 0xdb
      [ 318.547898] (stc): chip/interface misbehavior: dropping frame starting with 0xee
      [ 318.555322] (stc): chip/interface misbehavior: dropping frame starting with 0xdb
      [ 318.563451] (stc): chip/interface misbehavior: dropping frame starting with 0xdb
      [ 318.570912] (stc): chip/interface misbehavior: dropping frame starting with 0xdd
      [ 318.578371] (stc): chip/interface misbehavior: dropping frame starting with 0x77
      [ 318.585830] (stc): chip/interface misbehavior: dropping frame starting with 0xdb
      [ 318.593251] (stc): chip/interface misbehavior: dropping frame starting with 0xdb
      [ 318.601404] (stc): chip/interface misbehavior: dropping frame starting with 0x00
      [ 318.609403] (stc): chip/interface misbehavior: dropping frame starting with 0x35
      [ 318.621159] (stc): chip/interface misbehavior: dropping frame starting with 0xbb
      [ 318.629183] (stc): chip/interface misbehavior: dropping frame starting with 0x6e
      [ 318.637324] (stc): chip/interface misbehavior: dropping frame starting with 0x6d
      [ 318.644748] No descriptor for cookie!
      [ 318.644774] ------------[ cut here ]------------
      [ 318.653054] WARNING: CPU: 0 PID: 42 at /kernel-source//drivers/dma/sh/rcar-dmac.c:1271 rcar_dmac_tx_status+0x12c/0x288
      [ 318.663742] Modules linked in: rfcomm bnep arc4 wl18xx wlcore mac80211 cfg80211 crc32_ce crct10dif_ce wlcore_sdio pvrsrvkm(O) rcar_can can_dev btwilink bluetooth ecdh_generic rfkill st_drv vspm_if(O) vsp2(O) vspm(O) uvcs_drv(O) mmngrbuf(O) mmngr(O)
      [ 318.685767] CPU: 0 PID: 42 Comm: kworker/u12:2 Tainted: G B O 4.14.0-yocto-standard #1
      [ 318.694631] Hardware name: Renesas M3ULCB Kingfisher board based on r8a7796 (DT)
      [ 318.702026] Workqueue: events_unbound flush_to_ldisc
      [ 318.706984] task: ffff8005fd084600 task.stack: ffff0000097e0000
      [ 318.712899] PC is at rcar_dmac_tx_status+0x12c/0x288
      [ 318.717857] LR is at rcar_dmac_tx_status+0x12c/0x288
      [ 318.722815] pc : [<ffff0000085151e4>] lr : [<ffff0000085151e4>] pstate: 600001c5
      [ 318.730202] sp : ffff000008003d60
      [ 318.733510] x29: ffff000008003d60 x28: 00000000000000a0
      [ 318.738818] x27: ffff0000091a6180 x26: ffff8005fd084600
      [ 318.744125] x25: 0000000000000005 x24: 0000000000000101
      [ 318.749432] x23: 00000000000001c0 x22: ffff8005fcc501ec
      [ 318.754738] x21: ffff000008003dd0 x20: 0000000000000dda
      [ 318.760044] x19: ffff8005fcc50140 x18: 0000000000000010
      [ 318.765350] x17: 0000ffff91a58718 x16: 0000000000000000
      [ 318.770656] x15: 0000000000000000 x14: 000000497681a08e
      [ 318.775962] x13: 0000000000000400 x12: 0000000000000400
      [ 318.781268] x11: ffff000008003d60 x10: ffff000008003d60
      [ 318.786574] x9 : ffff000008003d60 x8 : 65696b6f6f632072
      [ 318.791880] x7 : 6f6620726f747069 x6 : 0000000000000256
      [ 318.797186] x5 : 0000000000000000 x4 : 0000000000000000
      [ 318.802492] x3 : ffffffffffffffff x2 : 00008005f6d64000
      [ 318.807799] x1 : ffff8005fd084600 x0 : 0000000000000019
      [ 318.813105] Call trace:
      [ 318.815546] Exception stack(0xffff000008003c20 to 0xffff000008003d60)
      [ 318.821979] 3c20: 0000000000000019 ffff8005fd084600 00008005f6d64000 ffffffffffffffff
      [ 318.829802] 3c40: 0000000000000000 0000000000000000 0000000000000256 6f6620726f747069
      [ 318.837623] 3c60: 65696b6f6f632072 ffff000008003d60 ffff000008003d60 ffff000008003d60
      [ 318.845445] 3c80: 0000000000000400 0000000000000400 000000497681a08e 0000000000000000
      [ 318.853267] 3ca0: 0000000000000000 0000ffff91a58718 0000000000000010 ffff8005fcc50140
      [ 318.861089] 3cc0: 0000000000000dda ffff000008003dd0 ffff8005fcc501ec 00000000000001c0
      [ 318.868911] 3ce0: 0000000000000101 0000000000000005 ffff8005fd084600 ffff0000091a6180
      [ 318.876733] 3d00: 00000000000000a0 ffff000008003d60 ffff0000085151e4 ffff000008003d60
      [ 318.884555] 3d20: ffff0000085151e4 00000000600001c5 ffff8005fcc501a0 0000000000000ddb
      [ 318.892377] 3d40: 0001000000000000 0000000000000000 ffff000008003d60 ffff0000085151e4
      [ 318.900201] [<ffff0000085151e4>] rcar_dmac_tx_status+0x12c/0x288
      [ 318.906206] [<ffff00000858b75c>] rx_timer_fn+0x7c/0x1c0
      [ 318.911429] [<ffff000008130dfc>] call_timer_fn.isra.5+0x24/0x80
      [ 318.917342] [<ffff000008130efc>] expire_timers+0xa4/0xb0
      [ 318.922647] [<ffff000008131048>] run_timer_softirq+0x140/0x170
      [ 318.928475] [<ffff00000808196c>] __do_softirq+0x12c/0x228
      [ 318.933871] [<ffff0000080cdc98>] irq_exit+0xd0/0x108
      [ 318.938832] [<ffff00000811a668>] __handle_domain_irq+0x60/0xb8
      [ 318.944658] [<ffff000008081670>] gic_handle_irq+0x58/0xa8
      [ 318.950049] Exception stack(0xffff0000097e3b90 to 0xffff0000097e3cd0)
      [ 318.956482] 3b80: ffff8005faac8ef8 0000000000000140
      [ 318.964304] 3ba0: 0000000000000cdc 0000000000000000 0000000000000000 0000000000000000
      [ 318.972125] 3bc0: 0000000000000256 6d61726620676e69 6974726174732065 0000000000000007
      [ 318.979947] 3be0: ffff0000097e39f0 ffff00000858ae98 ffff0000091a9df0 ffff0000092e0395
      [ 318.987769] 3c00: ffff0000892e0387 ffffffffffffffff ffff00000820f828 0000ffff91a58718
      [ 318.995590] 3c20: 0000000000000010 ffff8005faac8e00 0000000000000200 ffff8005f0f98c20
      [ 319.003412] 3c40: 0000000000000140 ffff8005faac8ef8 ffff8005fc7381a8 ffff0000080e0830
      [ 319.011234] 3c60: ffff000008f07510 0000000000000000 0000000000000000 ffff0000097e3cd0
      [ 319.019056] 3c80: ffff000000bcaba8 ffff0000097e3cd0 ffff000008b4bf58 0000000000000145
      [ 319.026877] 3ca0: ffff8005faac8e00 000000000000006d ffffffffffffffff 0000000000000140
      [ 319.034699] 3cc0: ffff0000097e3cd0 ffff000008b4bf58
      [ 319.039569] [<ffff0000080830f0>] el1_irq+0xb0/0x124
      [ 319.044444] [<ffff000008b4bf58>] _raw_spin_unlock_irqrestore+0x18/0x48
      [ 319.050975] [<ffff000000bcaba8>] st_int_recv+0x118/0x410 [st_drv]
      [ 319.057066] [<ffff000000bca01c>] st_tty_receive+0x1c/0x30 [st_drv]
      [ 319.063239] [<ffff00000855ce40>] tty_ldisc_receive_buf+0x50/0x58
      [ 319.069239] [<ffff00000855d98c>] tty_port_default_receive_buf+0x44/0x88
      [ 319.075845] [<ffff00000855cff4>] flush_to_ldisc+0x9c/0xc0
      [ 319.081238] [<ffff0000080e06bc>] process_one_work+0x1d4/0x348
      [ 319.086977] [<ffff0000080e0878>] worker_thread+0x48/0x470
      [ 319.092369] [<ffff0000080e6b64>] kthread+0x12c/0x130
      [ 319.097327] [<ffff000008084c10>] ret_from_fork+0x10/0x18
      [ 319.102632] ---[ end trace b1c213ed132d618c ]---
      

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            harunobu.kurokawa Harunobu Kurokawa
            ohporter Matt Porter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: