mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
a140608dec8aa7ccebf11707635fe09ded626d57
Test on RV1126 board with UVC function. When do UVC streaming on/off @H265 3840 * 2160 stress test, it fails to streaming on UVC with the following log: [ 1589.834573] WARNING: CPU: 3 PID: 3075 at drivers/usb/dwc3/gadget.c:1611 dwc3_gadget_ep_queue+0x148/0x178 [ 1589.834593] ep3in: request 638c13d3 already in flight [ 1589.834603] Modules linked in: galcore(O) [ 1589.834622] CPU: 3 PID: 3075 Comm: kworker/3:2 Tainted: G W O 4.19.111 #2 [ 1589.834631] Hardware name: Generic DT based system [ 1589.834648] Workqueue: events uvcg_video_pump [ 1589.834673] [<b010f408>] (unwind_backtrace) from [<b010b96c>] (show_stack+0x10/0x14) [ 1589.834741] [<b010b96c>] (show_stack) from [<b0645104>] (dump_stack+0x90/0xa4) [ 1589.834766] [<b0645104>] (dump_stack) from [<b0126204>] (__warn+0xfc/0x114) [ 1589.834787] [<b0126204>] (__warn) from [<b0126260>] (warn_slowpath_fmt+0x44/0x68) [ 1589.834806] [<b0126260>] (warn_slowpath_fmt) from [<b04571d8>] (dwc3_gadget_ep_queue+0x148/0x178) [ 1589.834826] [<b04571d8>] (dwc3_gadget_ep_queue) from [<b0472074>] (uvcg_video_pump+0x94/0x164) [ 1589.834849] [<b0472074>] (uvcg_video_pump) from [<b013cce0>] (process_one_work+0x1f0/0x408) [ 1589.834869] [<b013cce0>] (process_one_work) from [<b013d9b8>] (worker_thread+0x30/0x564) [ 1589.834891] [<b013d9b8>] (worker_thread) from [<b0142910>] (kthread+0x140/0x170) [ 1589.834907] [<b0142910>] (kthread) from [<b01010d8>] (ret_from_fork+0x14/0x3c) [ 1589.834922] Exception stack(0xbbdfffb0 to 0xbbdffff8) [ 1589.834938] ffa0: 00000000 00000000 00000000 00000000 [ 1589.834953] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 1589.834966] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 1589.834979] ---[ end trace b30d445a1f050523 ]--- [ 1589.834979] ---[ end trace b30d445a1f050523 ]--- [ 1589.834992] Failed to queue request (-22). It's because that the __dwc3_gadget_start_isoc is called very late after XferNotReady, so the frame number is outdated and start transfer fail with the cmd_status "DEPEVT_TRANSFER_BUS_EXPIRY". In this case, the dwc3 driver return -EINVAL to the UVC function driver without delete and unmap the failed request, this cause the request requeue fail next time. Change-Id: I4cc919bcd4e1e0abbb6a929483e6fc2fe7dc9750 Signed-off-by: William Wu <william.wu@rock-chips.com>
…
…
Linux kernel
============
There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.
In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``. The formatted documentation can also be read online at:
https://www.kernel.org/doc/html/latest/
There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.
Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
Description
Languages
C
97.7%
Assembly
1.6%
Makefile
0.3%
Perl
0.1%