Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp474717ybj; Wed, 6 May 2020 23:45:36 -0700 (PDT) X-Google-Smtp-Source: APiQypLc+CL2y97l/vwTPg4A8rsTJJ33UNN63tkDy5zOXKUcrJAniu54zG7F0qLvhijg9QPCsQD2 X-Received: by 2002:a17:906:6811:: with SMTP id k17mr10705721ejr.351.1588833936431; Wed, 06 May 2020 23:45:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588833936; cv=none; d=google.com; s=arc-20160816; b=mc5ncfwrkMkBPjwYhi9vv3kxEZEqMfS3DK6WEBmnPy2uln31Z7uUIG9D6fFqyhXT5s WNKeZv30MtvyjJhMjQ7D/Z/bNaBqCijoQ1UJAIHP2LrUFWNjt8gFiKbr6Pz9aelUQU7y IwtK5X7NDlt3OCSYp+dxPTXy+GOxFJgwQv2czUAWtaBUOHB40X3Iueo7ZkMVVVPJnh7i wQvbcGiadq2pIaG1tCKlEtEcFsb1SeNnCnAgjNkiPIH5miwpd5ryKINPU9VoV4/ZL3Iy zI2ESIsBLz3Sln479cHQmlalEerlZ0JQTss17/cNrwRonrgYuDecQaoq+rPT16nIST/b BfOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Czrl+g/0b4Ixdlos85YzIFKZL+B+s3pk6NvrufFCNwg=; b=AbAURKdOTLf1NSzsaqZZazIeYnoroBMTFYCxGRgHwZEbHZmPf5RPhQ7KxXPPwes08t 7GDDvNglzZT2CU5Q0fcVGiXE/fWR9FwSSCAv8vMxq09GpnakH7rFdIhqRuP3ukaqIPI8 52NlHFVOvReNCDjz48sk1hYDqKr2+87Y/ektVQxtPnSpohLPWiUaJPAXh0mQljcKr92c jq3NW7XIvxGfEz+6jeiqIkZQ9VyDmhl66WQhPz67TMVc8I8qK+JgsL5L+o4wQ+hWHVoZ UVu+3QY/e3ZBGsutBQUPb8aXW9qioAeD/kNE/l5g864WJvxgqQ9r7O6Sd5ZZ33v/N6Dj +1Xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=M09WcW1K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d5si2598817edy.479.2020.05.06.23.45.13; Wed, 06 May 2020 23:45:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=M09WcW1K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726480AbgEGGls (ORCPT + 99 others); Thu, 7 May 2020 02:41:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:55574 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725813AbgEGGlr (ORCPT ); Thu, 7 May 2020 02:41:47 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9141F20753; Thu, 7 May 2020 06:41:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588833707; bh=ZfGZjSQzlxql6JrfYK2CjpWc5gUaW3O8isNZHL1cHgQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=M09WcW1KjQjAJdPTQm0zozAA6/w6JqJ+af+Z9XAf7SHLgvMuh64pWlYzK/VnpMS6I mP1uw8407EQPHb2GkFDezqjut6jLHEnsLov8p1RWeNzwruCy100T1i2lCe8MECNhi1 b2/yksuqVxBEj5B6xSJeLVCPdSnxRKp54DYlAR24= Date: Thu, 7 May 2020 08:41:45 +0200 From: Greg Kroah-Hartman To: Andy Shevchenko Cc: Alan Cooper , ": Linux Kernel Mailing List" , Alan Stern , BCM Kernel Feedback , DTML , Krzysztof Kozlowski , USB list , Mathias Nyman , Rob Herring , Yoshihiro Shimoda , Andy Shevchenko Subject: Re: [PATCH v6 3/4] usb: ehci: Add new EHCI driver for Broadcom STB SoC's Message-ID: <20200507064145.GB777100@kroah.com> References: <20200430111258.6091-1-alcooperx@gmail.com> <20200430111258.6091-4-alcooperx@gmail.com> <20200505110036.GB93160@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 07, 2020 at 12:01:16AM +0300, Andy Shevchenko wrote: > On Wed, May 6, 2020 at 11:23 PM Alan Cooper wrote: > > On Tue, May 5, 2020 at 7:00 AM Greg Kroah-Hartman > > wrote: > > > On Thu, Apr 30, 2020 at 07:12:57AM -0400, Al Cooper wrote: > > ... > > > > > + /* Hook the hub control routine to work around a bug */ > > > > > > What bug? This feels wrong. > > > > The bug is explained in a comment above the ehci_brcm_hub_control() > > routine as follows: > > /* > > * ehci_brcm_hub_control > > * Intercept echi-hcd request to complete RESUME and align it to the start > > * of the next microframe. > > * If RESUME is complete too late in the microframe, host controller > > * detects babble on suspended port and resets the port afterwards. > > * This s/w workaround allows to avoid this problem. > > * See SWLINUX-1909 for more details > > */ > > I'll remove the internal bug tracking reference from the comment. > > I guess you may leave the internal bug reference. I can tell from my > experience that's hard to understand what was going on in the driver > in years perspective. It will help whoever in this company have a > chance to look after the driver. "internal bug references" mean nothing to the 99% of the people that can see this. Document the heck out of what this is instead please. greg k-h