Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp355112yba; Mon, 1 Apr 2019 07:44:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqw1CdiioJgb6oHzdNXVPiuXeuaVMXKkLqium5ualOSMWLIR2kG6C22DjksSD0/0hJs4qPLy X-Received: by 2002:a65:5183:: with SMTP id h3mr28376881pgq.53.1554129873267; Mon, 01 Apr 2019 07:44:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554129873; cv=none; d=google.com; s=arc-20160816; b=dXY64sZBRlcYRszgM78kR45RQz7RsOc7TkZ8q/fxgd8L1yrA/Ydd+cGFcfBIdgTy3z 1bP5x1Orcv8mMdzFQIybUB6+SLudt1OX7AjYotzluS6AU8Gz8/pl4sorVxcDOzlw6GbP i5v2Eo6Whr37KTFfutfhO7FfPKiBWBTkMJhKPXeIgb2zUxjdOykNoYH5MI9osDhXssHa pbx3e6M6CkmHUM4QJbO/ph1BvNhH4vX+YCP0NFfW0SkVgQyQ08Zu0ii94g3O31C5ykKu ht7X2W9ly0ghc70COD8pJtZh2zS0Wq5ygUEDyGbGCJuKX7fz9VBiG6yeF9XatgBIXdon aaIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:in-reply-to :subject:cc:to:from:date; bh=ik2oGwZ69IKqUakgXYyl4RO3lX1g6Yy4mMFgxVsuhBc=; b=arZ6bXqPfPGrxakUmQ65iOjSl/gCAQukxjjFIIMkkbjmALmRGTeQG/eu3R4uNzvXxh hQHhaisHkDTR+U/5y+rfadb8X6Daad0tLXX5C3jHYUJfyu+hrxy5OoNpL8LB0lpy+0gc 48rLdc5E3nLwQ34QupCW7XZTWL7gbPxppvxI0peLuktnBgH8mXQIXS6c5Oc8TUJTEwqO iWTjoFx/qcCmzWryUPgJbp9E/6CopPFAoj5BY5FCIilrifsvHMMvd6XFMqQ+eg3Z/2YC SB9PDnlDA0xmJlwBb8FoZ2zdIb3RiTgqbR+OmbFFclGveyYy7XA+yg/knsNTYBrxxE5n QDdQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v61si9344581plb.60.2019.04.01.07.44.17; Mon, 01 Apr 2019 07:44:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728656AbfDAOn0 (ORCPT + 99 others); Mon, 1 Apr 2019 10:43:26 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:44340 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1726617AbfDAOnZ (ORCPT ); Mon, 1 Apr 2019 10:43:25 -0400 Received: (qmail 3078 invoked by uid 2102); 1 Apr 2019 10:43:24 -0400 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 1 Apr 2019 10:43:24 -0400 Date: Mon, 1 Apr 2019 10:43:24 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Suwan Kim cc: mathias.nyman@linux.intel.com, , , Subject: Re: [PATCH v2] usb: host: xhci: Support running urb giveback in tasklet context In-Reply-To: <20190401141611.10087-1-suwan.kim027@gmail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 1 Apr 2019, 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. Please read the kerneldoc for usb_submit_urb() and usb_kill_urb(), in particular, the parts that describe how isochronous URBs are treated. Can you guarantee that with this patch applied, xhci-hcd will continue to work as the kerneldoc describes? Alan Stern