Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp214820rdb; Mon, 15 Jan 2024 19:17:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IEdLwDoSoeD76mL4SltKkTsv/FcRBFttTOgIM1/1J5r1pUv6ocfdMrDIB5ckA1m1CciegFN X-Received: by 2002:a05:6402:3455:b0:558:282c:b05d with SMTP id l21-20020a056402345500b00558282cb05dmr2929141edc.76.1705375079040; Mon, 15 Jan 2024 19:17:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705375079; cv=none; d=google.com; s=arc-20160816; b=K9r62UTPGtPfkvGV3kv6yEvD/NXVbyxeAP2EkBi3MtHCIKx8L+BOU7Kp0U1KYcof5r aNeKP1xLS9cTzSSue9muoPq/MJRC2X6yG9kpgEcpNdnDHe27qrPuUinD+wrOJXh2s/Us aXeBPLe+4jqmQRUOsvHuxW2LThQsMxYjtvAOaytyvUmUYi6tSV32gsDX7dQhGHtx5M7t FSSJYZbYmQi3QMp2eoQn8+5kK9Vg4iPWe3dsvmDNphreKZ6IMgNKm2reKx5tI+up42W8 7W8NR9GlYs5TB5BDaVtihMnAhb1GPoMYO6UCgqbPKxPCDcBF+lT41yfWtei5MY5w1Inr OmRw== 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=zEf8g5b6xc+e1wnd6dvI0G9FO3Msm8QSZ8MUUaPp+pY=; fh=OyWZJws8Yi55kXno045X8T7ee6spqBXTtUgqCqr4nnE=; b=y5lQVrK/B6XU/c60/d1lUqmwPaHSlOQ5dnBkYAU31hb6Cbv/j6vxNn4eyRCml86yC+ N5wVHDGL06B9U07y5Uk7aDUEfZaSxaxqwEPVHW5mN4dqawIdSk+50nQETii/yeE++rZc 94ISgdO3OOahIDL5OMqEyad02ABu69d5rTYewd8TSYCN2IdvTDtifofjpNIIIxBIOeFz Gns9NSfL+4aSFe0yXm55dmHfzz2UODC1/Mm3NY6WhQ4KKOuFgXY05oumIOL/RyAzZISO 2OiNvIvIpPi27mz8cqvkgfEV+KByCiJk08SSgHEP4yARf1E8EUvgf47vLQA0qbgzUSAd tOBw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-26938-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-26938-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=harvard.edu Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id b7-20020a056402084700b005591a22e2b4si2212749edz.461.2024.01.15.19.17.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 19:17:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-26938-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-26938-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-26938-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 am.mirrors.kernel.org (Postfix) with ESMTPS id AFA5E1F23984 for ; Tue, 16 Jan 2024 03:17:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6EFDC79C6; Tue, 16 Jan 2024 03:17:44 +0000 (UTC) Received: from netrider.rowland.org (netrider.rowland.org [192.131.102.5]) by smtp.subspace.kernel.org (Postfix) with SMTP id 68E1279C3 for ; Tue, 16 Jan 2024 03:17:41 +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 732488 invoked by uid 1000); 15 Jan 2024 22:17:34 -0500 Date: Mon, 15 Jan 2024 22:17:34 -0500 From: Alan Stern To: Michael Grzeschik Cc: Eric Van Hensbergen , Latchesar Ionkov , Dominique Martinet , 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: <4856923e-3ce8-4372-9451-f9c8aa157111@rowland.harvard.edu> References: <20240116-ml-topic-u9p-v1-0-ad8c306f9a4e@pengutronix.de> <20240116-ml-topic-u9p-v1-1-ad8c306f9a4e@pengutronix.de> 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: <20240116-ml-topic-u9p-v1-1-ad8c306f9a4e@pengutronix.de> On Tue, Jan 16, 2024 at 02:49:41AM +0100, Michael Grzeschik wrote: > Add the new gadget function for 9pfs transport. This function is > defining an simple 9pfs transport interface that consists of one in and > one out endpoint. The endpoints transmit and receive the 9pfs protocol > payload when mounting a 9p filesystem over usb. > > Signed-off-by: Michael Grzeschik > --- > Documentation/filesystems/9p.rst | 12 + > drivers/usb/gadget/Kconfig | 11 + > drivers/usb/gadget/function/Makefile | 2 + > drivers/usb/gadget/function/f_9pfs.c | 849 +++++++++++++++++++++++++++++++++++ > 4 files changed, 874 insertions(+) > > 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. Alan Stern