Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp527972rdb; Tue, 16 Jan 2024 07:45:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IEzRUM1P0lWytRQ6nHA1l2V1ODyvuZKA2i58ebe6Rhpf6/PMjLfb5XYtzPd0fG+vHvGk0fE X-Received: by 2002:ac8:7f51:0:b0:429:cd35:b03e with SMTP id g17-20020ac87f51000000b00429cd35b03emr9138748qtk.13.1705419927584; Tue, 16 Jan 2024 07:45:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705419927; cv=none; d=google.com; s=arc-20160816; b=vrXjJ1avavDBiol+HtM716sWXtxun+yLfxI+XsH5PDmhRts9nfESjYmm+r2+3Cx422 2Nfse0/eKDYYQipounV2mMhR6cvyTA+wQCvooZ8sCCumnjd3GXpgQglfmb5Y1TGQWKBV L0fra9H1HfIIS1Sh8WjmCHVLyUcRYWjPhKT10+01LPZxDZL+SdKxG15aFlGtQffrkwjU RgjaIhdHvZ2FuLUcyo79YTf+KY9WpijUrwjTEEkkjWJn93Llfm3ezmiBoUOJU3/HWJer jbNoWgU4wCo4UpspcdCNR2hRunDiD0BL40iAfpM41TbDmbCiq7o92xOOUk30tUw512vd ydrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=32mhaclfrLEV17WLcY7hP0eXCFG3K08lCAnJH6QFroA=; fh=awjIANo9b0UgFmztxECmPE9gLD1KnxOPAfwAwPg1G+o=; b=kBWqV4tUgoJHR2+bDM79qO+iSIXNF5tdvlOgvA2eS2LyRLzSnCw0FLi5Ef4h4BWqBD sb1usDvnHzGKT1Nt1YZJputzPQxhrufHJc4Ip5pqLPRWSQnxDU1ht41vrX1FG37l2Ixm nwvySOmphFDQukLpXIZrYWhkZC0djcpDL9WMu0MMmtBWty0dfIiPPXXc0Usviyo+AH51 NLfHcS/zrzwFtbNKbFX/ybp80bw9i/5iiciXWZmhHlQ8jLilfUGdily5TxbTTN3jqUwf xiG5HVzYpY37tBJSSazOrlwixvLD9HXCJM6PvjIIOO+LhB1E5VU6O+2RDjszDQXwbflh 5++Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-27536-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27536-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=harvard.edu Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id g18-20020ac87f52000000b004298c136565si10219269qtk.380.2024.01.16.07.45.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 07:45:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-27536-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-27536-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27536-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=harvard.edu Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id B030B1C2335F for ; Tue, 16 Jan 2024 15:45:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 28F5B1C2A3; Tue, 16 Jan 2024 15:45:17 +0000 (UTC) Received: from netrider.rowland.org (netrider.rowland.org [192.131.102.5]) by smtp.subspace.kernel.org (Postfix) with SMTP id 101E81C294 for ; Tue, 16 Jan 2024 15:45:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=rowland.harvard.edu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=netrider.rowland.org Received: (qmail 746033 invoked by uid 1000); 16 Jan 2024 10:45:13 -0500 Date: Tue, 16 Jan 2024 10:45:13 -0500 From: Alan Stern To: Dominique Martinet Cc: Michael Grzeschik , Eric Van Hensbergen , Latchesar Ionkov , Christian Schoenebeck , Jonathan Corbet , Greg Kroah-Hartman , v9fs@lists.linux.dev, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, kernel@pengutronix.de Subject: Re: [PATCH 1/3] usb: gadget: function: 9pfs Message-ID: <206e4e7b-0ba4-4177-b04d-cab67c2bba2d@rowland.harvard.edu> References: <20240116-ml-topic-u9p-v1-0-ad8c306f9a4e@pengutronix.de> <20240116-ml-topic-u9p-v1-1-ad8c306f9a4e@pengutronix.de> <4856923e-3ce8-4372-9451-f9c8aa157111@rowland.harvard.edu> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Jan 16, 2024 at 01:04:08PM +0900, Dominique Martinet wrote: > Alan Stern wrote on Mon, Jan 15, 2024 at 10:17:34PM -0500: > > > diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig > > > index b3592bcb0f966..72cdecaef6aa9 100644 > > > --- a/drivers/usb/gadget/Kconfig > > > +++ b/drivers/usb/gadget/Kconfig > > > @@ -153,6 +153,10 @@ config USB_F_ACM > > > config USB_F_SS_LB > > > tristate > > > > > > +config USB_F_9PFS > > > + tristate > > > + select NET_9P > > > + > > > config USB_U_SERIAL > > > tristate > > > > > > @@ -363,6 +367,13 @@ config USB_CONFIGFS_F_LB_SS > > > test software, like the "usbtest" driver, to put your hardware > > > and its driver through a basic set of functional tests. > > > > > > +config USB_CONFIGFS_F_9PFS > > > + bool "9pfs over usb gadget" > > > + depends on USB_CONFIGFS > > > + select USB_F_9PFS > > > + help > > > + 9pfs support for usb gadget > > > > This may be a dumb question, but what is the purpose of this CONFIG > > symbol? It doesn't get used by any of the patches in this series, as > > far as I can see. > > USB_F_9PFS cannot be selected directly in menuconfig so this allows > configuring the build option -- that appears to be how the other usb > gadgets are configured so I assume it's done that way for consistency > more than out of necessity (I don't see a problem in making the build > system use USB_CONFIGFS_F_9PFS directly, it'd just be different from the > rest) Oh, I see. Patch 2/3 selects USB_F_9PFS directly in legacy/Kconfig without touching USB_CONFIGFS_F_9PFS. Thus they need to be separate symbols. That explains it, thanks. Alan Stern