Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp442485rwr; Thu, 20 Apr 2023 01:23:38 -0700 (PDT) X-Google-Smtp-Source: AKy350bP7B7e6u+ivBxX6fb335xEHC0NAZWLoqc46qB3B9qJKVchS51OR/xOIjFXoTv1blH+qLtn X-Received: by 2002:a17:90b:1d90:b0:23f:7c82:2468 with SMTP id pf16-20020a17090b1d9000b0023f7c822468mr854187pjb.31.1681979018441; Thu, 20 Apr 2023 01:23:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681979018; cv=none; d=google.com; s=arc-20160816; b=l8XjeV1djAk4bwXRgwm5lfIIjWmPxFP0AqRlxWaKGn5aoDErtsc6tnO8yBtNSXK3qW JnRghRlfZ0tilxE6/eI2pZa6SDLw5V/hSc6NFfm1oQfv7QS2pLLHwQEJvVMgbOiW6ZJG JrP+Gyt2Rcqjz/12RbIJL/JeMwg0RBUEbj63euh1MBsjpTmXIRI/lUSVy5OrTg8gdy/x +QZ4TcvAzYoJQiuJ6Dbv/HuuS43zYFPNXQAApLR/+Awd7EabhNOBbV0VYQzL8JOAHABU ixRtuIHweeCXpmKtysNbaUF6EFL3uNxhn617Z4iDzmArDpmXxRShsDxkJv1eRsJP6A6n Dkuw== 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=GHM289bNbyOtTtr05LMMF5HZIq6RD2KlYSJI3JIo2h8=; b=J8hKoMZ2UD3q5Mq9NJNLIye6HUuj4UFTYktTtHte2bCcE7F1MElmF/+62g6C1BKO8n bUmP+je3ihkKRK1K/Wroc3KEtnWdI8ncWHkZg1HT9UHwqAWMyXLKX2NrhCnwZvrQeK+0 O06po91A69iy6K9LUsUiJPGsnE/zIsbJn0khQRNwpj8eDnXocs1dDvDvNWs6aDjbwP+5 RlQO4MOAxP67OZB1fwvcO77dzW3P04VXsTdiCibbOmB+KqwqebUH42j2Nl76AOOUs4Er aBERAJ8CCyDDFgf7IaHyWFP4Ssul35jNCUNR/DAs8PkPUkP+913r/1+kOqLFDrHtlls5 Tuyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=vJyiMIBu; 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 m6-20020a17090a4d8600b002473e16b67esi1358122pjh.48.2023.04.20.01.23.24; Thu, 20 Apr 2023 01:23:38 -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=vJyiMIBu; 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 S234304AbjDTIFz (ORCPT + 99 others); Thu, 20 Apr 2023 04:05:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233697AbjDTIFy (ORCPT ); Thu, 20 Apr 2023 04:05:54 -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 939C613E; Thu, 20 Apr 2023 01:05:52 -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 2FD7A645C8; Thu, 20 Apr 2023 08:05:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4B640C433EF; Thu, 20 Apr 2023 08:05:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1681977951; bh=+qe60FxZ8S+AEFk5qkOdglqHYeXQSiB/ZLnG9r85jZU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vJyiMIBuG3fkJoXI39w2qRTLx5IQcOH27ELWkNr5bSIuY+sTdigfl+u++ulqEf9i2 FeAyLzyQ1EajgMqHRUBVGq4lnlrAU2QqBuThZbeH9ycUjyN/Cl2FqSIIGP0ew/o4be AYZI0lZgdKPUla9/fSkhSfBc2u5G0msSMRmqWh5I= Date: Thu, 20 Apr 2023 10:05:44 +0200 From: Greg KH To: Weitao Wang 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230420111445.5028-1-WeitaoWang-oc@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 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? > --- > 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? And why is Intel an issue here (as you mention in the changelog text)? thanks, greg k-h