Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (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 5371D154C0F for ; Mon, 14 Oct 2024 08:43:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.11.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728895384; cv=none; b=isM3VugtfempKq+esv3LqQtoWGlrK+Dkd4bc5KAI6H/f2Cd2IHMAy7UZ7KoxavUtWHJV45EjeIgC/TJF1GfMgyzvYE9rx+wcSM5qk8b9pC15oZl2GEaHDtHQb0so1ZmrAJ0v6DoUUqDq1KZ8YATCrLubqG0PMYCjwaOILnLaPIk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728895384; c=relaxed/simple; bh=MV8bWDO9MKPjPHdVP4gEN6djkelDCFU8jZoCSscMxbQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=HVZzDkDsvJ2Xu2t80Xr16J2pY9rFz9bGH6llW7Ej5Sw9EC1kKcx2+jGzeCTTt3/wu6YUAzrnQbhpm2FlRwSDmkkmpHgeAadpQQP5cAe/yriWzNFrihzHmwdh+y/FzxibZSKcJbI6gvux+Na/21zakq8jrIKtYk+14sQssDm81gc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.client-ip=213.95.11.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id C1A6E227AAC; Mon, 14 Oct 2024 10:42:58 +0200 (CEST) Date: Mon, 14 Oct 2024 10:42:58 +0200 From: Christoph Hellwig To: Damien Le Moal Cc: linux-nvme@lists.infradead.org, Keith Busch , Christoph Hellwig , Sagi Grimberg , Manivannan Sadhasivam , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Kishon Vijay Abraham I , Bjorn Helgaas , Lorenzo Pieralisi , linux-pci@vger.kernel.org, Rick Wertenbroek , Niklas Cassel Subject: Re: [PATCH v2 3/5] nvmef: Introduce the NVME_OPT_HIDDEN_NS option Message-ID: <20241014084258.GB23780@lst.de> References: <20241011121951.90019-1-dlemoal@kernel.org> <20241011121951.90019-4-dlemoal@kernel.org> Precedence: bulk X-Mailing-List: linux-pci@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: <20241011121951.90019-4-dlemoal@kernel.org> User-Agent: Mutt/1.5.17 (2007-11-01) On Fri, Oct 11, 2024 at 09:19:49PM +0900, Damien Le Moal wrote: > Introduce the NVME fabrics option NVME_OPT_HIDDEN_NS to allow a host > controller to be created without any user visible or internally usable > namespace devices. That is, if set, this option will result in the > controller having no character device and no block device for any of its > namespaces. > > This option should be used only when the nvme controller will be > managed using passthrough commands using the controller character > device, either by the user or by another device driver. That doesn't make any sense whatsover. Why would you create a passthrough controller to support PCIe?