Re: [PATCH v9 01/12] vfio: Mediated device Core driver

2016-10-27 Thread Jike Song
On 10/21/2016 01:12 AM, Alex Williamson wrote: > On Thu, 20 Oct 2016 15:23:53 +0800 > Jike Song wrote: > >> On 10/18/2016 05:22 AM, Kirti Wankhede wrote: >>> diff --git a/drivers/vfio/mdev/mdev_core.c b/drivers/vfio/mdev/mdev_core.c >>> new file mode 100644 >>> index

Re: [PATCH v9 01/12] vfio: Mediated device Core driver

2016-10-27 Thread Jike Song
On 10/21/2016 01:12 AM, Alex Williamson wrote: > On Thu, 20 Oct 2016 15:23:53 +0800 > Jike Song wrote: > >> On 10/18/2016 05:22 AM, Kirti Wankhede wrote: >>> diff --git a/drivers/vfio/mdev/mdev_core.c b/drivers/vfio/mdev/mdev_core.c >>> new file mode 100644 >>> index ..7db5ec164aeb

Re: [PATCH v9 01/12] vfio: Mediated device Core driver

2016-10-26 Thread Kirti Wankhede
>> Medisted bus driver is responsible to add/delete mediated devices to/from > > Medisted -> Mediated > Thanks for pointing out the typeo. Correcting it. >> VFIO group when devices are bound and unbound to the driver. >> >> 2. Physical device driver interface >> This interface provides vendor

Re: [PATCH v9 01/12] vfio: Mediated device Core driver

2016-10-26 Thread Kirti Wankhede
>> Medisted bus driver is responsible to add/delete mediated devices to/from > > Medisted -> Mediated > Thanks for pointing out the typeo. Correcting it. >> VFIO group when devices are bound and unbound to the driver. >> >> 2. Physical device driver interface >> This interface provides vendor

RE: [PATCH v9 01/12] vfio: Mediated device Core driver

2016-10-26 Thread Tian, Kevin
> From: Kirti Wankhede [mailto:kwankh...@nvidia.com] > Sent: Tuesday, October 18, 2016 5:22 AM > > Design for Mediated Device Driver: > Main purpose of this driver is to provide a common interface for mediated > device management that can be used by different drivers of different > devices. > >

RE: [PATCH v9 01/12] vfio: Mediated device Core driver

2016-10-26 Thread Tian, Kevin
> From: Kirti Wankhede [mailto:kwankh...@nvidia.com] > Sent: Tuesday, October 18, 2016 5:22 AM > > Design for Mediated Device Driver: > Main purpose of this driver is to provide a common interface for mediated > device management that can be used by different drivers of different > devices. > >

Re: [PATCH v9 01/12] vfio: Mediated device Core driver

2016-10-20 Thread Jike Song
On 10/21/2016 01:12 AM, Alex Williamson wrote: > On Thu, 20 Oct 2016 15:23:53 +0800 > Jike Song wrote: > >> On 10/18/2016 05:22 AM, Kirti Wankhede wrote: >>> diff --git a/drivers/vfio/mdev/mdev_core.c b/drivers/vfio/mdev/mdev_core.c >>> new file mode 100644 >>> index

Re: [PATCH v9 01/12] vfio: Mediated device Core driver

2016-10-20 Thread Jike Song
On 10/21/2016 01:12 AM, Alex Williamson wrote: > On Thu, 20 Oct 2016 15:23:53 +0800 > Jike Song wrote: > >> On 10/18/2016 05:22 AM, Kirti Wankhede wrote: >>> diff --git a/drivers/vfio/mdev/mdev_core.c b/drivers/vfio/mdev/mdev_core.c >>> new file mode 100644 >>> index ..7db5ec164aeb

Re: [PATCH v9 01/12] vfio: Mediated device Core driver

2016-10-20 Thread Alex Williamson
On Thu, 20 Oct 2016 15:23:53 +0800 Jike Song wrote: > On 10/18/2016 05:22 AM, Kirti Wankhede wrote: > > diff --git a/drivers/vfio/mdev/mdev_core.c b/drivers/vfio/mdev/mdev_core.c > > new file mode 100644 > > index ..7db5ec164aeb > > --- /dev/null > > +++

Re: [PATCH v9 01/12] vfio: Mediated device Core driver

2016-10-20 Thread Alex Williamson
On Thu, 20 Oct 2016 15:23:53 +0800 Jike Song wrote: > On 10/18/2016 05:22 AM, Kirti Wankhede wrote: > > diff --git a/drivers/vfio/mdev/mdev_core.c b/drivers/vfio/mdev/mdev_core.c > > new file mode 100644 > > index ..7db5ec164aeb > > --- /dev/null > > +++

Re: [PATCH v9 01/12] vfio: Mediated device Core driver

2016-10-20 Thread Jike Song
On 10/18/2016 05:22 AM, Kirti Wankhede wrote: > diff --git a/drivers/vfio/mdev/mdev_core.c b/drivers/vfio/mdev/mdev_core.c > new file mode 100644 > index ..7db5ec164aeb > --- /dev/null > +++ b/drivers/vfio/mdev/mdev_core.c > @@ -0,0 +1,372 @@ > +/* > + * Mediated device Core Driver > +

Re: [PATCH v9 01/12] vfio: Mediated device Core driver

2016-10-20 Thread Jike Song
On 10/18/2016 05:22 AM, Kirti Wankhede wrote: > diff --git a/drivers/vfio/mdev/mdev_core.c b/drivers/vfio/mdev/mdev_core.c > new file mode 100644 > index ..7db5ec164aeb > --- /dev/null > +++ b/drivers/vfio/mdev/mdev_core.c > @@ -0,0 +1,372 @@ > +/* > + * Mediated device Core Driver > +

Re: [PATCH v9 01/12] vfio: Mediated device Core driver

2016-10-19 Thread Alex Williamson
On Thu, 20 Oct 2016 00:46:48 +0530 Kirti Wankhede wrote: > On 10/19/2016 4:46 AM, Alex Williamson wrote: > > On Tue, 18 Oct 2016 02:52:01 +0530 > > Kirti Wankhede wrote: > > > ... > >> +static struct mdev_device *__find_mdev_device(struct

Re: [PATCH v9 01/12] vfio: Mediated device Core driver

2016-10-19 Thread Alex Williamson
On Thu, 20 Oct 2016 00:46:48 +0530 Kirti Wankhede wrote: > On 10/19/2016 4:46 AM, Alex Williamson wrote: > > On Tue, 18 Oct 2016 02:52:01 +0530 > > Kirti Wankhede wrote: > > > ... > >> +static struct mdev_device *__find_mdev_device(struct parent_device > >> *parent, > >> +

Re: [PATCH v9 01/12] vfio: Mediated device Core driver

2016-10-19 Thread Kirti Wankhede
On 10/19/2016 4:46 AM, Alex Williamson wrote: > On Tue, 18 Oct 2016 02:52:01 +0530 > Kirti Wankhede wrote: > ... >> +static struct mdev_device *__find_mdev_device(struct parent_device *parent, >> + uuid_le uuid) >> +{ >> +

Re: [PATCH v9 01/12] vfio: Mediated device Core driver

2016-10-19 Thread Kirti Wankhede
On 10/19/2016 4:46 AM, Alex Williamson wrote: > On Tue, 18 Oct 2016 02:52:01 +0530 > Kirti Wankhede wrote: > ... >> +static struct mdev_device *__find_mdev_device(struct parent_device *parent, >> + uuid_le uuid) >> +{ >> +struct device *dev; >> + >>

Re: [PATCH v9 01/12] vfio: Mediated device Core driver

2016-10-18 Thread Alex Williamson
On Tue, 18 Oct 2016 02:52:01 +0530 Kirti Wankhede wrote: > Design for Mediated Device Driver: > Main purpose of this driver is to provide a common interface for mediated > device management that can be used by different drivers of different > devices. > > This module

Re: [PATCH v9 01/12] vfio: Mediated device Core driver

2016-10-18 Thread Alex Williamson
On Tue, 18 Oct 2016 02:52:01 +0530 Kirti Wankhede wrote: > Design for Mediated Device Driver: > Main purpose of this driver is to provide a common interface for mediated > device management that can be used by different drivers of different > devices. > > This module provides a generic