Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1234274pxb; Thu, 4 Mar 2021 06:44:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJzwTQqbjS09ecxf8G20Lf0eNRCuAvU6sLZ1QeNev3f82fTLcom/F+fE+OSa2/mh4jNuyJIK X-Received: by 2002:a17:907:c05:: with SMTP id ga5mr4478141ejc.380.1614869086447; Thu, 04 Mar 2021 06:44:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614869086; cv=none; d=google.com; s=arc-20160816; b=ppQo9SjcF2v4T9ICMfa+8jTZt2I1LUFm66bw+ZEPx21r25pL4+UpA2Foc2E1k9mwyq b3chqgfovQkHDlDl2D9d0IAt+qFusdMVgi+cg3P+DyW7hJBYdpMqJfu/Og6mQE6bDG7Z fi7ZXH9wtdSzkY7iB1X+2UeFRp+b5EwieiMC2+sjt7M6VELvKCZxLckKv288E+kKjZOh IhoGob30Y7xy06RpOyAtPhhfeHOkGGRaaf5hkY4fxrsN6orX649g9FHRoVmWbGmpLqo2 VQwWQBBDbD+cCf86CWcwZTFh2w6eTN3+ig/g5+PA0TI8ruo6nihIhcIzUQETgJcQVWN9 0QrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=d9oH0DL4IEHLgaIQX17agyKoyKf7m0tXqJeFnE2nsP4=; b=URPfMZszXW1qD5UajqFDjVNxkG1Vs6ZFg+mkTftB2Y1h49ht03xrzZN5AimkUlWWRn UHVkNWipbDP17nqWGry6gZbgXuNjzGhIljL975yPvXATVcsuf1HQpPU9jOye+D2x564Y veFNCyEi9EZS5T36UPV8+S2ADpC4Sg5/HZshwjW7Tyhu+SJs/1z/S4KC3J6GLlMcOvpN F62VKR7z4BexvFP9aZbPmsTYvNGe1lPHATo0h8xFfiEotGoREhOpw7hlLipAy43UKZUZ 20MgOn8N0P5WMUNsUVWfxt6siK0dCxAULvxf7ZB4cggbR1b1NUaxKnzjes2Rz+kPjUTy jwqQ== ARC-Authentication-Results: i=1; mx.google.com; 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 c21si17007778edt.47.2021.03.04.06.44.22; Thu, 04 Mar 2021 06:44:46 -0800 (PST) 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; 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 S233195AbhCDEJo (ORCPT + 99 others); Wed, 3 Mar 2021 23:09:44 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:12682 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232892AbhCDEJg (ORCPT ); Wed, 3 Mar 2021 23:09:36 -0500 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4DrckX3KpzzlSPm; Thu, 4 Mar 2021 12:06:44 +0800 (CST) Received: from [10.67.102.118] (10.67.102.118) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.498.0; Thu, 4 Mar 2021 12:08:43 +0800 Subject: Re: [RFC PATCH] USB:XHCI:Modify XHCI driver for USB2.0 controller To: Peter Chen CC: Greg KH , , , , References: <1614327697-1021-1-git-send-email-liulongfang@huawei.com> <87cc8b54-f530-cce0-3ea2-f879436ff5f7@huawei.com> <20210304013548.GA16596@nchen> From: liulongfang Message-ID: Date: Thu, 4 Mar 2021 12:08:43 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20210304013548.GA16596@nchen> Content-Type: text/plain; charset="gbk" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.67.102.118] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/3/4 9:35, Peter Chen wrote: > On 21-02-27 11:31:00, liulongfang wrote: >> On 2021/2/26 16:38, Greg KH wrote: >>> On Fri, Feb 26, 2021 at 04:21:37PM +0800, Longfang Liu wrote: >>>> Our current XHCI hardware controller has been customized to only >>>> support USB 2.0 ports. >>> >>> That sounds like a spec violation, right? Why do you want to do this? >>> >>> greg k-h >>> . >>> >> I hope to support a USB2.0-only mode on the XHCI controller >> through software configuration. >> Thanks. > > If your hardware has disabled USB3 logic, when the USB3 device is plugged, > since there are no RX signal on the bus, the device will not enable USB3 > logic, and only USB2 signals will be on the bus, there are only USB devices on > USB2 roothub later. So, any issues you have met? > I don??t want to see the USB3 bus controller in the system, but it actually exists. Thanks. Longfang, Liu