[PATCH] drm/i915/gvt: validate gfn before set shadow page entry
Zhenyu Wang
zhenyu.z.wang at intel.com
Mon Jan 8 03:37:27 UTC 2018
On 2018.01.05 13:06:21 +0800, Zhi Wang wrote:
> Reviewed-by: Zhi Wang <zhi.a.wang at intel.com>
>
> > >
> > > From: Hang Yuan <hang.yuan at intel.com>
> > >
> > > GVT may receive partial write on one guest PTE update. Validate gfn not to
> > > translate incomplete gfn. This avoids some unnecessary error messages
> > > incurred by the incomplete gfn translating. Also fix the bug that the whole
> > > PPGTT shadow page update is aborted on any invalid gfn entry.
> > >
> > > gfn validation relys on hypervisor's help. Add one MPT module function to
> > > provide the function.
> > >
> > > Signed-off-by: Hang Yuan <hang.yuan at intel.com>
applied, thanks!
--
Open Source Technology Center, Intel ltd.
$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gvt-dev/attachments/20180108/52528c4c/attachment.sig>
More information about the intel-gvt-dev
mailing list