mbox series

[REPOST,0/4] usb: dwc2: Turn on uframe sched everywhere

Message ID 20180726200730.18290-1-dianders@chromium.org (mailing list archive)
Headers show
Series usb: dwc2: Turn on uframe sched everywhere | expand

Message

Doug Anderson July 26, 2018, 8:07 p.m. UTC
While looking at a dwc2 recently, I noticed that some platforms still
have the uframe scheduler off.  As far as I know, nothing good can
come out of having the uframe scheduler off.  Let's turn it on
everywhere.  Assuming this all works out then some time in the future
we can gut all the old code that handles the old non-uframe scheduler
and make everything simpler.

This is a repost of the original "RFT" (request for testing) series I
posted a few weeks ago but without the "RFT" prefix.  Two of the
patches in the series now have "Tested-by:" tags.  Since there should
be nothing platform specific about the uFrame scheduler presumably
this should mean we're good to go?  Specificaly note that in at least
one of the "Tested-by" reports this patch caused a notable
improvement.

In response to the original RFT, some notes about testing this:
- In general, try to have lots of things plugged in.
- Plug many different keyboards / mice in.  See if keys are
  dropped / mouse is jerky.
- Try USB audio (ideally full speed, not high speed).  How is
  the audio?
- If you're brave, try a USB webcam.  How is the video?
  ...maybe try including patches from crbug.com/820961 too.


Douglas Anderson (4):
  usb: dwc2: Turn on uframe_sched on "bcm" platforms
  usb: dwc2: Turn on uframe_sched on "his" platforms
  usb: dwc2: Turn on uframe_sched on "amlogic" platforms
  usb: dwc2: Turn on uframe_sched on "stm32f4x9_fsotg" platforms

 drivers/usb/dwc2/params.c | 4 ----
 1 file changed, 4 deletions(-)

Comments

Felipe Balbi July 27, 2018, 10:01 a.m. UTC | #1
Douglas Anderson <dianders@chromium.org> writes:

> While looking at a dwc2 recently, I noticed that some platforms still
> have the uframe scheduler off.  As far as I know, nothing good can
> come out of having the uframe scheduler off.  Let's turn it on
> everywhere.  Assuming this all works out then some time in the future
> we can gut all the old code that handles the old non-uframe scheduler
> and make everything simpler.
>
> This is a repost of the original "RFT" (request for testing) series I
> posted a few weeks ago but without the "RFT" prefix.  Two of the
> patches in the series now have "Tested-by:" tags.  Since there should
> be nothing platform specific about the uFrame scheduler presumably
> this should mean we're good to go?  Specificaly note that in at least
> one of the "Tested-by" reports this patch caused a notable
> improvement.
>
> In response to the original RFT, some notes about testing this:
> - In general, try to have lots of things plugged in.
> - Plug many different keyboards / mice in.  See if keys are
>   dropped / mouse is jerky.
> - Try USB audio (ideally full speed, not high speed).  How is
>   the audio?
> - If you're brave, try a USB webcam.  How is the video?
>   ...maybe try including patches from crbug.com/820961 too.

Minas??
Minas Harutyunyan July 27, 2018, 11 a.m. UTC | #2
On 7/27/2018 12:08 AM, Douglas Anderson wrote:
> While looking at a dwc2 recently, I noticed that some platforms still
> have the uframe scheduler off.  As far as I know, nothing good can
> come out of having the uframe scheduler off.  Let's turn it on
> everywhere.  Assuming this all works out then some time in the future
> we can gut all the old code that handles the old non-uframe scheduler
> and make everything simpler.
> 
> This is a repost of the original "RFT" (request for testing) series I
> posted a few weeks ago but without the "RFT" prefix.  Two of the
> patches in the series now have "Tested-by:" tags.  Since there should
> be nothing platform specific about the uFrame scheduler presumably
> this should mean we're good to go?  Specificaly note that in at least
> one of the "Tested-by" reports this patch caused a notable
> improvement.
> 
> In response to the original RFT, some notes about testing this:
> - In general, try to have lots of things plugged in.
> - Plug many different keyboards / mice in.  See if keys are
>    dropped / mouse is jerky.
> - Try USB audio (ideally full speed, not high speed).  How is
>    the audio?
> - If you're brave, try a USB webcam.  How is the video?
>    ...maybe try including patches from crbug.com/820961 too.
> 
> 
> Douglas Anderson (4):
>    usb: dwc2: Turn on uframe_sched on "bcm" platforms
>    usb: dwc2: Turn on uframe_sched on "his" platforms
>    usb: dwc2: Turn on uframe_sched on "amlogic" platforms
>    usb: dwc2: Turn on uframe_sched on "stm32f4x9_fsotg" platforms
> 
>   drivers/usb/dwc2/params.c | 4 ----
>   1 file changed, 4 deletions(-)
> 
Reviewed-by: Minas Harutyunyan <hminas@synopsys.com>

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html