Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp503218rwr; Thu, 20 Apr 2023 02:25:24 -0700 (PDT) X-Google-Smtp-Source: AKy350ZcfvVLdGiw4YXjLU8DCjVwCncD2WwOSsd7+0R4HjXcJAUlMFPKObNbbE18V8lan+woP5Dp X-Received: by 2002:a17:90a:db84:b0:246:9957:6a07 with SMTP id h4-20020a17090adb8400b0024699576a07mr849013pjv.25.1681982724003; Thu, 20 Apr 2023 02:25:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681982723; cv=none; d=google.com; s=arc-20160816; b=fUh/ctB/jcRTJOF1N8G5h6UCHwTYaPOYKkQuEEu+Q3sym2bIjzMwG20lmyc3y1nvtu OvjgStjS+Uajte35Vh6TXyjRgT5NkT5WdDY3I+mFLa1bQSPQGPyYyiZmYevmO0aRzXB3 Vdi0aJEJRcWMa/taLHL30Aev4YL58i2xsAkBO7aBlCJRzxtxwwZgp41FvjCq+MGWQZWk zI18zgQffFXXX7/QzjRWbMXTqJFy7/G+iche4Yravs/hvUXDlILbaEkmR+U56OKGfMYN WAIGOGhGW1gYveCqFovcBToO0I4G5OoZ6BLNhsg5S+LxHTJ+Q+o2VWo5IEGgnri2wujt xxwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=PfWwqX05OL/sIA8b8saZCgij3jNWle5ZxbwbeGpn9Yo=; b=TpcREUESBN0c+xEuJTojDESpM9rVXIyGxUCAw75SqokOZBOJU5xDQPZoc/2DVTVW6+ sKTqwx5AdixE3BXRXOn1R2QA/2u5E9ENPHGGHwqxH1hhoEFbIftvZ7Q7Yi2I+O17He3p RoYnoOpcARh96IR3cz8g6LF/OG40q6I8f+YOnPuTuRoJshCPEKIZYQUFQ4+M8HURcH+M TX+ZEkYZSGQeRSNos4R+GOYVdNTfGCi4cifP1pHjkpe8UDq6BMzWMFGlnssCWNBGW3iO q+NetJ9ZeoLuhWqrRe95lwiW+xwSs8z4fpWu3xhZw+6Ba6c8mR2qJr9fER7pEtHjjfDd zVGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Ei3UTBts; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lk8-20020a17090b33c800b0024b283559a5si3573115pjb.18.2023.04.20.02.25.12; Thu, 20 Apr 2023 02:25:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Ei3UTBts; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234006AbjDTJYE (ORCPT + 99 others); Thu, 20 Apr 2023 05:24:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233697AbjDTJX7 (ORCPT ); Thu, 20 Apr 2023 05:23:59 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8C134EFF; Thu, 20 Apr 2023 02:23:33 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 79BCD63A01; Thu, 20 Apr 2023 09:23:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 880B3C4339B; Thu, 20 Apr 2023 09:23:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1681982612; bh=nomTSTTYYYLRkOIxRyndbUCcA+Q9IBcbf4z+oPwN1uc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ei3UTBtssQ82a3RRFDPLZyWOym96LPJSS6aknrvBC8ymotX9moko7WDz2n4DJ7MNO inEhwC6QHwmxxiVEcgEOrP4dQmu9TLQrgEey+MnTHkOiNLQGY+hCG9tdRp6Y5+j42N VTIa4ak8SB195kGA6OSQnwoBNtCHLnzBow8WlM00= Date: Thu, 20 Apr 2023 11:23:30 +0200 From: Greg KH To: "WeitaoWang-oc@zhaoxin.com" Cc: stern@rowland.harvard.edu, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, tonywwang@zhaoxin.com, weitaowang@zhaoxin.com Subject: Re: [PATCH] =?utf-8?B?VUhDSe+8mmFkanVz?= =?utf-8?Q?t?= zhaoxin UHCI controllers OverCurrent bit value Message-ID: References: <20230420111445.5028-1-WeitaoWang-oc@zhaoxin.com> <6a43e6aa-5609-ecd5-b040-010763a686ee@zhaoxin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <6a43e6aa-5609-ecd5-b040-010763a686ee@zhaoxin.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 21, 2023 at 01:14:46AM +0800, WeitaoWang-oc@zhaoxin.com wrote: > On 2023/4/20 16:05, Greg KH wrote: > > On Thu, Apr 20, 2023 at 07:14:45PM +0800, Weitao Wang wrote: > > > Over Current condition is not standardized in the UHCI spec. > > > Zhaoxin UHCI controllers report OverCurrent bit active off. > > > Intel controllers report it active on, so we'll adjust the bit value. > > > > > > Signed-off-by: Weitao Wang > > > > Note, your Subject: line has odd characters in it, can you rewrite it to > > just use ascii? I think it's the ':' character which should be ':', > > right?Yes,you are right. it's my typo mistake. I'll rewrite this patch. Thanks! > > > > --- > > > drivers/usb/host/uhci-pci.c | 4 ++++ > > > 1 file changed, 4 insertions(+) > > > > > > diff --git a/drivers/usb/host/uhci-pci.c b/drivers/usb/host/uhci-pci.c > > > index 3592f757fe05..177e3c2aa287 100644 > > > --- a/drivers/usb/host/uhci-pci.c > > > +++ b/drivers/usb/host/uhci-pci.c > > > @@ -126,6 +126,10 @@ static int uhci_pci_init(struct usb_hcd *hcd) > > > if (to_pci_dev(uhci_dev(uhci))->vendor == PCI_VENDOR_ID_VIA) > > > uhci->oc_low = 1; > > > + /* ZHAOXIN controllers report OverCurrent bit active off. */ > > > + if (to_pci_dev(uhci_dev(uhci))->vendor == PCI_VENDOR_ID_ZHAOXIN) > > > + uhci->oc_low = 1; > > > + > > > > This should also go to the stable kernels, right? > > > > But a new UHCI controller? And this affects all of them? > All UHCI controller of zhaoxin have this issue, And Hope this > patch go to stable kernel.Could I resubmit this patch with > modify subject typo mistake? Yes, please do so and add the needed cc: stable as is documented https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html thanks, greg k-h