[PATCH] drm/i915/gvt: clean up vGPU resource r/w length

Dong, Chuanxiao chuanxiao.dong at intel.com
Thu Aug 3 08:43:39 UTC 2017



> -----Original Message-----
> From: Zhenyu Wang [mailto:zhenyuw at linux.intel.com]
> Sent: Thursday, August 3, 2017 4:32 PM
> To: Dong, Chuanxiao <chuanxiao.dong at intel.com>
> Cc: intel-gvt-dev at lists.freedesktop.org; Zhang, Xiong Y
> <xiong.y.zhang at intel.com>; Li, Weinan Z <weinan.z.li at intel.com>; Yang,
> Ronnie <ronnie.yang at intel.com>
> Subject: Re: [PATCH] drm/i915/gvt: clean up vGPU resource r/w length
> 
> On 2017.08.03 08:04:59 +0000, Dong, Chuanxiao wrote:
> > >
> > > We can do max of 64bit for vGPU resource e.g MMIO r/w access, but
> > > original KVMGT code just always force to do max of 32bit access.
> > > This cleans up for old duplicated code block and allows for 64bit
> > > access in one call. Also remove unnecessary resource length check
> > > for both MMIO and config space access.
> >
> > Hi Zhenyu,
> >
> > Looks like this can fix an regression issue we found? If so, do you think if
> we need a Fixes line here for cherrypick by the stable kernels?
> >
> 
> which regression? Do you mean for XenGT?
Yes, for XenGT. We have an internal bug to track, and Xiong's patch is for that bug.

Thanks
Chuanxiao

> 
> I was just taking this as a cleanup for res length, if for XenGT, might be better
> with one specific fixes for stable.
> 
> --
> Open Source Technology Center, Intel ltd.
> 
> $gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827


More information about the intel-gvt-dev mailing list