On Tue, May 13, 2014 at 10:05:34AM -0500, Felipe Balbi wrote:
> Hi,
>
> On Tue, May 13, 2014 at 09:45:51PM -0400, Zhuang Jin Can wrote:
> > Hi Balbi,
> >
> > Do you have any comment for this patch?
>
> do you have an easy test-case which I can use to validate on my end ?
The issue was
Hi,
On Tue, May 13, 2014 at 09:45:51PM -0400, Zhuang Jin Can wrote:
> Hi Balbi,
>
> Do you have any comment for this patch?
do you have an easy test-case which I can use to validate on my end ?
--
balbi
signature.asc
Description: Digital signature
Hi Balbi,
Do you have any comment for this patch?
Thanks
Jincan
On Wed, May 07, 2014 at 05:53:44PM -0400, Zhuang Jin Can wrote:
> A delayed status request may be queued before composite framework returns
> USB_GADGET_DELAYED_STATUS, because the thread queueing the request can run
> on a
Hi Balbi,
Do you have any comment for this patch?
Thanks
Jincan
On Wed, May 07, 2014 at 05:53:44PM -0400, Zhuang Jin Can wrote:
A delayed status request may be queued before composite framework returns
USB_GADGET_DELAYED_STATUS, because the thread queueing the request can run
on a different
Hi,
On Tue, May 13, 2014 at 09:45:51PM -0400, Zhuang Jin Can wrote:
Hi Balbi,
Do you have any comment for this patch?
do you have an easy test-case which I can use to validate on my end ?
--
balbi
signature.asc
Description: Digital signature
On Thu, 8 May 2014, Paul Zimmerman wrote:
> > That doesn't handle the problem I described above. When the dwc3
> > driver gets the late delayed status response, it will think it is a
> > response to the new SETUP packet, and so it will carry out a bogus
> > transfer. It won't know that the
On Thu, 8 May 2014, Paul Zimmerman wrote:
That doesn't handle the problem I described above. When the dwc3
driver gets the late delayed status response, it will think it is a
response to the new SETUP packet, and so it will carry out a bogus
transfer. It won't know that the status
> From: Alan Stern [mailto:st...@rowland.harvard.edu]
> Sent: Thursday, May 08, 2014 2:18 PM
>
> On Thu, 8 May 2014, Paul Zimmerman wrote:
>
> > > When the host already timed out the control transfer and started a new
> > > one. Here's what I'm talking about:
> > >
> > > Host sends a
On Thu, 8 May 2014, Paul Zimmerman wrote:
> > When the host already timed out the control transfer and started a new
> > one. Here's what I'm talking about:
> >
> > Host sends a Set-Configuration request.
> >
> > The UDC driver calls the gadget driver's setup function.
> >
> > The
> From: linux-usb-ow...@vger.kernel.org
> [mailto:linux-usb-ow...@vger.kernel.org] On Behalf Of Alan Stern
> Sent: Wednesday, May 07, 2014 9:59 AM
>
> On Thu, 8 May 2014, Zhuang Jin Can wrote:
>
> > > A similar problem can occur in the opposite sense: The thread queuing
> > > the delayed status
On Thu, May 08, 2014 at 11:22:36AM -0400, Alan Stern wrote:
> On Thu, 8 May 2014, Zhuang Jin Can wrote:
>
> > > dwc3 _cannot_ return NYET to a SETUP packet. The USB protocol does not
> > > allow it. A device must always respond to SETUP with ACK.
> > It true that device can not return NYET to
On Thu, 8 May 2014, Zhuang Jin Can wrote:
> > dwc3 _cannot_ return NYET to a SETUP packet. The USB protocol does not
> > allow it. A device must always respond to SETUP with ACK.
> It true that device can not return NYET to a SETUP packet.
> A device must always respond to SETUP with ACK _if_
On Thu, May 08, 2014 at 10:25:46AM -0400, Alan Stern wrote:
> On Thu, 8 May 2014, Zhuang Jin Can wrote:
>
> > > When the host already timed out the control transfer and started a new
> > > one. Here's what I'm talking about:
> > >
> > > Host sends a Set-Configuration request.
> > >
> > >
On Thu, 8 May 2014, Zhuang Jin Can wrote:
> > When the host already timed out the control transfer and started a new
> > one. Here's what I'm talking about:
> >
> > Host sends a Set-Configuration request.
> >
> > The UDC driver calls the gadget driver's setup function.
> >
> >
On Thu, 8 May 2014, Zhuang Jin Can wrote:
When the host already timed out the control transfer and started a new
one. Here's what I'm talking about:
Host sends a Set-Configuration request.
The UDC driver calls the gadget driver's setup function.
The setup function
On Thu, May 08, 2014 at 10:25:46AM -0400, Alan Stern wrote:
On Thu, 8 May 2014, Zhuang Jin Can wrote:
When the host already timed out the control transfer and started a new
one. Here's what I'm talking about:
Host sends a Set-Configuration request.
The UDC driver calls
On Thu, 8 May 2014, Zhuang Jin Can wrote:
dwc3 _cannot_ return NYET to a SETUP packet. The USB protocol does not
allow it. A device must always respond to SETUP with ACK.
It true that device can not return NYET to a SETUP packet.
A device must always respond to SETUP with ACK _if_ the
On Thu, May 08, 2014 at 11:22:36AM -0400, Alan Stern wrote:
On Thu, 8 May 2014, Zhuang Jin Can wrote:
dwc3 _cannot_ return NYET to a SETUP packet. The USB protocol does not
allow it. A device must always respond to SETUP with ACK.
It true that device can not return NYET to a SETUP
From: linux-usb-ow...@vger.kernel.org
[mailto:linux-usb-ow...@vger.kernel.org] On Behalf Of Alan Stern
Sent: Wednesday, May 07, 2014 9:59 AM
On Thu, 8 May 2014, Zhuang Jin Can wrote:
A similar problem can occur in the opposite sense: The thread queuing
the delayed status request
On Thu, 8 May 2014, Paul Zimmerman wrote:
When the host already timed out the control transfer and started a new
one. Here's what I'm talking about:
Host sends a Set-Configuration request.
The UDC driver calls the gadget driver's setup function.
The setup function
From: Alan Stern [mailto:st...@rowland.harvard.edu]
Sent: Thursday, May 08, 2014 2:18 PM
On Thu, 8 May 2014, Paul Zimmerman wrote:
When the host already timed out the control transfer and started a new
one. Here's what I'm talking about:
Host sends a Set-Configuration
On Wed, May 07, 2014 at 12:59:06PM -0400, Alan Stern wrote:
> On Thu, 8 May 2014, Zhuang Jin Can wrote:
>
> > > A similar problem can occur in the opposite sense: The thread queuing
> > > the delayed status request might be delayed for so long that another
> > > SETUP packet arrives from the host
On Thu, 8 May 2014, Zhuang Jin Can wrote:
> > A similar problem can occur in the opposite sense: The thread queuing
> > the delayed status request might be delayed for so long that another
> > SETUP packet arrives from the host first. In that case, the delayed
> > status request is a response
On Wed, May 07, 2014 at 11:03:42AM -0400, Alan Stern wrote:
> On Wed, 7 May 2014, Zhuang Jin Can wrote:
>
> > A delayed status request may be queued before composite framework returns
> > USB_GADGET_DELAYED_STATUS, because the thread queueing the request can run
> > on a different core in
On Wed, 7 May 2014, Zhuang Jin Can wrote:
> A delayed status request may be queued before composite framework returns
> USB_GADGET_DELAYED_STATUS, because the thread queueing the request can run
> on a different core in parallel with the control request irq.
>
> SETUP XferComplete IRQ
A delayed status request may be queued before composite framework returns
USB_GADGET_DELAYED_STATUS, because the thread queueing the request can run
on a different core in parallel with the control request irq.
SETUP XferComplete IRQ fsg_main_thread
--
A delayed status request may be queued before composite framework returns
USB_GADGET_DELAYED_STATUS, because the thread queueing the request can run
on a different core in parallel with the control request irq.
SETUP XferComplete IRQ fsg_main_thread
--
On Wed, 7 May 2014, Zhuang Jin Can wrote:
A delayed status request may be queued before composite framework returns
USB_GADGET_DELAYED_STATUS, because the thread queueing the request can run
on a different core in parallel with the control request irq.
SETUP XferComplete IRQ
On Wed, May 07, 2014 at 11:03:42AM -0400, Alan Stern wrote:
On Wed, 7 May 2014, Zhuang Jin Can wrote:
A delayed status request may be queued before composite framework returns
USB_GADGET_DELAYED_STATUS, because the thread queueing the request can run
on a different core in parallel with
On Thu, 8 May 2014, Zhuang Jin Can wrote:
A similar problem can occur in the opposite sense: The thread queuing
the delayed status request might be delayed for so long that another
SETUP packet arrives from the host first. In that case, the delayed
status request is a response for a
On Wed, May 07, 2014 at 12:59:06PM -0400, Alan Stern wrote:
On Thu, 8 May 2014, Zhuang Jin Can wrote:
A similar problem can occur in the opposite sense: The thread queuing
the delayed status request might be delayed for so long that another
SETUP packet arrives from the host first. In
31 matches
Mail list logo