Re: [PATCH 0/8] Virtio-over-PCIe on non-MIC

2019-01-22 Thread Greg KH
On Wed, Jan 16, 2019 at 05:32:45PM +0100, Vincent Whitchurch wrote: > The Virtio-over-PCIe framework living under drivers/misc/mic/vop implements a > generic framework to use virtio between two Linux systems, given shared memory > and a couple of interrupts. It does not actually require the Intel

Re: [PATCH 0/8] Virtio-over-PCIe on non-MIC

2019-01-21 Thread Vincent Whitchurch
On Fri, Jan 18, 2019 at 04:49:16PM -0700, Stephen Warren wrote: > On 1/16/19 9:32 AM, Vincent Whitchurch wrote: > > The Virtio-over-PCIe framework living under drivers/misc/mic/vop implements > > a > > generic framework to use virtio between two Linux systems, given shared > > memory > > and a co

Re: [PATCH 0/8] Virtio-over-PCIe on non-MIC

2019-01-18 Thread Stephen Warren
On 1/16/19 9:32 AM, Vincent Whitchurch wrote: The Virtio-over-PCIe framework living under drivers/misc/mic/vop implements a generic framework to use virtio between two Linux systems, given shared memory and a couple of interrupts. It does not actually require the Intel MIC hardware, x86-64, or e

Re: [PATCH 0/8] Virtio-over-PCIe on non-MIC

2019-01-17 Thread Logan Gunthorpe
On 2019-01-17 8:19 a.m., Vincent Whitchurch wrote: > On the endpoint, the PCIe endpoint driver sets up (hardcoded) BARs and > memory regions as required to allow the endpoint and the root complex to > access each other's memory. This statement describes NTB hardware pretty well. In essence that

Re: [PATCH 0/8] Virtio-over-PCIe on non-MIC

2019-01-17 Thread Arnd Bergmann
On Thu, Jan 17, 2019 at 5:26 PM Vincent Whitchurch wrote: > On Thu, Jan 17, 2019 at 04:53:25PM +0100, Arnd Bergmann wrote: > > On Thu, Jan 17, 2019 at 4:19 PM Vincent Whitchurch > > Ok, this seems fine so far. So the vop-host-backend is a regular PCI > > driver that implements the VOP protocol fr

Re: [PATCH 0/8] Virtio-over-PCIe on non-MIC

2019-01-17 Thread Vincent Whitchurch
On Thu, Jan 17, 2019 at 04:53:25PM +0100, Arnd Bergmann wrote: > On Thu, Jan 17, 2019 at 4:19 PM Vincent Whitchurch > wrote: > > On Thu, Jan 17, 2019 at 01:39:27PM +0100, Arnd Bergmann wrote: > > > Can you describe how you expect a VOP device over NTB or > > > PCIe-endpoint would get created, conf

Re: [PATCH 0/8] Virtio-over-PCIe on non-MIC

2019-01-17 Thread Arnd Bergmann
On Thu, Jan 17, 2019 at 4:46 PM Christoph Hellwig wrote: > > On Thu, Jan 17, 2019 at 04:32:06PM +0100, Vincent Whitchurch wrote: > > If I understand you correctly, I think you're talking about the RC > > running the virtio drivers and the endpoint implementing the virtio > > device? This vop stuf

Re: [PATCH 0/8] Virtio-over-PCIe on non-MIC

2019-01-17 Thread Arnd Bergmann
On Thu, Jan 17, 2019 at 4:19 PM Vincent Whitchurch wrote: > > On Thu, Jan 17, 2019 at 01:39:27PM +0100, Arnd Bergmann wrote: > > Correct, and again we have to see if this is a good interface. The NTB > > and PCIe-endpoint interfaces have a number of differences and a > > number of similarities. In

Re: [PATCH 0/8] Virtio-over-PCIe on non-MIC

2019-01-17 Thread Christoph Hellwig
On Thu, Jan 17, 2019 at 04:32:06PM +0100, Vincent Whitchurch wrote: > If I understand you correctly, I think you're talking about the RC > running the virtio drivers and the endpoint implementing the virtio > device? This vop stuff is used for the other way around: the virtio > device is implement

Re: [PATCH 0/8] Virtio-over-PCIe on non-MIC

2019-01-17 Thread Vincent Whitchurch
On Thu, Jan 17, 2019 at 07:21:42AM -0800, Christoph Hellwig wrote: > On Thu, Jan 17, 2019 at 04:19:06PM +0100, Vincent Whitchurch wrote: > > On the RC, a vop-host-backend driver (PCI driver) sets up some shared > > memory area which the RC and the endpoint can use to communicate the > > location of

Re: [PATCH 0/8] Virtio-over-PCIe on non-MIC

2019-01-17 Thread Arnd Bergmann
On Thu, Jan 17, 2019 at 4:19 PM Christoph Hellwig wrote: > > On Thu, Jan 17, 2019 at 07:15:29AM -0800, Christoph Hellwig wrote: > > On Thu, Jan 17, 2019 at 01:39:27PM +0100, Arnd Bergmann wrote: > > > Can you describe how you expect a VOP device over NTB or > > > PCIe-endpoint would get created, c

Re: [PATCH 0/8] Virtio-over-PCIe on non-MIC

2019-01-17 Thread Christoph Hellwig
On Thu, Jan 17, 2019 at 04:19:06PM +0100, Vincent Whitchurch wrote: > On the RC, a vop-host-backend driver (PCI driver) sets up some shared > memory area which the RC and the endpoint can use to communicate the > location of the MIC device descriptors and other information such as the > MSI address

Re: [PATCH 0/8] Virtio-over-PCIe on non-MIC

2019-01-17 Thread Christoph Hellwig
On Thu, Jan 17, 2019 at 07:15:29AM -0800, Christoph Hellwig wrote: > On Thu, Jan 17, 2019 at 01:39:27PM +0100, Arnd Bergmann wrote: > > Can you describe how you expect a VOP device over NTB or > > PCIe-endpoint would get created, configured and used? > > Is there always one master side that is resp

Re: [PATCH 0/8] Virtio-over-PCIe on non-MIC

2019-01-17 Thread Vincent Whitchurch
On Thu, Jan 17, 2019 at 01:39:27PM +0100, Arnd Bergmann wrote: > Correct, and again we have to see if this is a good interface. The NTB > and PCIe-endpoint interfaces have a number of differences and a > number of similarities. In particular they should both be usable with > virtio-style drivers, b

Re: [PATCH 0/8] Virtio-over-PCIe on non-MIC

2019-01-17 Thread Christoph Hellwig
On Thu, Jan 17, 2019 at 01:39:27PM +0100, Arnd Bergmann wrote: > Can you describe how you expect a VOP device over NTB or > PCIe-endpoint would get created, configured and used? > Is there always one master side that is responsible for creating > virtio devices on it, with the slave side automatica

Re: [PATCH 0/8] Virtio-over-PCIe on non-MIC

2019-01-17 Thread Arnd Bergmann
On Thu, Jan 17, 2019 at 11:54 AM Vincent Whitchurch wrote: > > On Wed, Jan 16, 2019 at 06:07:53PM +0100, Arnd Bergmann wrote: > > On Wed, Jan 16, 2019 at 5:33 PM Vincent Whitchurch > > wrote: > > > The Virtio-over-PCIe framework living under drivers/misc/mic/vop > > > implements a > > > generic

Re: [PATCH 0/8] Virtio-over-PCIe on non-MIC

2019-01-17 Thread Vincent Whitchurch
On Wed, Jan 16, 2019 at 06:07:53PM +0100, Arnd Bergmann wrote: > On Wed, Jan 16, 2019 at 5:33 PM Vincent Whitchurch > wrote: > > The Virtio-over-PCIe framework living under drivers/misc/mic/vop implements > > a > > generic framework to use virtio between two Linux systems, given shared > > memo

Re: [PATCH 0/8] Virtio-over-PCIe on non-MIC

2019-01-16 Thread Arnd Bergmann
On Wed, Jan 16, 2019 at 5:33 PM Vincent Whitchurch wrote: > > The Virtio-over-PCIe framework living under drivers/misc/mic/vop implements a > generic framework to use virtio between two Linux systems, given shared memory > and a couple of interrupts. It does not actually require the Intel MIC > h

[PATCH 0/8] Virtio-over-PCIe on non-MIC

2019-01-16 Thread Vincent Whitchurch
The Virtio-over-PCIe framework living under drivers/misc/mic/vop implements a generic framework to use virtio between two Linux systems, given shared memory and a couple of interrupts. It does not actually require the Intel MIC hardware, x86-64, or even PCIe for that matter. This patch series mak