[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8897954.gERmznGCsN@wuerfel>
Date: Wed, 03 Aug 2016 21:38:23 +0200
From: Arnd Bergmann <arnd@...db.de>
To: Christoph Hellwig <hch@...radead.org>
Cc: Kishon Vijay Abraham I <kishon@...com>,
"bhelgaas@...gle.com" <bhelgaas@...gle.com>,
"linux-pci@...r.kernel.org" <linux-pci@...r.kernel.org>,
Jingoo Han <jingoohan1@...il.com>,
Pratyush Anand <pratyush.anand@...il.com>,
Ley Foon Tan <lftan@...era.com>,
Rob Herring <robh@...nel.org>,
Tanmay Inamdar <tinamdar@....com>,
Roy Zang <tie-fei.zang@...escale.com>,
Mingkai Hu <mingkai.hu@...escale.com>,
Minghuan Lian <minghuan.Lian@...escale.com>,
Richard Zhu <Richard.Zhu@...escale.com>,
Lucas Stach <l.stach@...gutronix.de>,
Murali Karicheri <m-karicheri2@...com>,
Thomas Petazzoni <thomas.petazzoni@...e-electrons.com>,
Jason Cooper <jason@...edaemon.net>,
Thierry Reding <thierry.reding@...il.com>,
Simon Horman <horms@...ge.net.au>,
Joao Pinto <jpinto@...opsys.com>,
Zhou Wang <wangzhou1@...ilicon.com>,
Gabriele Paoloni <gabriele.paoloni@...wei.com>,
Stanimir Varbanov <svarbanov@...sol.com>,
David Daney <david.daney@...ium.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-omap@...r.kernel.org" <linux-omap@...r.kernel.org>,
jdmason@...zu.us
Subject: Re: Support for configurable PCIe endpoint
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
Powered by blists - more mailing lists