From patchwork Tue Jul 23 09:29:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhenyu Wang X-Patchwork-Id: 11054213 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 D1A001398 for ; Tue, 23 Jul 2019 09:34:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BF6E022B39 for ; Tue, 23 Jul 2019 09:34:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B092328385; Tue, 23 Jul 2019 09:34:17 +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 947C822B39 for ; Tue, 23 Jul 2019 09:34:15 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 157CB89EF7; Tue, 23 Jul 2019 09:34:15 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1208689EF7; Tue, 23 Jul 2019 09:34:14 +0000 (UTC) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Jul 2019 02:33:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,298,1559545200"; d="asc'?scan'208";a="197061461" Received: from zhen-hp.sh.intel.com (HELO zhen-hp) ([10.239.13.116]) by fmsmga002.fm.intel.com with ESMTP; 23 Jul 2019 02:33:20 -0700 Date: Tue, 23 Jul 2019 17:29:58 +0800 From: Zhenyu Wang To: Joonas Lahtinen , Jani Nikula , "Vivi, Rodrigo" Message-ID: <20190723092958.GD8319@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.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 recent gvt-fixes for 5.3-rc. It includes safety guard for possible ggtt access error with related checks, includecheck fix and one cache entry size fix for 2MB ppgtt guest. Thanks. --- The following changes since commit d7e8a19b38c8ac1a32b6b03af049e2c88d4155db: drm/i915: Don't dereference request if it may have been retired when printing (2019-07-09 16:16:18 +0300) are available in the Git repository at: https://github.com/intel/gvt-linux.git tags/gvt-fixes-2019-07-23 for you to fetch changes up to 8642656299cf86cfeceb1a48b0e1874de6874a2b: drm/i915/gvt: fix incorrect cache entry for guest page mapping (2019-07-18 11:06:41 +0800) ---------------------------------------------------------------- gvt-fixes-2019-07-23 - Guard against potential ggtt access error (Xiong) - Fix includecheck (Zhenyu) - Fix cache entry for guest page mapping found by 2M ppgtt guest (Xiaolin) ---------------------------------------------------------------- Xiaolin Zhang (1): drm/i915/gvt: fix incorrect cache entry for guest page mapping Xiong Zhang (3): drm/i915/gvt: Warning for invalid ggtt access drm/i915/gvt: Don't use ggtt_validdate_range() with size=0 drm/i915/gvt: Checking workload's gma earlier Zhenyu Wang (1): drm/i915/gvt: remove duplicate include of trace.h drivers/gpu/drm/i915/gvt/cmd_parser.c | 10 ---------- drivers/gpu/drm/i915/gvt/fb_decoder.c | 6 +++--- drivers/gpu/drm/i915/gvt/gtt.c | 9 +++++++++ drivers/gpu/drm/i915/gvt/kvmgt.c | 12 ++++++++++++ drivers/gpu/drm/i915/gvt/scheduler.c | 28 ++++++++++++++++++++++++++++ drivers/gpu/drm/i915/gvt/trace_points.c | 2 -- 6 files changed, 52 insertions(+), 15 deletions(-)