Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1599588pxb; Thu, 4 Mar 2021 15:59:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJz6mRHAH8uxoQYSzf+WWzTcPpvGSotpfRSLq98zJVHjm9B2Orm4ymFlrlk4ScWcDJIO1kN0 X-Received: by 2002:a05:6602:98:: with SMTP id h24mr5819301iob.19.1614902354598; Thu, 04 Mar 2021 15:59:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614902354; cv=none; d=google.com; s=arc-20160816; b=dpvr5oEmkRmSTKjtH27AeIuIMOj4Qim2BKkDLLi5cWZ15Di+mxjZ6xLKzbd8eWFtwQ y+RbhJunEF96O3ou8rY9Mtn6cIY3CvJ/9f8XaLgCDbnZkec+dAfmHaExhCtxN6KOcTjb SWm932Ns/qvCFIsDRII9FC+Uoghdc2mzOB/B7LS04rehd+LdI/XmP04vfbXUUt29GSSO /Ms2Czoj991dagZCGjxm/DLHVPOilV3mhYYJkRoK8xe8GuoBmh1H7h8QxldIW/LwXO4J M/dQoa3PELYwoAxvyPx/iIg61DhmGS90JIBzPmo4yvFKLJWwV70aOhPJr31TTcGDhXJq mpWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=JhBKrMFfdmgAH7bGq+pcEa90DbVDdYSr+884+eWs1f8=; b=J8Fvx0W+zB6einC678BU+ry1ItwuW+qqejWK3N6yz5Ps3+xCvN7Ej/xxFSE4QfUYwQ EiOUTa2TI3xYI6k+B8hHC13ZLHxeWFVQsLXmgkgQwGBpXYtS2zwMFfVo8rZBY00yWSL5 nLpo+CJemamtxztbcYKO/eRthKzrkkg3dVi8V+P5v25X3toKIXRdJTHDitNAaZ0mmho4 cFnTc79zxwRbiJF6MdKwdKC+KntTnkDfJ+qYHOOXuyzusum7Tb261Y0ghNmyNJ6OWj3E k7zHD7oxQOKAmm4x7gW91ATKrBL1b3673v+t51mKWjZDlKMV5xnWo1/2oEcMiNBe3Pwi Toag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Y7w5u5sg; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x129si631176iof.75.2021.03.04.15.59.01; Thu, 04 Mar 2021 15:59:14 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Y7w5u5sg; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231755AbhCDBgi (ORCPT + 99 others); Wed, 3 Mar 2021 20:36:38 -0500 Received: from mail.kernel.org ([198.145.29.99]:59634 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231683AbhCDBgf (ORCPT ); Wed, 3 Mar 2021 20:36:35 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 717F56523D; Thu, 4 Mar 2021 01:35:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614821753; bh=Qe7zGUitWIYRrO9+yOOXaqCaFvUR2e3wtBb+ql0NqIA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Y7w5u5sgdSYnaZk7ektFug+FNzuWFx+BfLgvydnYyBsjboq9UDNoTmaHGrnrXDXS0 VxmQtz5yAf5FXliFzO5wCmNq8zsi1LYLr0VZRLB1whaigliLnrdoj0kHJOOLK6WX+K 52gbShNnbjmASVJYsXrSUhyGm8wWlhzXyCTHIcNtS4mk18lqIbvi4OWhoSL0q+xup2 1yO6hBOwA7u7lMz3Er3MamRdtIs0l9IUJBASRYX5ZpuavDYv5E7posggNyYfgbibaa sD9sBXSlnA9W5OJt7JFFpSnQFS3BNpXeBpNuP1txZsKOWGshA0N/NceUjL4E3997Uu nHekpx+ft246Q== Date: Thu, 4 Mar 2021 09:35:49 +0800 From: Peter Chen To: liulongfang Cc: Greg KH , mathias.nyman@intel.com, linux-usb@vger.kernel.org, yisen.zhuang@huawei.com, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH] USB:XHCI:Modify XHCI driver for USB2.0 controller Message-ID: <20210304013548.GA16596@nchen> References: <1614327697-1021-1-git-send-email-liulongfang@huawei.com> <87cc8b54-f530-cce0-3ea2-f879436ff5f7@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87cc8b54-f530-cce0-3ea2-f879436ff5f7@huawei.com> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? -- Thanks, Peter Chen