Re: [PATCH V4 3/6] mdev: introduce device specific ops

2019-10-20 Thread Jason Wang
On 2019/10/21 上午7:41, Parav Pandit wrote: -Original Message- From: Jason Wang Sent: Thursday, October 17, 2019 5:49 AM To: k...@vger.kernel.org; linux-s...@vger.kernel.org; linux- ker...@vger.kernel.org; dri-devel@lists.freedesktop.org; intel- g...@lists.freedesktop.org; intel-gvt-..

RE: [PATCH V4 3/6] mdev: introduce device specific ops

2019-10-20 Thread Parav Pandit
> -Original Message- > From: Jason Wang > Sent: Thursday, October 17, 2019 5:49 AM > To: k...@vger.kernel.org; linux-s...@vger.kernel.org; linux- > ker...@vger.kernel.org; dri-devel@lists.freedesktop.org; intel- > g...@lists.freedesktop.org; intel-gvt-...@lists.freedesktop.org; > kwankh

Re: [PATCH V4 3/6] mdev: introduce device specific ops

2019-10-18 Thread Cornelia Huck
On Thu, 17 Oct 2019 11:53:10 -0600 Alex Williamson wrote: > On Thu, 17 Oct 2019 17:07:55 +0200 > Cornelia Huck wrote: > > > On Thu, 17 Oct 2019 18:48:33 +0800 > > Jason Wang wrote: > > > > > Currently, except for the create and remove, the rest of > > > mdev_parent_ops is designed for vfio-

Re: [PATCH V4 3/6] mdev: introduce device specific ops

2019-10-18 Thread Jason Wang
On 2019/10/17 下午11:07, Cornelia Huck wrote: On Thu, 17 Oct 2019 18:48:33 +0800 Jason Wang wrote: Currently, except for the create and remove, the rest of mdev_parent_ops is designed for vfio-mdev driver only and may not help for kernel mdev driver. With the help of class id, this patch introd

Re: [PATCH V4 3/6] mdev: introduce device specific ops

2019-10-17 Thread Alex Williamson
On Thu, 17 Oct 2019 17:07:55 +0200 Cornelia Huck wrote: > On Thu, 17 Oct 2019 18:48:33 +0800 > Jason Wang wrote: > > > Currently, except for the create and remove, the rest of > > mdev_parent_ops is designed for vfio-mdev driver only and may not help > > for kernel mdev driver. With the help of

Re: [PATCH V4 3/6] mdev: introduce device specific ops

2019-10-17 Thread Cornelia Huck
On Thu, 17 Oct 2019 18:48:33 +0800 Jason Wang wrote: > Currently, except for the create and remove, the rest of > mdev_parent_ops is designed for vfio-mdev driver only and may not help > for kernel mdev driver. With the help of class id, this patch > introduces device specific callbacks inside md