Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5146528ybi; Tue, 4 Jun 2019 01:56:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqyCRMAbnSLG3i5wy9n1QUIFwkVU3P7cy8AaGoUeNfqp6/PXoY9S67EghQCTII1lqtfwUfUQ X-Received: by 2002:a17:90a:1902:: with SMTP id 2mr35702044pjg.113.1559638566173; Tue, 04 Jun 2019 01:56:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559638566; cv=none; d=google.com; s=arc-20160816; b=t7+ShvK566dvamMvQazqWPDwT3PHFJQ4w+8Pjl4tGUUo/YtVYcr0SiN1dhIPUrd29z N2WxrzWLbVqRD0H6Q/BESSqi7t7bINYhgTQUcZS0A/NjfeqLrwQ7K2xyQIp/NgtuO7Hx 04+aZk8fW5nSG9d83++07JBJUBEFyv7C3hvR1DYLr5t26Ohgcj12WSKTRltZHu07HPBk emeg80QNRHjkfdL6kvJ1y5Z9Rc9aNqi/PAN5G/Xaqq4BBviDGqihCM1zap800XGTanJx dDtYO7BcJLLFN9qeTFS+7hnirfAcjxWOrbB1+gYxORkSsJ/YGda0MR5PJ4eAGlEQGYqg /Lww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:cc :references:to:subject; bh=mLYTPQ/PfK0tfvP0/dpg+Xz6JZOJSrJlWomfCeFvWF0=; b=Nkns9Ro0he4IfIDpBc3jf4xfmOs5w9anA4IMkQz1mWr1EWwu6MfeMuFqNZpCCoM/+a nLSfIobRI2YXA7vjOLcynmF9sAxJqiihudwzplFJAOFNCYspxfTMU88p15h/SbUXIKxS eEy0wA9LwPSWaUBqA0ozGBRMT6ntoWCEJcmsFAxbLgKLK8UPGUXV9B6BYIAJkUirEetG eLw8Nav01jfWmvhaffQjZp6wk9C0HiYe/W4m9UT3ZD4nrvKoTgqps1sP4U1/T9rOGCaI Dhb/XiSBD8AEKqcN9PUa+uy7PyUpYEEHUQi7c4d6ahrbc5zKyzOhtWtQ90Yp0uQ/whPk W4sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=Ha1kdGk8; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 15si4378362pfo.121.2019.06.04.01.55.49; Tue, 04 Jun 2019 01:56:06 -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; dkim=pass header.i=@nvidia.com header.s=n1 header.b=Ha1kdGk8; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727049AbfFDIyI (ORCPT + 99 others); Tue, 4 Jun 2019 04:54:08 -0400 Received: from hqemgate15.nvidia.com ([216.228.121.64]:1828 "EHLO hqemgate15.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726873AbfFDIyH (ORCPT ); Tue, 4 Jun 2019 04:54:07 -0400 Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqemgate15.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Tue, 04 Jun 2019 01:53:54 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Tue, 04 Jun 2019 01:54:06 -0700 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Tue, 04 Jun 2019 01:54:06 -0700 Received: from [10.19.120.158] (172.20.13.39) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 4 Jun 2019 08:54:04 +0000 Subject: Re: [PATCH v11 0/2] usb: xhci: Add Clear_TT_Buffer To: Greg KH , References: <1559559224-9845-1-git-send-email-jilin@nvidia.com> <20190603122303.GA16267@kroah.com> CC: , , , , , , , , From: Jim Lin Message-ID: Date: Tue, 4 Jun 2019 16:53:54 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20190603122303.GA16267@kroah.com> X-Originating-IP: [172.20.13.39] X-ClientProxiedBy: HQMAIL103.nvidia.com (172.20.187.11) To HQMAIL107.nvidia.com (172.20.187.13) Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1559638434; bh=mLYTPQ/PfK0tfvP0/dpg+Xz6JZOJSrJlWomfCeFvWF0=; h=X-PGP-Universal:Subject:To:References:CC:From:Message-ID:Date: User-Agent:MIME-Version:In-Reply-To:X-Originating-IP: X-ClientProxiedBy:Content-Type:Content-Transfer-Encoding; b=Ha1kdGk8vETSu44OZuYpp04n6UVlNEIZa2AkRiukbCzOe6wCs/l2MCJnx/tG8eW/0 T6rHuCxPRov8L9y1pH9vGiKTuXeKMUlDbGIC6GZOPnPXVPrnNwK6ieY3D2TNW7NuLx omS65L97W8yDVe06AGeGrPO40aNmLMEcj4IwU/pGGXX5+yCUNoS+OctYiaspZ61Qa0 Us/eClklU2+ZX1YD8yzE0/BxYV5eMstMXNmHsp1dAz/ygfxVVBR6EjzrpKFLnGFkAA os/ImDtfVuE77QuhfTdZCmQQD4xmnPN0LyZoFCYJmgB38ZdaKnQE1ItAxEXZBvTdYJ Jlm5elF24Mv6g== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019=E5=B9=B406=E6=9C=8803=E6=97=A5 20:23, Greg KH wrote: > On Mon, Jun 03, 2019 at 06:53:42PM +0800, Jim Lin wrote: >> USB 2.0 specification chapter 11.17.5 says "as part of endpoint halt >> processing for full-/low-speed endpoints connected via a TT, the host >> software must use the Clear_TT_Buffer request to the TT to ensure >> that the buffer is not in the busy state". >> >> In our case, a full-speed speaker (ConferenceCam) is behind a high- >> speed hub (ConferenceCam Connect), sometimes once we get STALL on a >> request we may continue to get STALL with the folllowing requests, >> like Set_Interface. >> >> Solution is to invoke usb_hub_clear_tt_buffer() to send >> Clear_TT_Buffer request to the hub of the device for the following >> Set_Interface requests to the device to get ACK successfully. >> >> The Clear_TT_Buffer request sent to the hub includes the address of >> the LS/FS child device in wValue field. usb_hub_clear_tt_buffer() >> uses udev->devnum to set the address wValue. This won't work for >> devices connected to xHC. >> >> For other host controllers udev->devnum is the same as the address of >> the usb device, chosen and set by usb core. With xHC the controller >> hardware assigns the address, and won't be the same as devnum. >> >> Here we have two patches. >> One is to add devaddr in struct usb_device for >> usb_hub_clear_tt_buffer() to use. >> Another is to invoke usb_hub_clear_tt_buffer() for halt processing. > Why did you resend patch series 11? Didn't get response in 2 or 3 days. Will be more patient next time. May I get patch v11 1/2 acked or reviewed by Alan? Thanks, Jim