Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp362316ybt; Tue, 30 Jun 2020 23:51:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2TTysLSKPku1MIupv6odXuEmXABwud9YBt344sIqlubXyNricvn5w4Yr6rvBv2bt1KNbX X-Received: by 2002:aa7:da4c:: with SMTP id w12mr15477908eds.122.1593586312344; Tue, 30 Jun 2020 23:51:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593586312; cv=none; d=google.com; s=arc-20160816; b=iQVekUfviMuLbduTRqQkhk7kteMOErXdmjbVenlDBkKnSSI1gl3vFEwYrxVijNidVK rP5e+oI1ya+oUNpN9svMo2YPgo6gwFAyUwLuvJUwxx/tPPM0EmAItMLIZFM44gEQqxn4 OmGq7FhHuqQVHFm8CCAxhtTk/OaIfruMcf4TdxxrkA9AU234JgVerisaZv9ladPUuQEs omBssq+QMEl5lOU9APuYDQ8CjX5VH2VGWlGLASQuPHPbWuvBLxf6XKsNBbuwmyBJ9aNs BVgIyZRAUcDh0keuhs7h2CyCYWjC322EHZvl4d7BR5UjkSvsGb9d7vH8W+/vGeZXddRt 7PvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=OzKJLN/xLJ6i3YFnm1pC3hcQnR7ANmU/J3gTPZIxPd0=; b=Qcj4ka3Wvikuh6Uc/XycwmRU5msWIKqsDvyxJv2UTAVi0OLraZnp1iq550AzJ3hf4S /cEdvQd5/o0iBRNWEdmc6UJMosy5/pE+HB4L6IZ5v5+OTpOsqNhUy71cxHmF9Ms3e4pC ug+wM1cTXLDF9WTHlvixMYmwPTFZC9JNd7Rh2Izmry1VH6EkuwMRqWiFBF5IgqjoyqBJ 9iNioTWkmJ5AIkWeOpp0ekLj1pOSjNxct+JQjVq5qx9fnNduFQa/MYds3WeN+kX0FOJC hd+GqDHvQu2EN38TfUKnZkwH+Goucb9piX2GuBRZanSpTc2RqS9ZEWiGOFHkGbxY/A8S uYfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=IPwJpsgo; 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 12si3835002edv.523.2020.06.30.23.51.29; Tue, 30 Jun 2020 23:51:52 -0700 (PDT) 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=default header.b=IPwJpsgo; 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 S1728041AbgGAGvF (ORCPT + 99 others); Wed, 1 Jul 2020 02:51:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:50566 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727943AbgGAGvF (ORCPT ); Wed, 1 Jul 2020 02:51:05 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0B77120663; Wed, 1 Jul 2020 06:51:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1593586264; bh=IvkldxSKy6dI7BoDzvZmf7aeX4tfPJCRDYRLEDZqKMQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IPwJpsgotx+b38Fkxsx62wgi3q01XfBP3GU//4orXtlEWskY5MZ4mak46kahneNZg Nm5VLRsavkVRP3LUdzeqXZnKkAF5RB11bcudAhuJYEFLYxBPB4Lvduq7qKPDs0vBv2 ypqOvhqvALfE9KsIE/SlzwECxKdcutu33CA6uZLg= Date: Wed, 1 Jul 2020 08:50:51 +0200 From: Greg Kroah-Hartman To: Peter Chen Cc: Peter Chen , USB list , lkml Subject: Re: [PATCH] USB: Fix up terminology Message-ID: <20200701065051.GB2044019@kroah.com> References: <20200630174123.GA1906678@kroah.com> <20200701062924.GA5927@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 01, 2020 at 06:40:20AM +0000, Peter Chen wrote: > > > > > On Wed, Jul 01, 2020 at 02:02:00PM +0800, Peter Chen wrote: > > > > index 3a7179e90f4e..1a12aab208b4 100644 > > > > --- a/drivers/usb/gadget/udc/Kconfig > > > > +++ b/drivers/usb/gadget/udc/Kconfig > > > > @@ -474,7 +474,7 @@ config USB_DUMMY_HCD > > > > help > > > > This host controller driver emulates USB, looping all data transfer > > > > requests back to a USB "gadget driver" in the same host. The host > > > > - side is the master; the gadget side is the slave. Gadget drivers > > > > + side is the controller; the gadget side is the device. Gadget drivers > > > > > > 'the host side is the controller' may not be suitable. > > > > Really? It is literally a "host controller" as per the specification :) > > You are right. At first, I thought, there are device controller, host controller and dual-role > controller, why you only said, "the host side is the controller"? After checking USB 3.0 spec, > there are only "device", "host" and "host controller" at its Terms and Abbreviations. > > device > A logical or physical entity that performs one or more functions. The actual entity > described depends on the context of the reference. At the lowest level, device may refer > to a single hardware component, as in a memory device. At a higher level, it may refer to > a collection of hardware components that perform a particular function, such as a USB > interface device. At an even higher level, device may refer to the function performed by > an entity attached to the USB. Devices may be physical, electrical, addressable, and > logical. > When used as a non-specific reference, a USB device is either a hub or a peripheral > device. > > host > The host computer system where the USB host controller is installed. This includes the > host hardware platform (CPU, bus, etc.) and the operating system in use. > > host controller > The interface provided to the system to support devices on the USB. Thanks for the confirmation. This is why we had to "invent" the term "gadget" to describe the code that runs in the device to try to reduce the confusion here. greg k-h