Re: [Intel-gfx] [PULL] gvt-fixes

Rodrigo Vivi
2020-04-14T13:11:33Z

On Tue, Apr 14, 2020 at 04:36:26PM +0800, Zhenyu Wang wrote:
>
> Hi,
>
> As I stated in last pull
> (https://lists.freedesktop.org/archives/intel-gvt-dev/2020-April/006542.html),
> this one includes gvt fixes for guest page access by using VFIO
> interface instead, so remove the concern from KVM and do the right thing.

Looking the patches now with more calm and the vfio part merged there
it makes sense to get this for -rc1 imho.

So, pulled to drm-intel-fixes.

thanks for the patches and sorry for the previous confusion,
Rodrigo.

>
> Thanks
> --
> The following changes since commit bcad588dea538a4fc173d16a90a005536ec8dbf2:
>
> drm/i915/perf: Do not clear pollin for small user read buffers (2020-04-13 14:09:48 -0700)
>
> are available in the Git repository at:
>
> https://github.com/intel/gvt-linux tags/gvt-fixes-2020-04-14
>
> for you to fetch changes up to ec7301d5146c9abe8aaf6e16e420ea3951018503:
>
> drm/i915/gvt: switch to user vfio_group_pin/upin_pages (2020-04-14 16:30:17 +0800)
>
> ----------------------------------------------------------------
> gvt-fixes-2020-04-14
>
> - Fix guest page access by using VFIO dma r/w interface (Yan)
>
> ----------------------------------------------------------------
> Yan Zhao (3):
> drm/i915/gvt: hold reference of VFIO group during opening of vgpu
> drm/i915/gvt: subsitute kvm_read/write_guest with vfio_dma_rw
> drm/i915/gvt: switch to user vfio_group_pin/upin_pages
>
> drivers/gpu/drm/i915/gvt/kvmgt.c | 46 +++++++++++++++++++---------------------
> 1 file changed, 22 insertions(+), 24 deletions(-)
>
> --
> Open Source Technology Center, Intel ltd.
>
> $gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827

> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx