On Thu, Dec 8, 2016 at 11:09 PM, Chen Yu wrote:
> On 2016/12/9 7:29, John Youn wrote:
>> On 12/8/2016 2:43 PM, John Stultz wrote:
>>> On Tue, Dec 6, 2016 at 7:52 PM, John Youn wrote:
On 12/6/2016 5:48 PM, John Stultz wrote:
> This patch works
On Fri, Dec 09, 2016 at 12:38:23AM +0100, Andrey Konovalov wrote:
> Hi,
>
> I'm working on a way to extend syzkaller [1] to support fuzzing of the
> USB subsystem. The idea is to be able to emulate various USB devices
> and fuzz communication between the emulated device and the kernel. I'm
>
On Thu, Dec 08, 2016 at 10:30:35PM +, manju goudar wrote:
>
>
> On Thu, Dec 8, 2016 at 4:49 PM, Greg Kroah-Hartman
>
> wrote:
>
> On Wed, Dec 07, 2016 at 11:37:45PM +, csmanjuvi...@gmail.com wrote:
> > From: Manjunath Goudar
On 2016/12/9 7:29, John Youn wrote:
> On 12/8/2016 2:43 PM, John Stultz wrote:
>> On Tue, Dec 6, 2016 at 7:52 PM, John Youn wrote:
>>> On 12/6/2016 5:48 PM, John Stultz wrote:
Hey John,
Just wanted to send this by you, as it seems something is
slightly
The following 2 patches makes break control available for
Fintek F81232/F81534.
Ji-Ze Hong (Peter Hong) (2):
usb:serial: Implement Fintek F81232 break on/off
usb:serial: Implement Fintek f81534 break on/off
drivers/usb/serial/f81232.c | 40 ++--
Implement Fintek f81534 break on/off with LCR register
It's the same with 16550A LCR register layout
We'll add a shadow LCR variable to save the final LCR we
had set due to the "read ep0" operations maybe slow down all
the serial ports performance.
Signed-off-by: Ji-Ze Hong (Peter Hong)
Implement Fintek F81232 break on/off with LCR register,
it's the same with 16550A LCR register layout.
Signed-off-by: Ji-Ze Hong (Peter Hong)
---
drivers/usb/serial/f81232.c | 40 ++--
1 file changed, 34 insertions(+), 6
On Thu, Dec 8, 2016 at 10:02 AM, Johan Hovold wrote:
> On Thu, Dec 08, 2016 at 04:41:44AM -0800, Russell Senior wrote:
>> > "Johan" == Johan Hovold writes:
>>
>> [...]
>>
>> Johan> Ok, and you were using a terminal program such as minicom that
>> Johan>
Mark Lord
I find an issue about autosuspend, and it may result in the same
problem with you. I don't sure if this is helpful to you, because
it only occurs when enabling the autosuspend.
Best Regards,
Hayes
/*
* Copyright (c) 2014 Realtek Semiconductor Corp. All rights
Hi Michal,
On 8 December 2016 at 23:18, Michal Nazarewicz wrote:
> On Thu, Dec 08 2016, Baolin Wang wrote:
>> When system try to close /dev/usb-ffs/adb/ep0 on one core, at the same
>> time another core try to attach new UDC, which will cause deadlock as
>> below scenario. Thus
Hi,
On 9 December 2016 at 01:52, Felipe Balbi wrote:
>
> Hi,
>
> Baolin Wang writes:
>>> Baolin Wang writes:
>> On 28 November 2016 at 14:43, Baolin Wang wrote:
>>> For some mobile devices with
On 12/08/2016 05:08 PM, fx IWATA NOBUO wrote:
> Dear Shuah,
>
> Sorry for taking time.
>
> It's caused by my patch.
> It was included "vhci number of ports extension" patch set.
> The set consists of 3 patches.
>
> The fixing was included in v5.
> Only 1/3 of the set was merged but I missed to
Basically when plugging in various cables in different orders, I'm
occasionally seeing the following BUG splat:
[ 86.215403] BUG: scheduling while atomic: kworker/u16:2/53/0x0002
[ 86.219164] usb 1-1: USB disconnect, device number 9
[ 86.226845] Preemption disabled at:[ 86.230218]
[]
On Thu, Dec 8, 2016 at 4:31 PM, John Youn wrote:
> On 12/8/2016 4:25 PM, John Stultz wrote:
>> On Thu, Dec 8, 2016 at 4:17 PM, John Youn wrote:
>>> On 12/8/2016 3:12 PM, John Stultz wrote:
Hey John,
In my testing I've come across
On 12/8/2016 4:25 PM, John Stultz wrote:
> On Thu, Dec 8, 2016 at 4:17 PM, John Youn wrote:
>> On 12/8/2016 3:12 PM, John Stultz wrote:
>>> Hey John,
>>> In my testing I've come across another issue in the dwc2 driver.
>>>
>>> Basically when plugging in various cables in
On Thu, Dec 8, 2016 at 4:17 PM, John Youn wrote:
> On 12/8/2016 3:12 PM, John Stultz wrote:
>> Hey John,
>> In my testing I've come across another issue in the dwc2 driver.
>>
>> Basically when plugging in various cables in different orders, I'm
>> occasionally seeing
On 12/8/2016 3:12 PM, John Stultz wrote:
> Hey John,
> In my testing I've come across another issue in the dwc2 driver.
>
> Basically when plugging in various cables in different orders, I'm
> occasionally seeing the following BUG splat:
>
> [ 86.215403] BUG: scheduling while atomic:
Dear Shuah,
Sorry for taking time.
It's caused by my patch.
It was included "vhci number of ports extension" patch set.
The set consists of 3 patches.
The fixing was included in v5.
Only 1/3 of the set was merged but I missed to check the fixing line.
This time, I took my time to check
* Grygorii Strashko [161208 15:38]:
> On 12/08/2016 04:57 PM, Tony Lindgren wrote:
> > Seems to work based on few boot tests. Probably both should be applied,
> > my original patch to prevent spurious interrupts before things are
> > initialized,
>
> you patch - do you
Hi,
I'm working on a way to extend syzkaller [1] to support fuzzing of the
USB subsystem. The idea is to be able to emulate various USB devices
and fuzz communication between the emulated device and the kernel. I'm
looking for a way to emulate devices from userspace. Similar to how
tuntap allows
On 12/08/2016 04:57 PM, Tony Lindgren wrote:
* Grygorii Strashko [161208 13:54]:
Hi Tony,
On 12/08/2016 09:37 AM, Tony Lindgren wrote:
* Felipe Balbi [161208 01:45]:
Tony Lindgren writes:
Somehow starting with v4.9-rc7 there
On Wed, Dec 7, 2016 at 8:15 PM, Alan Stern wrote:
> On Wed, 7 Dec 2016, Andrey Konovalov wrote:
>
>> > And in any case, is there any way you can post the series of system
>> > calls that syzkaller makes so we can tell what went wrong?
>>
>> I've attached a reproducer
On 12/8/2016 2:43 PM, John Stultz wrote:
> On Tue, Dec 6, 2016 at 7:52 PM, John Youn wrote:
>> On 12/6/2016 5:48 PM, John Stultz wrote:
>>> Hey John,
>>> Just wanted to send this by you, as it seems something is
>>> slightly off with the GOTGCTL state when removing a otg
On Thu, Dec 8, 2016 at 3:12 PM, John Stultz wrote:
> Hey John,
> In my testing I've come across another issue in the dwc2 driver.
>
> Basically when plugging in various cables in different orders, I'm
> occasionally seeing the following BUG splat:
>
> [ 86.215403] BUG:
Hey John,
In my testing I've come across another issue in the dwc2 driver.
Basically when plugging in various cables in different orders, I'm
occasionally seeing the following BUG splat:
[ 86.215403] BUG: scheduling while atomic: kworker/u16:2/53/0x0002
[ 86.219164] usb 1-1: USB
* Grygorii Strashko [161208 13:54]:
> Hi Tony,
>
> On 12/08/2016 09:37 AM, Tony Lindgren wrote:
> > * Felipe Balbi [161208 01:45]:
> >> Tony Lindgren writes:
> >>> Somehow starting with v4.9-rc7 there have been imprecise
> >>
> >>
On Tue, Dec 6, 2016 at 7:52 PM, John Youn wrote:
> On 12/6/2016 5:48 PM, John Stultz wrote:
>> Hey John,
>> Just wanted to send this by you, as it seems something is
>> slightly off with the GOTGCTL state when removing a otg adapter
>> cable. The following seems to work
Hi Tony,
On 12/08/2016 09:37 AM, Tony Lindgren wrote:
> * Felipe Balbi [161208 01:45]:
>> Tony Lindgren writes:
>>> Somehow starting with v4.9-rc7 there have been imprecise
>>
>> There's nothing touching dwc3 since v4.9-rc5.
>
> Right, nothing obvious has
* Felipe Balbi [161208 12:10]:
>
> Hi,
>
> Tony Lindgren writes:
> >> nothing against it. Would be nice if TI could confirm this is needed and
> >> check if other families might also need it.
> >
> > But as we currently are not using the WRAPRESET bit, the
* Felipe Balbi [161208 12:12]:
>
> Hi,
>
> Tony Lindgren writes:
> > * Felipe Balbi [161208 11:17]:
> >> Tony Lindgren writes:
> >> > The call to pm_runtime_get_sync() in dwc3_omap_probe() will use it.
> >>
> >> right,
Hi,
Tony Lindgren writes:
> * Felipe Balbi [161208 11:17]:
>> Tony Lindgren writes:
>> > The call to pm_runtime_get_sync() in dwc3_omap_probe() will use it.
>>
>> right, but there's no runtime suspend until ->remove(). IOW, after
>>
Hi,
Tony Lindgren writes:
>> nothing against it. Would be nice if TI could confirm this is needed and
>> check if other families might also need it.
>
> But as we currently are not using the WRAPRESET bit, the reset
> function is nop except for the delay. So this just papers
* Felipe Balbi [161208 11:17]:
> Tony Lindgren writes:
> > The call to pm_runtime_get_sync() in dwc3_omap_probe() will use it.
>
> right, but there's no runtime suspend until ->remove(). IOW, after
> pm_runtime_get_sync(), all necessary clocks should already
* Felipe Balbi [161208 11:19]:
>
> Hi,
>
> Tony Lindgren writes:
> >> Is there also some dwc3 internal clock? If we assume the usb_otg_ss
> >> module is properly enabled it could be some dwc3 internal clock not
> >> enabled?
> >>
> >> We do have a
Hi,
Tony Lindgren writes:
>> Is there also some dwc3 internal clock? If we assume the usb_otg_ss
>> module is properly enabled it could be some dwc3 internal clock not
>> enabled?
>>
>> We do have a srst_udelay needed for enabling musb controller for some
>> SoCs, I'll check
Hi,
Tony Lindgren writes:
> * Felipe Balbi [161208 09:52]:
>>
>> Hi,
>>
>> Tony Lindgren writes:
>> > * Felipe Balbi [161208 01:45]:
>> >>
>> >> Hi,
>> >>
>> >> Tony Lindgren writes:
>> >> >
The adaptor can be found on development boards for 78k, RL78 and V850
microcontrollers produced by Renesas Electronics Corporation.
This is not a full-featured USB to serial converter, however it allows
basic communication and simple control which is enough for programming of
on-board flash and
* Tony Lindgren [161208 10:45]:
> * Tony Lindgren [161208 10:25]:
> > * Felipe Balbi [161208 09:52]:
> > >
> > > Hi,
> > >
> > > Tony Lindgren writes:
> > > > * Felipe Balbi [161208 01:45]:
> > > >>
>
* Laurent Pinchart [161208 04:03]:
> Hi Tony,
>
> On Wednesday 07 Dec 2016 21:51:23 Tony Lindgren wrote:
> > * Laurent Pinchart [161123 08:44]:
> > > On Wednesday 23 Nov 2016 18:40:09 Tomi Valkeinen wrote:
> > >> On 23/11/16
* Tony Lindgren [161208 10:25]:
> * Felipe Balbi [161208 09:52]:
> >
> > Hi,
> >
> > Tony Lindgren writes:
> > > * Felipe Balbi [161208 01:45]:
> > >>
> > >> Hi,
> > >>
> > >> Tony Lindgren writes:
>
* Felipe Balbi [161208 09:52]:
>
> Hi,
>
> Tony Lindgren writes:
> > * Felipe Balbi [161208 01:45]:
> >>
> >> Hi,
> >>
> >> Tony Lindgren writes:
> >> > Somehow starting with v4.9-rc7 there have been imprecise
> >>
>
From: Daniele Palmas
Date: Wed, 7 Dec 2016 14:07:47 +0100
> Telit LE922A MBIM based composition does not work properly
> with altsetting toggle done in cdc_ncm_bind_common.
>
> This patch adds CDC_MBIM_FLAG_AVOID_ALTSETTING_TOGGLE quirk
> to avoid this procedure that,
On Thu, Dec 08, 2016 at 04:41:44AM -0800, Russell Senior wrote:
> > "Johan" == Johan Hovold writes:
>
> [...]
>
> Johan> Ok, and you were using a terminal program such as minicom that
> Johan> properly configures the port for say 8-bit words?
>
> I was using GNU screen,
Hi,
Baolin Wang writes:
>> Baolin Wang writes:
> On 28 November 2016 at 14:43, Baolin Wang wrote:
>> For some mobile devices with strict power management, we also want to
>> suspend
>> the host when the
Hi,
Tony Lindgren writes:
> * Felipe Balbi [161208 01:45]:
>>
>> Hi,
>>
>> Tony Lindgren writes:
>> > Somehow starting with v4.9-rc7 there have been imprecise
>>
>> There's nothing touching dwc3 since v4.9-rc5.
>
> Right, nothing
> -Original Message-
> From: Felipe Balbi [mailto:felipe.ba...@linux.intel.com]
> Sent: Thursday, December 08, 2016 5:46 PM
> To: Jerry Huang ; st...@rowland.harvard.edu;
> linux-usb@vger.kernel.org; Mathias Nyman
> ; Arnd Bergmann
On Wed, Dec 07, 2016 at 11:37:45PM +, csmanjuvi...@gmail.com wrote:
> From: Manjunath Goudar
>
> This patch will fix the checkpatch.pl following warnings and error:
> WARNING: Block comments use * on subsequent lines
> WARNING: Block comments use a trailing */ on a
Here, f_acm,f_ecm and f_msg needs to be checked for being NULL
in nokia_bind_config() before calling usb_add_function(),
otherwise kernel can run into a NULL-pointer dereference.
f_phonet, f_obex1 and f_obex2 need to be checked for NULL
in nokia_bind_config() to print proper debug information.
On 12/08/2016 08:07 AM, Krzysztof Opasiak wrote:
> Hi,
>
> On 12/08/2016 03:33 PM, Shuah Khan wrote:
>> Hi Elen,
>>
>> Adding k.opas...@samsung.com
>>
>> On Thu, Dec 8, 2016 at 7:07 AM, Elen Niedermeyer
>> wrote:
>>> Dear Sir or Madam,
>>>
>>> I'm trying to run
* Felipe Balbi [161208 01:45]:
>
> Hi,
>
> Tony Lindgren writes:
> > Somehow starting with v4.9-rc7 there have been imprecise
>
> There's nothing touching dwc3 since v4.9-rc5.
Right, nothing obvious has changed. I think it's just a slight timing
change in
On Thu, Dec 08 2016, Baolin Wang wrote:
> When system try to close /dev/usb-ffs/adb/ep0 on one core, at the same
> time another core try to attach new UDC, which will cause deadlock as
> below scenario. Thus we should release ffs lock before issuing
> unregister_gadget_item().
>
> [ 52.642225]
On Fri, Dec 09, 2016 at 12:09:46AM +0900, Jae Joong Kim wrote:
> > Do you have a driver that was based on this skeleton that needed this
> > flag to be added to work properly? Has it been updated in the kernel
> > source tree properly for it?
> >
>
> Yes, Based on the skeleton driver, I made a
Hi Greg
2016-12-08 19:40 GMT+09:00 Greg KH :
> On Thu, Dec 08, 2016 at 05:20:28PM +0900, Jae Joong Kim wrote:
>> Hi Greg
>>
>> I think 'urb->transfer_flags' also has URB_ZERO_PACKET flag to handle
>> the data is aligned to an endpoint packet boundary.
>>
>> How do you
Hi,
On 12/08/2016 03:33 PM, Shuah Khan wrote:
> Hi Elen,
>
> Adding k.opas...@samsung.com
>
> On Thu, Dec 8, 2016 at 7:07 AM, Elen Niedermeyer
> wrote:
>> Dear Sir or Madam,
>>
>> I'm trying to run usbip-vudc since a few days. I want to access my emulated
>>
Hi Elen,
Adding k.opas...@samsung.com
On Thu, Dec 8, 2016 at 7:07 AM, Elen Niedermeyer
wrote:
> Dear Sir or Madam,
>
> I'm trying to run usbip-vudc since a few days. I want to access my emulated
> usb devices over usbip.
> I use Ubuntu 16.04.01 and updated my
On 12/07/2016 09:12 PM, fx IWATA NOBUO wrote:
> Dear Shuah,
>
>> I noticed that in many places sysfs_attr_init() is called before populating
>> the fields such as name etc. However, I don't think the order matters.
>>
>> sysfs_attr_init() doesn't depend on name or any other fields being set:
>>
Dear Sir or Madam,
I'm trying to run usbip-vudc since a few days. I want to access my emulated usb
devices over usbip.
I use Ubuntu 16.04.01 and updated my kernel to version 4.8.0-30. I've installed
linux-tools-4.8.0-30-generic which includes usbip. I enabled the modules
usbip-host and
Hi Greg,
It was my fault to reply email to you except Linux USB mailing list.
So, I resend a reply email :)
2016-12-08 9:45 GMT+09:00 Jae Joong Kim :
> Hi Greg
>
> 2016-12-07 23:50 GMT+09:00 Greg KH :
>>
>> On Wed, Dec 07, 2016 at 08:12:10PM +0900, Kim Jae
On 12/08/2016 12:38 PM, Rafał Miłecki wrote:
On 8 December 2016 at 09:40, Jacek Anaszewski wrote:
On 12/06/2016 06:29 PM, Rafał Miłecki wrote:
On 6 December 2016 at 18:26, Pavel Machek wrote:
On Fri 2016-12-02 09:48:18, Ralph Sennhauser wrote:
On
> "Johan" == Johan Hovold writes:
Johan> This may be a bit of long shot (or maybe not) but could you try
Johan> the below patch on top of usb-next as well? [...]
Russell> Your patch seems to have fixed it! Yay!
Oops, not so fast. It worked in loopback, but it didn't
> "Johan" == Johan Hovold writes:
[...]
Johan> Ok, and you were using a terminal program such as minicom that
Johan> properly configures the port for say 8-bit words?
I was using GNU screen, which I don't specifically configure to be
8-bits, but I retried with minicom and
Hi Tony,
On Wednesday 07 Dec 2016 21:51:23 Tony Lindgren wrote:
> * Laurent Pinchart [161123 08:44]:
> > On Wednesday 23 Nov 2016 18:40:09 Tomi Valkeinen wrote:
> >> On 23/11/16 18:34, Tony Lindgren wrote:
> >>> OK. And what changes to your current .config make
When system try to close /dev/usb-ffs/adb/ep0 on one core, at the same
time another core try to attach new UDC, which will cause deadlock as
below scenario. Thus we should release ffs lock before issuing
unregister_gadget_item().
[ 52.642225] c1
On 8 December 2016 at 09:40, Jacek Anaszewski wrote:
> On 12/06/2016 06:29 PM, Rafał Miłecki wrote:
>>
>> On 6 December 2016 at 18:26, Pavel Machek wrote:
>>>
>>> On Fri 2016-12-02 09:48:18, Ralph Sennhauser wrote:
On Thu, 1 Dec 2016 17:56:07
Hi,
On 8 December 2016 at 19:02, Felipe Balbi wrote:
>
> Hi,
>
> Baolin Wang writes:
On 28 November 2016 at 14:43, Baolin Wang wrote:
> For some mobile devices with strict power management, we also want to
>
Hi,
Baolin Wang writes:
>>> On 28 November 2016 at 14:43, Baolin Wang wrote:
For some mobile devices with strict power management, we also want to
suspend
the host when the slave is detached for power saving. Thus we add the host
Hi,
Jerry Huang writes:
>> -Original Message-
>> From: Felipe Balbi [mailto:felipe.ba...@linux.intel.com]
>> Sent: Thursday, December 08, 2016 5:46 PM
>> To: Jerry Huang ; st...@rowland.harvard.edu;
>> linux-usb@vger.kernel.org; Mathias Nyman
>>
On Thu, Dec 08, 2016 at 09:40:43AM +0100, Jacek Anaszewski wrote:
> Hi Rafał,
>
> On 12/06/2016 06:29 PM, Rafał Miłecki wrote:
> > On 6 December 2016 at 18:26, Pavel Machek wrote:
> > > On Fri 2016-12-02 09:48:18, Ralph Sennhauser wrote:
> > > > On Thu, 1 Dec 2016 17:56:07 +0100
>
On Thu, Dec 08, 2016 at 05:20:28PM +0900, Jae Joong Kim wrote:
> Hi Greg
>
> I think 'urb->transfer_flags' also has URB_ZERO_PACKET flag to handle
> the data is aligned to an endpoint packet boundary.
>
> How do you think this change?
>
> diff --git a/drivers/usb/usb-skeleton.c
On Thu, Dec 08, 2016 at 10:37:28AM +0100, Johan Hovold wrote:
> [ +CC: Adain, Grigori, Karl ]
>
> On Wed, Dec 07, 2016 at 05:51:33PM -0800, Russell Senior wrote:
> > I still suspect shoddy hardware. It would be nice to hear someone else
> > with the ch341-based hardware to say it works for
Hi,
On 8 December 2016 at 17:40, Felipe Balbi wrote:
>
> Hi,
>
> Baolin Wang writes:
>> Hi Felipe,
>>
>> On 28 November 2016 at 14:43, Baolin Wang wrote:
>>> For some mobile devices with strict power management, we also want to
In case EP disabled pass only EPCPLT command
to be handled. In other case we could hit
Bug like below.
BUG: unable to handle kernel NULL pointer dereference at 0003
IP:
[] dwc3_thread_interrupt+0x11c8/0x1790
while dep->endpoint.desc is NULL.
Signed-off-by: Janusz Dziedzic
Hi,
Jerry Huang writes:
[...]
>> >> >> oh, it's the DMA thing. We have patches going to next for this.
>> >> >> Arnd, do you know if next has all missing pieces? There was
>> >> >> something pending on XHCI IIRC, right?
>> >> > So, there are some patches for this issue?
Hi,
Tony Lindgren writes:
> Somehow starting with v4.9-rc7 there have been imprecise
There's nothing touching dwc3 since v4.9-rc5.
> external aborts on omap5-uevm dwc3 controller. I have not been
> able to bisect what exactly triggered this as it does not always
> happen. It
Hi,
Baolin Wang writes:
> Hi Felipe,
>
> On 28 November 2016 at 14:43, Baolin Wang wrote:
>> For some mobile devices with strict power management, we also want to suspend
>> the host when the slave is detached for power saving. Thus we add the
[ +CC: Adain, Grigori, Karl ]
On Wed, Dec 07, 2016 at 05:51:33PM -0800, Russell Senior wrote:
> > "Johan" == Johan Hovold writes:
>
> >> I attach the tty's with GNU screen (but I have also tried microcom
> >> and minicom with the same results). This was my first
On Wed, Dec 07, 2016 at 09:51:50PM +0100, Giuseppe Lippolis wrote:
> Dear Johan,
> Thanks for the tips.
>
> Here is the patch.
> Bye.
>
> ---
Great, this one would have applied fine (but of course lacks a commit
message and Signed-off-by).
I already applied your previous submission. Also note
Hi Rafał,
On 12/06/2016 06:29 PM, Rafał Miłecki wrote:
On 6 December 2016 at 18:26, Pavel Machek wrote:
On Fri 2016-12-02 09:48:18, Ralph Sennhauser wrote:
On Thu, 1 Dec 2016 17:56:07 +0100
Rafał Miłecki wrote:
On 12/01/2016 03:28 PM, Ralph Sennhauser
Hi Greg
I think 'urb->transfer_flags' also has URB_ZERO_PACKET flag to handle
the data is aligned to an endpoint packet boundary.
How do you think this change?
diff --git a/drivers/usb/usb-skeleton.c b/drivers/usb/usb-skeleton.c
index 5133a07..e5c9261b 100644
--- a/drivers/usb/usb-skeleton.c
79 matches
Mail list logo