Re: [PATCH v2] usb: host: xhci: Support running urb giveback in tasklet context

From: Mathias Nyman
Date: Wed May 08 2019 - 08:03:01 EST


On 7.5.2019 19.02, Suwan Kim wrote:
On Mon, Apr 01, 2019 at 11:16:11PM +0900, Suwan Kim wrote:
Patch "USB: HCD: support giveback of URB in tasklet context"[1]
introduced giveback of urb in tasklet context. [1] This patch was
applied to ehci but not xhci. [2] This patch significantly reduces
the hard irq time of xhci. Especially for uvc driver, the hard irq
including the uvc completion function runs quite long but applying
this patch reduces the hard irq time of xhci.


I sent this patch a month ago but got no answer.
Is there any feedback for this?
Please let me know if there are any faults or it needs more tests.


I'll add this to a internal tree first, and let it sit there for a few
weeks, trying to catch possible bugs this change could expose.

-Mathias