From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9B00AC76192 for ; Wed, 17 Jul 2019 07:55:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6BFD2217D9 for ; Wed, 17 Jul 2019 07:55:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1563350110; bh=Za+2Z/KvbFxy7TAfDN86HVciROQnNMDwUAxkAE548iY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=sGgzgLvOgCAyU9+FKBVH/kyp3PjS1/pVTHEEMgKer4j/xu2tdXXb5Vc0cCJPLwh0Q YOR3VD6lIp7Zad5Z/ve1zVN0lGz7O06RYJU+WqgPfuvoTDR8BKLHN0IynAcy6UVsbo YFCZWvWv1SV1Ad4jOvlRQIrn1t8QNn3HFP1Z2ZI0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726238AbfGQHzK (ORCPT ); Wed, 17 Jul 2019 03:55:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:59928 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725932AbfGQHzJ (ORCPT ); Wed, 17 Jul 2019 03:55:09 -0400 Received: from localhost (unknown [113.157.217.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B27DC2077C; Wed, 17 Jul 2019 07:55:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1563350109; bh=Za+2Z/KvbFxy7TAfDN86HVciROQnNMDwUAxkAE548iY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gPA2brW/gUgNjPQkKr4q84B5qjQIS048StG5wruBzelsrVEalzqDau7MnLX4HoBaa kcqrEX59baIvYd9lDujDt3bg7wzV24NbMuc5I7469eF4/G80P19fz9AkEofT/C+88a RQOtxDU4o5Hr6TrrSeigxLLig09+kEn4RKGxj1uI= Date: Wed, 17 Jul 2019 16:55:07 +0900 From: Greg KH To: Xiaolin Zhang Cc: intel-gvt-dev@lists.freedesktop.org, stable@vger.kernel.org Subject: Re: [PATCH] drm/i915/gvt: fix incorrect cache entry for guest page mapping Message-ID: <20190717075507.GA14238@kroah.com> References: <1563378987-21880-1-git-send-email-xiaolin.zhang@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1563378987-21880-1-git-send-email-xiaolin.zhang@intel.com> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org 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 > --- > drivers/gpu/drm/i915/gvt/kvmgt.c | 12 ++++++++++++ > 1 file changed, 12 insertions(+) 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.