On Wed, Jul 17, 2019 at 11:56:27PM +0800, Xiaolin Zhang wrote: > GPU hang observed during the guest OCL conformance test which is caused > by THP GTT feature used durning the test. > > It was observed the same GFN with different size (4K and 2M) requested > from the guest in GVT. So during the guest page dma map stage, it is > required to unmap first with orginal size and then remap again with > requested size. > > Fixes: b901b252b6cf ("drm/i915/gvt: Add 2M huge gtt support") > Signed-off-by: Xiaolin Zhang <xiaolin.zhang@xxxxxxxxx> > --- > drivers/gpu/drm/i915/gvt/kvmgt.c | 12 ++++++++++++ > 1 file changed, 12 insertions(+) <formletter> This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read: https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html for how to do this properly. </formletter>