From patchwork Wed Nov 7 02:31:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhenyu Wang X-Patchwork-Id: 10671761 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 784F91803 for ; Wed, 7 Nov 2018 02:40:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5D0AF2B60B for ; Wed, 7 Nov 2018 02:40:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 507B72B647; Wed, 7 Nov 2018 02:40:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0CA942B60B for ; Wed, 7 Nov 2018 02:40:39 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D93C16E69F; Wed, 7 Nov 2018 02:40:37 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTPS id 079856E69D; Wed, 7 Nov 2018 02:40:37 +0000 (UTC) X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Nov 2018 18:40:36 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,474,1534834800"; d="asc'?scan'208";a="90035058" Received: from zhen-hp.sh.intel.com (HELO zhen-hp) ([10.239.13.8]) by orsmga008.jf.intel.com with ESMTP; 06 Nov 2018 18:40:34 -0800 Date: Wed, 7 Nov 2018 10:31:37 +0800 From: Zhenyu Wang To: Joonas Lahtinen , "Vivi, Rodrigo" , Jani Nikula Message-ID: <20181107023137.GO25194@zhen-hp.sh.intel.com> MIME-Version: 1.0 User-Agent: Mutt/1.10.0 (2018-05-17) Subject: [Intel-gfx] [PULL] gvt-fixes for 4.20-rc2 X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 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" X-Virus-Scanned: ClamAV using ClamSMTP Hi, Here's re-generated -fixes pull for 4.20. Mostly on fixing possible guest arbitrary update of GGTT entries, with one mask fix for chicken register, and with one to fix eDP warning in guest. Thanks. --- The following changes since commit 7759ca3aac79648d01c9edcb3b00503c02bec2f5: drm/i915/gvt: clear ggtt entries when destroy vgpu (2018-09-18 10:39:44 +0800) are available in the Git repository at: https://github.com/intel/gvt-linux.git tags/gvt-fixes-2018-11-07 for you to fetch changes up to 5e7154ff5e8e21dc9acac4f8dba7533552365374: drm/i915/gvt: Handle values of EDP_PSR_IMR and EDP_PSR_IIR (2018-10-31 17:09:46 +0800) ---------------------------------------------------------------- gvt-fixes-2018-11-07 - Fix invalidate of old ggtt entry (Hang) - Fix partial ggtt entry update in any order (Hang) - Fix one mask setting for chicken reg (Xinyun) - Fix eDP warning in guest (Longhe) ---------------------------------------------------------------- Hang Yuan (2): drm/i915/gvt: invalidate old ggtt page when update ggtt entry drm/i915/gvt: support inconsecutive partial gtt entry write Longhe Zheng (1): drm/i915/gvt: Handle values of EDP_PSR_IMR and EDP_PSR_IIR Xinyun Liu (1): drm/i915/gvt: correct mask setting for CSFE_CHICKEN1 drivers/gpu/drm/i915/gvt/gtt.c | 115 ++++++++++++++++---------------- drivers/gpu/drm/i915/gvt/gtt.h | 9 ++- drivers/gpu/drm/i915/gvt/handlers.c | 8 +-- drivers/gpu/drm/i915/gvt/mmio_context.c | 2 +- 4 files changed, 70 insertions(+), 64 deletions(-)