Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1704580pxb; Fri, 26 Feb 2021 19:50:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJxexO6PWBrKbPvRX/zJgO3lBm6iF1YsrORQwkTwSXgFzalxZVSQhnx9Jk2Y9w+OHZ1KiDWF X-Received: by 2002:a17:906:938f:: with SMTP id l15mr4946633ejx.15.1614397804558; Fri, 26 Feb 2021 19:50:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614397804; cv=none; d=google.com; s=arc-20160816; b=jHkRYYVCv/to656QPlcxrgYDtKpa0VVGnNIUNu+INVVpTT+0SUrX8kf44QfKa/53al Eodvdrq0T6TRpIfZuRc80lcrFPmBKbALp0spU0MAPaG+9Tt/diEneBfifZ+s3LnEsbWa MK/00lSuKYInExLK+dRBuv8eUsBDH5MvcJAXCQYkNyWJ+J/IW7VJiUXaUmJVaMj+T4ns HAIaIUb8rG5oasHmWJR+TlN09x1TmIhRjnJUCJlTePm8CpuTc/VgBMkPESXIvXPULwG6 V/xzOvMUCatJtTmSWmwxiknz8/UbYawWjp2fHnMo5PE3E6Mxm5xKzaM6NCAWe8heL7dZ YLpg== 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:references:cc:to:from :subject; bh=Th9Hi6z15QgYxCGoym2x9d7WyCn4RT6XzsTczqdMSFY=; b=OkdzKQRV1Lx3Wxbhn3OIXb+DjjEug21u8RDwiQw8AxhzsRM6aC9wiQAg49VjpAEJ4c MGqloaxKtPsnD2OXj4SEPNKjs0x6M3iGHfkWTzRPIIqAG7FIbm2w2yr3WiVhlUURHfON j0LmytLW7T8S1FTkTzTTafaMRBkPsyH9OI8t7qHnXMDjtuKqR35GO4i09Sy8TMeyrVN8 xYs3OTZZIjRQ8TLUcK+W3Wx8AnjuFK5HVRr/N/XGkGvOve657Tki6Ot5gpkgzjueQVvr TQVBuwksKj+W0LczmXPja6zIMcBrpK4C/LiQU3zqAKizw/G67rBNNo+mVag30sa+sczd AvPw== 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 e12si2076932edj.427.2021.02.26.19.49.41; Fri, 26 Feb 2021 19:50:04 -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 S230001AbhB0DtB (ORCPT + 99 others); Fri, 26 Feb 2021 22:49:01 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:12215 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229863AbhB0Ds7 (ORCPT ); Fri, 26 Feb 2021 22:48:59 -0500 Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4DnXWB3t50zlHL9; Sat, 27 Feb 2021 11:46:14 +0800 (CST) Received: from [10.67.102.118] (10.67.102.118) by DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.498.0; Sat, 27 Feb 2021 11:48:12 +0800 Subject: Re: [RFC PATCH] USB:XHCI:Modify XHCI driver for USB2.0 controller From: liulongfang To: Alan Stern CC: , , , , References: <1614327697-1021-1-git-send-email-liulongfang@huawei.com> <20210226163004.GB1392547@rowland.harvard.edu> Message-ID: <7e880f79-8568-7b14-cb2f-4be647538ba1@huawei.com> Date: Sat, 27 Feb 2021 11:48:12 +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: Content-Type: text/plain; charset="gbk" Content-Transfer-Encoding: 7bit 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/2/27 11:38, liulongfang wrote: > On 2021/2/27 0:30, Alan Stern 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. When using the current xhci driver, an xhci >>> controller device and an ehci controller device will be created >>> automatically. >> >> That sentence makes no sense at all. An EHCI controller device is a >> piece of hardware. How can an xHCI driver, which is a piece of >> software, create a piece of hardware? >> >> Alan Stern >> . >> > The hardware device is a complete USB3.0 controller, On the hardware, only the hardware connection of the USB2.0 port has been opened > but I hope to support a USB2.0-only mode through software configuration. > Thanks. > Longfang Liu > . > Thanks. Longfang Liu