Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp502042rwr; Thu, 20 Apr 2023 02:24:11 -0700 (PDT) X-Google-Smtp-Source: AKy350ai+1YqHYWuoWPb3B7UKUv1Ee2f/aJj9Fn4VZtHy6cfM3knZr0QJvXxSSVaafXyi1RRlDdF X-Received: by 2002:a17:90a:ec0b:b0:244:952c:9701 with SMTP id l11-20020a17090aec0b00b00244952c9701mr1126283pjy.7.1681982651446; Thu, 20 Apr 2023 02:24:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681982651; cv=none; d=google.com; s=arc-20160816; b=pgsv8wT4wXyR1xkVjFdypwfRH6Y73FOJR3jYno+Yilneh5PYi6ix7bn0KLKSmrTL7q nBsEr2PJDp6PadLEPn6BUntCbB1FlPK62S3zcW6JmZA4Y1u5cgay80LKiGC1JieIvl4/ rFzl2bOG8wBmUmFtkmzkoIhfDSXOqruhZXNxO31m0fsGWqoRhVQdjikEJtkr/k2ZW3xJ ysg6ReojCDKeCXo2Q9PGlTVrnCv/B6MWrH2qEf/OFugyeh6kK9ETN+gVICiPxQb0nwR+ bYBFEi6MTigyGGIsgBmqUB0Mde9yUj+x+RJtBtjHBPGEIUESFt3Cnq7XPrvgBfXrr45B IbeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=W/WNbZFccMLPhXTzo7cdUYRmuRXodJc4uMafkjTIgAA=; b=Up88E6HUksNGCLFdl0MMpgHsszAEUqVI1261JBowlPtKQCxfhRR21y2dmkdjkBe/dy 9F4c5b/ZdcA8L/jsI6Sf5VtbuoXdZmsIcE7bugeQYQrRhVlgLqzgDOmloP5ldVpjqGqU zAKOgU9Ar4rTKcASjxQ+uLL1aTphtV4lRzYXdr6AaHCyzwGrLkewLnfDcsxRapDFp4s4 pnClv+m0nWba37Kkbda/HSij74DfnG+OxSWzUmv4EX22w6QwS3ogEzq1drJQ5aw2NmWK uzUC//RktnY7+x8aoiWHQTkFtfwCQvIeMPQKYu25/jWKhWF4fyrkOt4cnqpGghFCFRkD W+ag== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v6-20020a17090a6b0600b00246b845f3efsi3976153pjj.80.2023.04.20.02.23.59; Thu, 20 Apr 2023 02:24:11 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234179AbjDTJVk (ORCPT + 99 others); Thu, 20 Apr 2023 05:21:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232605AbjDTJVf (ORCPT ); Thu, 20 Apr 2023 05:21:35 -0400 Received: from mx2.zhaoxin.com (mx2.zhaoxin.com [203.110.167.99]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8D7B26B8 for ; Thu, 20 Apr 2023 02:21:34 -0700 (PDT) X-ASG-Debug-ID: 1681982491-1eb14e63872da70002-xx1T2L Received: from ZXSHMBX3.zhaoxin.com (ZXSHMBX3.zhaoxin.com [10.28.252.165]) by mx2.zhaoxin.com with ESMTP id mh3utCSnDs9ujFiT (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Thu, 20 Apr 2023 17:21:32 +0800 (CST) X-Barracuda-Envelope-From: WeitaoWang-oc@zhaoxin.com X-Barracuda-RBL-Trusted-Forwarder: 10.28.252.165 Received: from zxbjmbx1.zhaoxin.com (10.29.252.163) by ZXSHMBX3.zhaoxin.com (10.28.252.165) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Thu, 20 Apr 2023 17:21:31 +0800 Received: from L440.zhaoxin.com (10.29.8.21) by zxbjmbx1.zhaoxin.com (10.29.252.163) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Thu, 20 Apr 2023 17:21:30 +0800 X-Barracuda-RBL-Trusted-Forwarder: 10.28.252.165 From: Weitao Wang X-Barracuda-RBL-Trusted-Forwarder: 10.29.252.163 To: , , , CC: , Subject: [PATCH 1/3] xhci: Add a quirk for zhaoxin xhci to fix issues. Date: Fri, 21 Apr 2023 01:21:28 +0800 X-ASG-Orig-Subj: [PATCH 1/3] xhci: Add a quirk for zhaoxin xhci to fix issues. Message-ID: <20230420172130.375819-2-WeitaoWang-oc@zhaoxin.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20230420172130.375819-1-WeitaoWang-oc@zhaoxin.com> References: <20230420172130.375819-1-WeitaoWang-oc@zhaoxin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.29.8.21] X-ClientProxiedBy: zxbjmbx1.zhaoxin.com (10.29.252.163) To zxbjmbx1.zhaoxin.com (10.29.252.163) X-Barracuda-Connect: ZXSHMBX3.zhaoxin.com[10.28.252.165] X-Barracuda-Start-Time: 1681982491 X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256 X-Barracuda-URL: https://10.28.252.36:4443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at zhaoxin.com X-Barracuda-Scan-Msg-Size: 761 X-Barracuda-BRTS-Status: 1 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0046 1.0000 -1.9912 X-Barracuda-Spam-Score: 1.12 X-Barracuda-Spam-Status: No, SCORE=1.12 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.0 tests=DATE_IN_FUTURE_06_12, DATE_IN_FUTURE_06_12_2 X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.107672 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.01 DATE_IN_FUTURE_06_12 Date: is 6 to 12 hours after Received: date 3.10 DATE_IN_FUTURE_06_12_2 DATE_IN_FUTURE_06_12_2 X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_00,DATE_IN_FUTURE_06_12, 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 Add a quirk for zhaoxin xhci to fix issues, there are two cases will be used. - add u1/u2 support. - fix xHCI root hub speed show issue in zhaoxin platform. Signed-off-by: Weitao Wang --- drivers/usb/host/xhci.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h index 786002bb35db..d95980fb5bd9 100644 --- a/drivers/usb/host/xhci.h +++ b/drivers/usb/host/xhci.h @@ -1905,6 +1905,7 @@ struct xhci_hcd { #define XHCI_EP_CTX_BROKEN_DCS BIT_ULL(42) #define XHCI_SUSPEND_RESUME_CLKS BIT_ULL(43) #define XHCI_RESET_TO_DEFAULT BIT_ULL(44) +#define XHCI_ZHAOXIN_HOST BIT_ULL(46) unsigned int num_active_eps; unsigned int limit_active_eps; -- 2.32.0