All of lore.kernel.org
 help / color / mirror / Atom feed
* Odroid C4: dwc2_hsotg_start_req: ep1 is stalled
@ 2021-05-20 12:35 Matwey V. Kornilov
  2021-05-20 14:16 ` Alan Stern
  0 siblings, 1 reply; 4+ messages in thread
From: Matwey V. Kornilov @ 2021-05-20 12:35 UTC (permalink / raw)
  To: hminas; +Cc: open list:MUSB MULTIPOINT HIGH SPEED DUAL-ROLE CONTROLLER

Hi,

I am running upstream Linux 5.12.3 on an Odroid C4 board and see lots
of the following lines in dmesg while using the gadget mass storage
driver. I suppose that this can indicate some issue in the dwc2
driver.

[  189.752586] dwc2 ff400000.usb: bound driver g_mass_storage
[  190.118994] dwc2 ff400000.usb: new device is high-speed
[  190.199074] dwc2 ff400000.usb: new device is high-speed
[  190.267855] dwc2 ff400000.usb: new address 4
[  191.310603] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep
00000000ce48180a ep1in, 1)
[  191.310737] dwc2 ff400000.usb: dwc2_hsotg_start_req: ep1 is stalled
[  191.311015] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep
00000000ce48180a ep1in, 0)
[  191.312257] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep
00000000ce48180a ep1in, 1)
[  191.312373] dwc2 ff400000.usb: dwc2_hsotg_start_req: ep1 is stalled
[  191.312762] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep
00000000ce48180a ep1in, 0)
[  191.336959] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep
00000000ce48180a ep1in, 1)
[  191.447759] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep
00000000ce48180a ep1in, 1)
[  191.447823] dwc2 ff400000.usb: dwc2_hsotg_start_req: ep1 is stalled
[  191.448098] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep
00000000ce48180a ep1in, 0)
[  191.448550] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep
00000000ce48180a ep1in, 1)
[  191.567748] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep
00000000ce48180a ep1in, 1)


-- 
With best regards,
Matwey V. Kornilov

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Odroid C4: dwc2_hsotg_start_req: ep1 is stalled
  2021-05-20 12:35 Odroid C4: dwc2_hsotg_start_req: ep1 is stalled Matwey V. Kornilov
@ 2021-05-20 14:16 ` Alan Stern
  2021-05-20 14:18   ` Matwey V. Kornilov
  0 siblings, 1 reply; 4+ messages in thread
From: Alan Stern @ 2021-05-20 14:16 UTC (permalink / raw)
  To: Matwey V. Kornilov
  Cc: hminas, open list:MUSB MULTIPOINT HIGH SPEED DUAL-ROLE CONTROLLER

On Thu, May 20, 2021 at 03:35:26PM +0300, Matwey V. Kornilov wrote:
> Hi,
> 
> I am running upstream Linux 5.12.3 on an Odroid C4 board and see lots
> of the following lines in dmesg while using the gadget mass storage
> driver. I suppose that this can indicate some issue in the dwc2
> driver.
> 
> [  189.752586] dwc2 ff400000.usb: bound driver g_mass_storage
> [  190.118994] dwc2 ff400000.usb: new device is high-speed
> [  190.199074] dwc2 ff400000.usb: new device is high-speed
> [  190.267855] dwc2 ff400000.usb: new address 4
> [  191.310603] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep
> 00000000ce48180a ep1in, 1)
> [  191.310737] dwc2 ff400000.usb: dwc2_hsotg_start_req: ep1 is stalled
> [  191.311015] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep
> 00000000ce48180a ep1in, 0)
> [  191.312257] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep
> 00000000ce48180a ep1in, 1)
> [  191.312373] dwc2 ff400000.usb: dwc2_hsotg_start_req: ep1 is stalled
> [  191.312762] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep
> 00000000ce48180a ep1in, 0)
> [  191.336959] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep
> 00000000ce48180a ep1in, 1)
> [  191.447759] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep
> 00000000ce48180a ep1in, 1)
> [  191.447823] dwc2 ff400000.usb: dwc2_hsotg_start_req: ep1 is stalled
> [  191.448098] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep
> 00000000ce48180a ep1in, 0)
> [  191.448550] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep
> 00000000ce48180a ep1in, 1)
> [  191.567748] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep
> 00000000ce48180a ep1in, 1)

Those look like they ought to be debugging messages.  They don't seem to 
indicate any problem.

Alan Stern

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Odroid C4: dwc2_hsotg_start_req: ep1 is stalled
  2021-05-20 14:16 ` Alan Stern
@ 2021-05-20 14:18   ` Matwey V. Kornilov
  2021-05-20 14:25     ` Alan Stern
  0 siblings, 1 reply; 4+ messages in thread
From: Matwey V. Kornilov @ 2021-05-20 14:18 UTC (permalink / raw)
  To: Alan Stern
  Cc: hminas, open list:MUSB MULTIPOINT HIGH SPEED DUAL-ROLE CONTROLLER

чт, 20 мая 2021 г. в 17:16, Alan Stern <stern@rowland.harvard.edu>:
>
> On Thu, May 20, 2021 at 03:35:26PM +0300, Matwey V. Kornilov wrote:
> > Hi,
> >
> > I am running upstream Linux 5.12.3 on an Odroid C4 board and see lots
> > of the following lines in dmesg while using the gadget mass storage
> > driver. I suppose that this can indicate some issue in the dwc2
> > driver.
> >
> > [  189.752586] dwc2 ff400000.usb: bound driver g_mass_storage
> > [  190.118994] dwc2 ff400000.usb: new device is high-speed
> > [  190.199074] dwc2 ff400000.usb: new device is high-speed
> > [  190.267855] dwc2 ff400000.usb: new address 4
> > [  191.310603] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep
> > 00000000ce48180a ep1in, 1)
> > [  191.310737] dwc2 ff400000.usb: dwc2_hsotg_start_req: ep1 is stalled
> > [  191.311015] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep
> > 00000000ce48180a ep1in, 0)
> > [  191.312257] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep
> > 00000000ce48180a ep1in, 1)
> > [  191.312373] dwc2 ff400000.usb: dwc2_hsotg_start_req: ep1 is stalled
> > [  191.312762] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep
> > 00000000ce48180a ep1in, 0)
> > [  191.336959] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep
> > 00000000ce48180a ep1in, 1)
> > [  191.447759] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep
> > 00000000ce48180a ep1in, 1)
> > [  191.447823] dwc2 ff400000.usb: dwc2_hsotg_start_req: ep1 is stalled
> > [  191.448098] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep
> > 00000000ce48180a ep1in, 0)
> > [  191.448550] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep
> > 00000000ce48180a ep1in, 1)
> > [  191.567748] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep
> > 00000000ce48180a ep1in, 1)
>
> Those look like they ought to be debugging messages.  They don't seem to
> indicate any problem.
>
> Alan Stern

Well, I have not enabled any debug info, and those messages are
flooding my dmesg. Maybe dev_warn() should be replaced with something
other?


-- 
With best regards,
Matwey V. Kornilov

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Odroid C4: dwc2_hsotg_start_req: ep1 is stalled
  2021-05-20 14:18   ` Matwey V. Kornilov
@ 2021-05-20 14:25     ` Alan Stern
  0 siblings, 0 replies; 4+ messages in thread
From: Alan Stern @ 2021-05-20 14:25 UTC (permalink / raw)
  To: Matwey V. Kornilov
  Cc: hminas, open list:MUSB MULTIPOINT HIGH SPEED DUAL-ROLE CONTROLLER

On Thu, May 20, 2021 at 05:18:37PM +0300, Matwey V. Kornilov wrote:
> чт, 20 мая 2021 г. в 17:16, Alan Stern <stern@rowland.harvard.edu>:
> >
> > On Thu, May 20, 2021 at 03:35:26PM +0300, Matwey V. Kornilov wrote:
> > > Hi,
> > >
> > > I am running upstream Linux 5.12.3 on an Odroid C4 board and see lots
> > > of the following lines in dmesg while using the gadget mass storage
> > > driver. I suppose that this can indicate some issue in the dwc2
> > > driver.
> > >
> > > [  189.752586] dwc2 ff400000.usb: bound driver g_mass_storage
> > > [  190.118994] dwc2 ff400000.usb: new device is high-speed
> > > [  190.199074] dwc2 ff400000.usb: new device is high-speed
> > > [  190.267855] dwc2 ff400000.usb: new address 4
> > > [  191.310603] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep
> > > 00000000ce48180a ep1in, 1)
> > > [  191.310737] dwc2 ff400000.usb: dwc2_hsotg_start_req: ep1 is stalled
> > > [  191.311015] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep
> > > 00000000ce48180a ep1in, 0)
> > > [  191.312257] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep
> > > 00000000ce48180a ep1in, 1)
> > > [  191.312373] dwc2 ff400000.usb: dwc2_hsotg_start_req: ep1 is stalled
> > > [  191.312762] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep
> > > 00000000ce48180a ep1in, 0)
> > > [  191.336959] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep
> > > 00000000ce48180a ep1in, 1)
> > > [  191.447759] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep
> > > 00000000ce48180a ep1in, 1)
> > > [  191.447823] dwc2 ff400000.usb: dwc2_hsotg_start_req: ep1 is stalled
> > > [  191.448098] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep
> > > 00000000ce48180a ep1in, 0)
> > > [  191.448550] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep
> > > 00000000ce48180a ep1in, 1)
> > > [  191.567748] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep
> > > 00000000ce48180a ep1in, 1)
> >
> > Those look like they ought to be debugging messages.  They don't seem to
> > indicate any problem.
> >
> > Alan Stern
> 
> Well, I have not enabled any debug info, and those messages are
> flooding my dmesg. Maybe dev_warn() should be replaced with something
> other?

Indeed, maybe it should.  Feel free to go ahead and submit a patch.

Alan Stern

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-05-20 14:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-20 12:35 Odroid C4: dwc2_hsotg_start_req: ep1 is stalled Matwey V. Kornilov
2021-05-20 14:16 ` Alan Stern
2021-05-20 14:18   ` Matwey V. Kornilov
2021-05-20 14:25     ` Alan Stern

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.