From patchwork Tue Oct 27 03:17:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhenyu Wang X-Patchwork-Id: 11859349 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=-15.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PULL_REQUEST,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,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 B6A02C4363A for ; Tue, 27 Oct 2020 03:38:48 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6A829207C3 for ; Tue, 27 Oct 2020 03:38:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6A829207C3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 84F196EAC0; Tue, 27 Oct 2020 03:38:47 +0000 (UTC) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id E7F926EAC0; Tue, 27 Oct 2020 03:38:45 +0000 (UTC) IronPort-SDR: kzcPYB4aFwiRVkfmVt3//cMlhFZ+9doQl7EiX4vuCNNVK6hrXVRLIXBFUJnu4y3PsiJ+YvWBd5 MdCqMUuOr0HQ== X-IronPort-AV: E=McAfee;i="6000,8403,9786"; a="229658689" X-IronPort-AV: E=Sophos;i="5.77,422,1596524400"; d="asc'?scan'208";a="229658689" X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Oct 2020 20:38:45 -0700 IronPort-SDR: rYD4q+/uRuUXv5zFXvVKuiTb7Fa9yBDAXG5PSLUWxFsjiSbwpdjhY010vMf/+lOn3VUHKLTDil Yq3S4MkizPpQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,422,1596524400"; d="asc'?scan'208";a="350127270" Received: from zhen-hp.sh.intel.com (HELO zhen-hp) ([10.239.160.147]) by orsmga008.jf.intel.com with ESMTP; 26 Oct 2020 20:38:43 -0700 Date: Tue, 27 Oct 2020 11:17:40 +0800 From: Zhenyu Wang To: Joonas Lahtinen , "Vivi, Rodrigo" , Jani Nikula Message-ID: <20201027031740.GA27141@zhen-hp.sh.intel.com> MIME-Version: 1.0 User-Agent: Mutt/1.10.0 (2018-05-17) Subject: [Intel-gfx] [PULL] gvt-fixes X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Zhenyu Wang Cc: intel-gfx , intel-gvt-dev , "Lv, Zhiyuan" , "Yuan, Hang" Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Hi, Here's first gvt fixes for 5.10 which includes more vGPU suspend/resume fix in HWSP reset handling, and also fix for host i915 suspend regression when vGPU is created (not need to be active), and one workaround for APL guest hang issue. Thanks --- The following changes since commit 16cce04cdb200ba905d1241b425ac48da5a9ace5: drm/i915/selftests: Push the fake iommu device from the stack to data (2020-09-23 10:15:46 +0300) are available in the Git repository at: https://github.com/intel/gvt-linux tags/gvt-fixes-2020-10-27 for you to fetch changes up to 401ccfa87856656b874c737522ea92721394a348: drm/i915/gvt: Only pin/unpin intel_context along with workload (2020-10-19 16:54:28 +0800) ---------------------------------------------------------------- gvt-fixes-2020-10-27 - Fix HWSP reset handling during vGPU suspend/resume (Colin) - Apply flush workaround on APL now for possible guest hang (Colin) - Fix vGPU context pin/unpin also for host suspend regression with vGPU created (Colin) ---------------------------------------------------------------- Colin Xu (3): drm/i915/gvt: Allow zero out HWSP addr on hws_pga_write drm/i915/gvt: Set SNOOP for PAT3 on BXT/APL to workaround GPU BB hang drm/i915/gvt: Only pin/unpin intel_context along with workload drivers/gpu/drm/i915/gvt/handlers.c | 35 +++++++++++++++++++++++++++++++++-- drivers/gpu/drm/i915/gvt/scheduler.c | 15 ++++++++------- 2 files changed, 41 insertions(+), 9 deletions(-)