From patchwork Mon Nov 26 02:18:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhenyu Wang X-Patchwork-Id: 10697563 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 916E214E2 for ; Mon, 26 Nov 2018 04:13:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7E4BC28716 for ; Mon, 26 Nov 2018 04:13:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6FA7E287CF; Mon, 26 Nov 2018 04:13:58 +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 7EA5828716 for ; Mon, 26 Nov 2018 04:13:57 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1AD6F6E236; Mon, 26 Nov 2018 04:12:26 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5284F89A32; Mon, 26 Nov 2018 02:28:01 +0000 (UTC) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Nov 2018 18:28:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,280,1539673200"; d="asc'?scan'208";a="109243512" Received: from zhen-hp.sh.intel.com (HELO zhen-hp) ([10.239.13.8]) by fmsmga004.fm.intel.com with ESMTP; 25 Nov 2018 18:27:59 -0800 Date: Mon, 26 Nov 2018 10:18:20 +0800 From: Zhenyu Wang To: Joonas Lahtinen , Jani Nikula , "Vivi, Rodrigo" Message-ID: <20181126021820.GL12743@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-rc5 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 regular gvt fixes for 4.20-rc5. One to correct MOCS registers load on engine list, one for rpm lock warning fix, and another for use-after-free fix for partial ggtt list destroy. Details below. Thanks --- The following changes since commit 5e7154ff5e8e21dc9acac4f8dba7533552365374: drm/i915/gvt: Handle values of EDP_PSR_IMR and EDP_PSR_IIR (2018-10-31 17:09:46 +0800) are available in the Git repository at: https://github.com/intel/gvt-linux.git tags/gvt-fixes-2018-11-26 for you to fetch changes up to 7513edbc096a006f967eaf39088091442e623b83: drm/i915/gvt: Avoid use-after-free iterating the gtt list (2018-11-21 17:31:56 +0800) ---------------------------------------------------------------- gvt-fixes-2018-11-26 - Fix engine check for correct MOCS regs load (Xinyun) - Fix rpm locking for vGPU ggtt init (Henry) - Fix use-after-free when destroy partial ggtt entries (Chris) ---------------------------------------------------------------- Chris Wilson (1): drm/i915/gvt: Avoid use-after-free iterating the gtt list Hang Yuan (1): drm/i915/gvt: ensure gpu is powered before do i915_gem_gtt_insert Xinyun Liu (1): drm/i915/gvt: not to touch undefined MOCS registers drivers/gpu/drm/i915/gvt/aperture_gm.c | 2 ++ drivers/gpu/drm/i915/gvt/gtt.c | 7 ++++--- drivers/gpu/drm/i915/gvt/mmio_context.c | 2 ++ 3 files changed, 8 insertions(+), 3 deletions(-)