From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Return-Path: From: Arnd Bergmann To: Christoph Hellwig Subject: Re: Support for configurable PCIe endpoint Date: Wed, 03 Aug 2016 21:38:23 +0200 Message-ID: <8897954.gERmznGCsN@wuerfel> In-Reply-To: <20160803172736.GA12989@infradead.org> References: <57A18927.9070003@ti.com> <2460140.yVuTYYqBTX@wuerfel> <20160803172736.GA12989@infradead.org> MIME-Version: 1.0 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Gabriele Paoloni , David Daney , "linux-pci@vger.kernel.org" , Thierry Reding , Tanmay Inamdar , Joao Pinto , Pratyush Anand , Kishon Vijay Abraham I , Murali Karicheri , Jason Cooper , Simon Horman , "bhelgaas@google.com" , Mingkai Hu , "linux-omap@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Thomas Petazzoni , Jingoo Han , Richard Zhu , "linux-kernel@vger.kernel.org" , Stanimir Varbanov , Minghuan Lian , Zhou Wang , jdmason@kudzu.us, Ley Foon Tan , Roy Zang , Lucas Stach Content-Type: text/plain; charset="us-ascii" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+bjorn=helgaas.com@lists.infradead.org List-ID: On Wednesday, August 3, 2016 10:27:36 AM CEST Christoph Hellwig wrote: > On Wed, Aug 03, 2016 at 06:03:54PM +0200, Arnd Bergmann wrote: > > drivers/ntb seems like a reasonable start, while an alternative > > approach that we have discussed in the past would be based on top > > of virtio, so we could use the existing front-end drivers (net, block, > > v9fs, console, ...). > > I don't really think either is a good aproach for the lowest level > interface. To be useful the EP driver needs to be able to implement > any (reasonable) thing a PCIe device could do. Both NTB and virtio > can sit on top of that, though. Good point. NTB tries to be the low-level interface, but I guess you are right that it really isn't (I have not looked in a long time, maybe Jon can comment). While virtio transport over PCI would be great as the way to implement a lot of things on top of endpoint devices, it can't be the lowest level in the stack (see drivers/remoteproc) and building it on top of something that is useful for other things sounds like a good idea. Arnd _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel