Re: [PATCH v2 4/4] USB: EHCI: support running URB giveback in tasklet context

2013-06-24 Thread Ming Lei
On Mon, Jun 24, 2013 at 9:06 PM, Oliver Neukum wrote: > On Monday 24 June 2013 20:58:26 Ming Lei wrote: >> On Mon, Jun 24, 2013 at 6:24 PM, Oliver Neukum wrote: >> > On Monday 24 June 2013 17:42:05 Ming Lei wrote: >> >> All 4 transfer types can work well on EHCI HCD after switching to run >> >> U

Re: [PATCH v2 4/4] USB: EHCI: support running URB giveback in tasklet context

2013-06-24 Thread Oliver Neukum
On Monday 24 June 2013 20:58:26 Ming Lei wrote: > On Mon, Jun 24, 2013 at 6:24 PM, Oliver Neukum wrote: > > On Monday 24 June 2013 17:42:05 Ming Lei wrote: > >> All 4 transfer types can work well on EHCI HCD after switching to run > >> URB giveback in tasklet context, so mark all HCD drivers to su

Re: [PATCH v2 4/4] USB: EHCI: support running URB giveback in tasklet context

2013-06-24 Thread Ming Lei
On Mon, Jun 24, 2013 at 6:24 PM, Oliver Neukum wrote: > On Monday 24 June 2013 17:42:05 Ming Lei wrote: >> All 4 transfer types can work well on EHCI HCD after switching to run >> URB giveback in tasklet context, so mark all HCD drivers to support >> it. >> >> At the same time, don't release ehci-

Re: [PATCH v2 4/4] USB: EHCI: support running URB giveback in tasklet context

2013-06-24 Thread Oliver Neukum
On Monday 24 June 2013 17:42:05 Ming Lei wrote: > All 4 transfer types can work well on EHCI HCD after switching to run > URB giveback in tasklet context, so mark all HCD drivers to support > it. > > At the same time, don't release ehci->lock during URB giveback, > and remove the check on HCD_BH i

[PATCH v2 4/4] USB: EHCI: support running URB giveback in tasklet context

2013-06-24 Thread Ming Lei
All 4 transfer types can work well on EHCI HCD after switching to run URB giveback in tasklet context, so mark all HCD drivers to support it. At the same time, don't release ehci->lock during URB giveback, and remove the check on HCD_BH in ehci_disable_event(). >From below test results on 3 machi