Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1700866pxb; Fri, 26 Feb 2021 19:40:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJyn4NfOTtEiln6aXxRS+0TrLsfQNs6ysNT3XFC82JYf22HU5ywIawHbvhkmnFpoiLTfh0+d X-Received: by 2002:a17:906:4c56:: with SMTP id d22mr6758564ejw.426.1614397222608; Fri, 26 Feb 2021 19:40:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614397222; cv=none; d=google.com; s=arc-20160816; b=xWS7J8zCbUc7mTEAYfmoM+Qn4i7Dj27JRA+qOOcLf2wYE2eIzED8xd1DUmTjaVKm4D 0jHderSGfVIJSJLPKJsH4VDZQOgoUzAuOhf5qCoVMX4kpikXEGjG5CVd0wvcpQL71T1G n0hnJ9ZnjHqVqHZxdBpbkEo9ZVi6x0/B70Ed0QIdTBHxBk1B7QZDTz+kH7EkqF+XbJjY 8p1Hd9UL46jgaAZKN95Eqd56Mslm4hchdJu7cYYtOE4i5syGKOKc1lVgyINges0nSiXE eXqWhbSeYsVxIxcE2U4nzRjNVleQ1oX8Ka9gOMn7mnPCnfs4qdi1opqPYs+0qUKS8Pii m6kg== 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=y20N84mctWVRzBPbDPKtnPMXkVc7BbKOhlh5Bg1e2RY=; b=AexdePMNeZssaiRhmz2oMcrUZyo16oBK9JOhnt2CnJHkEms2nqdjIcjSOdW+7P+1fY LNzlXJKGrwfbRG0O+4y6E7D/zm3UzlV/0rOrTjX7FgcPkkL8VmwuoKQ7bGfiXG18KR/t IXawL2RNUa3RvcpLth7q3keilATBV/3Vi1DwuT9Xadec3NcDgbhk/qGucTWhwt5Hpdm9 UqrWO/Z2ALUnVKAAVmPXSsYIDyxowvHEqeIKAH4hjqjoeI2z4gSggqAasnzOb+eZjcH5 vCTCLTKIOcq5tF4OkM1DmgUpMhmSQzm/yiGOwWK19Nh5Vq6yuVVNbBoWzg3Wrh3wM5ZO rpHg== 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.40.00; Fri, 26 Feb 2021 19:40:22 -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 S230001AbhB0DjG (ORCPT + 99 others); Fri, 26 Feb 2021 22:39:06 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:13094 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229864AbhB0DjA (ORCPT ); Fri, 26 Feb 2021 22:39:00 -0500 Received: from DGGEMS401-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4DnXJ62KfGz16C83; Sat, 27 Feb 2021 11:36:38 +0800 (CST) Received: from [10.67.102.118] (10.67.102.118) by DGGEMS401-HUB.china.huawei.com (10.3.19.201) with Microsoft SMTP Server id 14.3.498.0; Sat, 27 Feb 2021 11:38:08 +0800 Subject: Re: [RFC PATCH] USB:XHCI:Modify XHCI driver for USB2.0 controller To: Alan Stern CC: , , , , References: <1614327697-1021-1-git-send-email-liulongfang@huawei.com> <20210226163004.GB1392547@rowland.harvard.edu> From: liulongfang Message-ID: Date: Sat, 27 Feb 2021 11:38:08 +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: <20210226163004.GB1392547@rowland.harvard.edu> 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 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, but I hope to support a USB2.0-only mode through software configuration. Thanks. Longfang Liu