[PATCH] drm/i915/gvt: update guest page table even p2m faild

He, Min min.he at intel.com
Thu Mar 16 03:51:40 UTC 2017


This patch may cause an incorrect value to be written to the GTT table. 
Do we have better solutions? For example, change back to the partial mode of
the old vgt mode?

Thanks.

> -----Original Message-----
> From: intel-gvt-dev [mailto:intel-gvt-dev-bounces at lists.freedesktop.org] On
> Behalf Of Xiaoguang Chen
> Sent: Wednesday, March 15, 2017 7:09 PM
> To: intel-gvt-dev at lists.freedesktop.org
> Cc: Chen, Xiaoguang <xiaoguang.chen at intel.com>
> Subject: [PATCH] drm/i915/gvt: update guest page table even p2m faild
> 
> Sometimes guest driver will write the gtt mmio page table with length of 4
> while the entry size is 8. In this situation the p2m may failed.
> Even the p2m failed we should update the guest gtt mmio page table but
> not update the shadow gtt mmio page table.
> 
> Signed-off-by: Xiaoguang Chen<xiaoguang.chen at intel.com>
> Reviewed-by: Zhi Wang <zhi.a.wang at intel.com>



More information about the intel-gvt-dev mailing list