Re: dwc3 Disable Compliance Mode

2019-07-14 Thread Felipe Balbi
Hi, Rob Weber writes: >> I think our best bet is understanding why we're transitioning to >> compliance and preventing that. >> >> One question comes to mind: Does this happen *only* with the ethernet >> gadget? Does it happen with *all* hosts or just a particular host? > > This issue does not

Re: [PATCH] usb: musb: Disable pullup in gadget setup

2019-07-14 Thread Paul Cercueil
Hi Bin, Le mar. 30 avril 2019 à 11:05, Bin Liu a écrit : Hi Paul, On Thu, Apr 04, 2019 at 11:10:46AM -0500, Bin Liu wrote: On Thu, Apr 04, 2019 at 11:37:43AM +0200, Paul Cercueil wrote: > The pullup may be already enabled before the driver is initialized. > It has to be disabled at init

[PATCH v3 23/24] usb: host: Remove call to memset after dma_alloc_coherent

2019-07-14 Thread Fuqian Huang
In commit 518a2f1925c3 ("dma-mapping: zero memory returned from dma_alloc_*"), dma_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- Changes in v3: - Use actual commit rather than the merge commit in the commit message drivers/usb/host/xhci

Re: KASAN: use-after-free Read in __video_do_ioctl

2019-07-14 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:6a3599ce 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=169777b860 kernel config: https://syzkaller.ap

Re: [PATCH v2 0/5] usb: gadget: u_serial: Fix and cleanup

2019-07-14 Thread Ladislav Michl
On Sun, Jul 14, 2019 at 01:37:17PM +0200, Michał Mirosław wrote: > On Sun, Jul 14, 2019 at 12:04:26PM +0200, Michał Mirosław wrote: > > On Sat, Jul 13, 2019 at 11:08:53PM +0200, Ladislav Michl wrote: > > > Following patchset makes console work (patch 1 and 4) for an AT91SAM9G20 > > > board connecte

Re: [PATCH v2 0/5] usb: gadget: u_serial: Fix and cleanup

2019-07-14 Thread Michał Mirosław
On Sun, Jul 14, 2019 at 12:04:26PM +0200, Michał Mirosław wrote: > On Sat, Jul 13, 2019 at 11:08:53PM +0200, Ladislav Michl wrote: > > Following patchset makes console work (patch 1 and 4) for an AT91SAM9G20 > > board connected to xhci_hcd and does some cleanup. > > Tested with "console=ttyS0,11520

Re: [PATCH v2 0/5] usb: gadget: u_serial: Fix and cleanup

2019-07-14 Thread Michał Mirosław
On Sat, Jul 13, 2019 at 11:08:53PM +0200, Ladislav Michl wrote: > Following patchset makes console work (patch 1 and 4) for an AT91SAM9G20 > board connected to xhci_hcd and does some cleanup. > Tested with "console=ttyS0,115200n8 console=ttyGS0" on kernel command line > and following inittab: > con