Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp228008rdb; Mon, 15 Jan 2024 20:04:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IEGx2wGd/8RVhhNSPwACCdjLH88ks7/eXZkWyXyzfXtWI8czdTgx623mvRppXBvI+Vb0R8x X-Received: by 2002:a05:6830:3b0d:b0:6dd:ecfc:6231 with SMTP id dk13-20020a0568303b0d00b006ddecfc6231mr6953988otb.49.1705377889186; Mon, 15 Jan 2024 20:04:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705377889; cv=none; d=google.com; s=arc-20160816; b=S4T+29NLqvIIGgUwvdnzbBZS+X9s/G1bdrCiLVfDNA1K20Dn7E30t5FFEeVlBMOPiO SG5qsJ3sv46LbMCCDBItsdjiFSnXCZViCRlEarB7u4fRbWymCStTxbq7S4ofWHFYf6bB sV2VctZVIlrM3BhEb5wL3rv76/AhzZzuhS58pKonP3EH75KOQwxFMzdrpcZnMMorXHDB haJLg0ezrEz1I/wRyvl4ni/WQ4NdnkYd0iArVRJOjYdt+vb/P1W2SyhMPymF+3AT1sCx 7CUnYPiQynP9gdNaDnHmFxshPUu1BnLlAJjfFktz4ztpuA7IeadYNPcmbGx2Ru8Qc53y 3z1w== 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:dkim-signature:dkim-signature; bh=/aO4xrkVMg6aSFqO+IRlnuSmorQeMyv8Ss2BauLOeEk=; fh=qUnbrYteV09A2FVsH4g4tKHSizYOrb8olEQZjOx8UYE=; b=bk6zkEF6aU/PathH+tVU2bRlKdVuPlDEFwpsdHVkJL9g1OowCzERfJrFNWWrYP736a 4gz2uiZ/FUYaFfm/AxiC6pC3xaIBBA2uxJaUNAdkhDpsvVzGK2TkRP1eQ+akthJ/vHBC 3S1ImWbMSyntTuqf3jCwExlYs42xM2nLG1l2jxGKc60b9FoUd1BG/RKb5K5P9RxS0FRx kilzY2dR/dd/+gS4UbLEA+kG3euQxgBqaPRhsIiHu+nMxxz3P+phhLb+ZnFO8YKfxx7j 7cnGZufnnkoEbBG1dB2rcgi9tlLp/Zo+NMH7ufkNzH9o3QoRERy90QmcQYwq20KX/9B+ F1Iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codewreck.org header.s=2 header.b=MTCmSxV5; dkim=pass header.i=@codewreck.org header.s=2 header.b=MTCmSxV5; spf=pass (google.com: domain of linux-kernel+bounces-26946-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-26946-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=codewreck.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id y68-20020a636447000000b005cdfad41c2dsi10074366pgb.803.2024.01.15.20.04.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 20:04:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-26946-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@codewreck.org header.s=2 header.b=MTCmSxV5; dkim=pass header.i=@codewreck.org header.s=2 header.b=MTCmSxV5; spf=pass (google.com: domain of linux-kernel+bounces-26946-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-26946-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=codewreck.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id C68F0284931 for ; Tue, 16 Jan 2024 04:04:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C07D579EC; Tue, 16 Jan 2024 04:04:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=codewreck.org header.i=@codewreck.org header.b="MTCmSxV5"; dkim=pass (2048-bit key) header.d=codewreck.org header.i=@codewreck.org header.b="MTCmSxV5" Received: from nautica.notk.org (nautica.notk.org [91.121.71.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D7A94848A; Tue, 16 Jan 2024 04:04:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codewreck.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=codewreck.org Received: by nautica.notk.org (Postfix, from userid 108) id ED726C021; Tue, 16 Jan 2024 05:04:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codewreck.org; s=2; t=1705377872; bh=/aO4xrkVMg6aSFqO+IRlnuSmorQeMyv8Ss2BauLOeEk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MTCmSxV5vzb2xX7Qa9Mq5Zozqaqtm2X3liNKY65G6TEXJMtLX2WNgg5pvyxmFhamf PdZ5tDd95sgTThBo5dRm0E9f3UOZf8f31+2EPi31LuQ6i4aExsly2qaORnVrCnLRkV zxGvb1Q0h2Dn/NZBRs/Y8T9z0OzQCJXK12XDNRSdSqvfwnZU/q844qP9ZUThY5Jj+t VWdii95JOfvjIvV2A4GvtHhtJJtPIShOWdyBfwwP8xoTZPOZygOXv3wtPD5O2sTfOd 4Ebf+hA38tOwI0zWUuYPuZg3UO2r0L5q84dNZcwm6uGW2jEeyDYP3jrC3639ycB14A JrgZbsTwDwujw== X-Spam-Level: Received: from gaia.codewreck.org (localhost [127.0.0.1]) by nautica.notk.org (Postfix) with ESMTPS id AE02EC01A; Tue, 16 Jan 2024 05:04:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codewreck.org; s=2; t=1705377872; bh=/aO4xrkVMg6aSFqO+IRlnuSmorQeMyv8Ss2BauLOeEk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MTCmSxV5vzb2xX7Qa9Mq5Zozqaqtm2X3liNKY65G6TEXJMtLX2WNgg5pvyxmFhamf PdZ5tDd95sgTThBo5dRm0E9f3UOZf8f31+2EPi31LuQ6i4aExsly2qaORnVrCnLRkV zxGvb1Q0h2Dn/NZBRs/Y8T9z0OzQCJXK12XDNRSdSqvfwnZU/q844qP9ZUThY5Jj+t VWdii95JOfvjIvV2A4GvtHhtJJtPIShOWdyBfwwP8xoTZPOZygOXv3wtPD5O2sTfOd 4Ebf+hA38tOwI0zWUuYPuZg3UO2r0L5q84dNZcwm6uGW2jEeyDYP3jrC3639ycB14A JrgZbsTwDwujw== Received: from localhost (gaia.codewreck.org [local]) by gaia.codewreck.org (OpenSMTPD) with ESMTPA id 6f25fe22; Tue, 16 Jan 2024 04:04:23 +0000 (UTC) Date: Tue, 16 Jan 2024 13:04:08 +0900 From: Dominique Martinet To: Alan Stern 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: 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=utf-8 Content-Disposition: inline In-Reply-To: <4856923e-3ce8-4372-9451-f9c8aa157111@rowland.harvard.edu> 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) -- Dominique Martinet | Asmadeus