From patchwork Tue Aug 14 07:31:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhenyu Wang X-Patchwork-Id: 10565151 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 2414D157B for ; Tue, 14 Aug 2018 07:40:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0E8922978A for ; Tue, 14 Aug 2018 07:40:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 025C1297A1; Tue, 14 Aug 2018 07:40:41 +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 81A142978A for ; Tue, 14 Aug 2018 07:40:40 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4649C6E248; Tue, 14 Aug 2018 07:40:39 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5D9CE6E23D; Tue, 14 Aug 2018 07:40:37 +0000 (UTC) X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Aug 2018 00:40:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,237,1531810800"; d="asc'?scan'208";a="83199282" Received: from zhen-hp.sh.intel.com (HELO zhen-hp) ([10.239.13.143]) by orsmga002.jf.intel.com with ESMTP; 14 Aug 2018 00:40:31 -0700 Date: Tue, 14 Aug 2018 15:31:40 +0800 From: Zhenyu Wang To: "Vivi, Rodrigo" , Jani Nikula , Joonas Lahtinen Message-ID: <20180814073140.GJ22630@zhen-hp.sh.intel.com> MIME-Version: 1.0 User-Agent: Mutt/1.10.0 (2018-05-17) Subject: [Intel-gfx] [PULL] gvt-next-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, This is initial gvt fixes for 4.19 with some accumulated fixes, pls check details below. Thanks --- The following changes since commit 3237c0dbe21f8d2ca2feaa3891aff3619873cd30: drm/i915/kvmgt: Fix compilation error (2018-08-06 11:28:35 -0700) are available in the Git repository at: https://github.com/intel/gvt-linux.git tags/gvt-next-fixes-2018-08-14 for you to fetch changes up to 7590ebb8b456464e48840a6d106a0c07de6d723a: drm/i915/gvt: fix memory leak in intel_vgpu_ioctl() (2018-08-14 15:27:12 +0800) ---------------------------------------------------------------- gvt-next-fixes-2018-08-14 - Fix an error code in gvt_dma_map_page() (Dan) - Fix off by one error in intel_vgpu_write_fence() (Dan) - Fix potential Spectre v1 (Gustavo) - Fix workload free in vgpu release (Henry) - Fix cleanup sequence in intel_gvt_clean_device (Henry) - dmabuf mutex init place fix (Henry) - possible memory leak in intel_vgpu_ioctl() err path (Yi) - return error on cmd access check failure (Yan) ---------------------------------------------------------------- Dan Carpenter (2): drm/i915/kvmgt: fix an error code in gvt_dma_map_page() drm/i915/gvt: Off by one in intel_vgpu_write_fence() Gustavo A. R. Silva (1): drm/i915/kvmgt: Fix potential Spectre v1 Hang Yuan (3): drm/i915/gvt: free workload in vgpu release drm/i915/gvt: fix cleanup sequence in intel_gvt_clean_device drm/i915/gvt: initialize dmabuf mutex in vgpu_create Yi Wang (1): drm/i915/gvt: fix memory leak in intel_vgpu_ioctl() Zhao Yan (1): drm/i915/gvt: return error on cmd access drivers/gpu/drm/i915/gvt/aperture_gm.c | 2 +- drivers/gpu/drm/i915/gvt/cmd_parser.c | 2 +- drivers/gpu/drm/i915/gvt/gvt.c | 15 +++++++-------- drivers/gpu/drm/i915/gvt/gvt.h | 4 +++- drivers/gpu/drm/i915/gvt/kvmgt.c | 26 ++++++++++++++++++-------- drivers/gpu/drm/i915/gvt/scheduler.c | 7 ++++--- drivers/gpu/drm/i915/gvt/scheduler.h | 3 +++ drivers/gpu/drm/i915/gvt/vgpu.c | 23 +++++++++++++++++++++-- 8 files changed, 58 insertions(+), 24 deletions(-)