[PATCH V2] usb: dwc3: gadget: trb_dequeue is not updated properly

2019-07-17 Thread fei . yang
From: Fei Yang If scatter-gather operation is allowed, a large USB request would be split into multiple TRBs. These TRBs are chained up by setting DWC3_TRB_CTRL_CHN bit except the last one which has DWC3_TRB_CTRL_IOC bit set instead. Since only the last TRB has IOC set, dwc3_gadget_ep_reclaim_com

Re: [PATCH v4 13/15] docs: ABI: testing: make the files compatible with ReST output

2019-07-17 Thread Jonathan Cameron
On Wed, 17 Jul 2019 09:28:17 -0300 Mauro Carvalho Chehab wrote: > Some files over there won't parse well by Sphinx. > > Fix them. > > Signed-off-by: Mauro Carvalho Chehab Hi Mauro, Does feel like this one should perhaps have been broken up a touch! For the IIO ones I've eyeballed it rather t

If interested

2019-07-17 Thread Tk Allen
My name is Mr. Allen, I have a Business Proposal of Four million five hundred thousand united states dollars for you to handle with me from my bank. I will need you to assist me in executing this Business .

Re: [PATCH 2/2] usb: typec: tcpm: remove tcpm dir if no children

2019-07-17 Thread Guenter Roeck
On 7/17/19 1:06 AM, jun...@nxp.com wrote: From: Li Jun If config tcpm as module, module unload will not remove tcpm dir, then the next module load will have problem: the rootdir is NULL but tcpm dir is still there, so tcpm_debugfs_init() will create tcpm dir again with failure, fix it by remove

Re: [PATCH 1/2] usb: typec: tcpm: free log buf memory when remove debug file

2019-07-17 Thread Guenter Roeck
On 7/17/19 1:06 AM, jun...@nxp.com wrote: From: Li Jun The logbuffer memory should be freed when remove debug file. Cc: sta...@vger.kernel.org # v4.15+ Fixes: 4b4e02c83167 ("typec: tcpm: Move out of staging") Signed-off-by: Li Jun Reviewed-by: Guenter Roeck --- drivers/usb/typec/tcpm/t

Re: KASAN: global-out-of-bounds Read in dvb_pll_attach

2019-07-17 Thread syzbot
Hello, syzbot has tested the proposed patch and the reproducer did not trigger crash: Reported-and-tested-by: syzbot+8a8f48672560c8ca5...@syzkaller.appspotmail.com Tested on: commit: 6a3599ce usb-fuzzer: main usb gadget fuzzer driver git tree: https://github.com/google/kasa

Re: [PATCH v2] USB: serial: option: Add support for ZTE MF871A

2019-07-17 Thread Lars Melin
On 7/17/2019 12:40, Yoshiaki Okamoto wrote: This patch adds support for MF871A USB modem (aka Speed USB STICK U03) to option driver. This modem is manufactured by ZTE corporation, and sold by KDDI. Interface layout: 0: AT 1: MODEM usb-devices output: T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev

Re: WARNING in gpio_to_desc

2019-07-17 Thread syzbot
Hello, syzbot has tested the proposed patch and the reproducer did not trigger crash: Reported-and-tested-by: syzbot+cf35b76f35e068a11...@syzkaller.appspotmail.com Tested on: commit: 6a3599ce usb-fuzzer: main usb gadget fuzzer driver git tree: https://github.com/google/kasa

Re: KASAN: global-out-of-bounds Read in dvb_pll_attach

2019-07-17 Thread Andrey Konovalov
On Wed, Jul 10, 2019 at 7:18 PM syzbot wrote: > > Hello, > > syzbot found the following crash on: > > HEAD commit:7829a896 usb-fuzzer: main usb gadget fuzzer driver > git tree: https://github.com/google/kasan.git usb-fuzzer > console output: https://syzkaller.appspot.com/x/log.txt?x=150f

Re: WARNING in gpio_to_desc

2019-07-17 Thread Andrey Konovalov
On Wed, Jul 17, 2019 at 11:16 AM Johan Hovold wrote: > > On Tue, Jul 16, 2019 at 11:52:19PM +0200, Linus Walleij wrote: > > On Wed, Jul 10, 2019 at 1:07 PM syzbot > > wrote: > > > > > HEAD commit:7829a896 usb-fuzzer: main usb gadget fuzzer driver > > (...) > > > __gpio_set_value include/asm

Re: [PATCH v6] USB: serial: option: add D-Link DWM-222 device ID

2019-07-17 Thread Rogan Dawes
Thank you for all the hand holding ... On Wed, Jul 17, 2019 at 11:20 AM Johan Hovold wrote: > > On Wed, Jul 17, 2019 at 11:11:34AM +0200, Rogan Dawes wrote: > > Add device id for D-Link DWM-222 A2. > > > > MI_00 D-Link HS-USB Diagnostics > > MI_01 D-Link HS-USB Modem > > MI_02 D-Link HS-USB AT Po

Re: WARNING in gpio_to_desc

2019-07-17 Thread Dmitry Vyukov
On Wed, Jul 17, 2019 at 11:16 AM Johan Hovold wrote: > > On Tue, Jul 16, 2019 at 11:52:19PM +0200, Linus Walleij wrote: > > On Wed, Jul 10, 2019 at 1:07 PM syzbot > > wrote: > > > > > HEAD commit:7829a896 usb-fuzzer: main usb gadget fuzzer driver > > (...) > > > __gpio_set_value include/asm

Re: [PATCH v6] USB: serial: option: add D-Link DWM-222 device ID

2019-07-17 Thread Johan Hovold
On Wed, Jul 17, 2019 at 11:11:34AM +0200, Rogan Dawes wrote: > Add device id for D-Link DWM-222 A2. > > MI_00 D-Link HS-USB Diagnostics > MI_01 D-Link HS-USB Modem > MI_02 D-Link HS-USB AT Port > MI_03 D-Link HS-USB NMEA > MI_04 D-Link HS-USB WWAN Adapter (qmi_wwan) > MI_05 USB Mass Storage Device

Re: WARNING in gpio_to_desc

2019-07-17 Thread Johan Hovold
On Tue, Jul 16, 2019 at 11:52:19PM +0200, Linus Walleij wrote: > On Wed, Jul 10, 2019 at 1:07 PM syzbot > wrote: > > > HEAD commit:7829a896 usb-fuzzer: main usb gadget fuzzer driver > (...) > > __gpio_set_value include/asm-generic/gpio.h:104 [inline] > > gpio_set_value include/linux/gpio.

[PATCH v6] USB: serial: option: add D-Link DWM-222 device ID

2019-07-17 Thread Rogan Dawes
Add device id for D-Link DWM-222 A2. MI_00 D-Link HS-USB Diagnostics MI_01 D-Link HS-USB Modem MI_02 D-Link HS-USB AT Port MI_03 D-Link HS-USB NMEA MI_04 D-Link HS-USB WWAN Adapter (qmi_wwan) MI_05 USB Mass Storage Device Cc: sta...@vger.kernel.org Signed-Off-By: Rogan Dawes --- drivers/usb/ser

[PATCH] usb: qmi_wwan: add D-Link DWM-222 A2 device ID

2019-07-17 Thread Rogan Dawes
Signed-off-by: Rogan Dawes --- drivers/net/usb/qmi_wwan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/usb/qmi_wwan.c b/drivers/net/usb/qmi_wwan.c index 8b4ad10cf940..69e0a2acfcb0 100644 --- a/drivers/net/usb/qmi_wwan.c +++ b/drivers/net/usb/qmi_wwan.c @@ -1292,6 +1292,7 @@ sta

[PATCH 2/2] usb: typec: tcpm: remove tcpm dir if no children

2019-07-17 Thread jun . li
From: Li Jun If config tcpm as module, module unload will not remove tcpm dir, then the next module load will have problem: the rootdir is NULL but tcpm dir is still there, so tcpm_debugfs_init() will create tcpm dir again with failure, fix it by remove the tcpm dir if no children. Cc: sta...@vg

[PATCH 1/2] usb: typec: tcpm: free log buf memory when remove debug file

2019-07-17 Thread jun . li
From: Li Jun The logbuffer memory should be freed when remove debug file. Cc: sta...@vger.kernel.org # v4.15+ Fixes: 4b4e02c83167 ("typec: tcpm: Move out of staging") Signed-off-by: Li Jun --- drivers/usb/typec/tcpm/tcpm.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/us