From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: Support for configurable PCIe endpoint Date: Wed, 3 Aug 2016 10:27:36 -0700 Message-ID: <20160803172736.GA12989@infradead.org> References: <57A18927.9070003@ti.com> <20160803094747.GA10170@infradead.org> <2460140.yVuTYYqBTX@wuerfel> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <2460140.yVuTYYqBTX@wuerfel> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Arnd Bergmann Cc: Gabriele Paoloni , David Daney , "linux-pci@vger.kernel.org" , Thierry Reding , Tanmay Inamdar , Joao Pinto , Pratyush Anand , Kishon Vijay Abraham I , Christoph Hellwig , 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" List-Id: linux-omap@vger.kernel.org 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.