Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1681077rwb; Thu, 10 Nov 2022 21:31:12 -0800 (PST) X-Google-Smtp-Source: AA0mqf4YVFhuIEz+hxMV8AN4y46xz4y0LBGBHWxQ6s901ifxoZROVOFJBUfFYFwwixKtnu+9J3lu X-Received: by 2002:a17:906:1194:b0:7ad:960d:3a4d with SMTP id n20-20020a170906119400b007ad960d3a4dmr587845eja.522.1668144672343; Thu, 10 Nov 2022 21:31:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668144672; cv=none; d=google.com; s=arc-20160816; b=xqz3GkYFpwXIlUbrPYOSmXthqXL3Ox09wUGKjq5D/GoFpJw+ybIBHWUCFkhPEBQmFq fzIi4naDgU7Tgq66tM/ZZ7MvvaABCHLckU3gBxKwSONGqcwlzQdl77LEFZ/ZaSilZlRe 9WAMcGSf4ghdAnVfyIqNKc+1cLfnGMYQpsfg/MKSsrfeWEho2qMu6Dp9Wt9Ux9dxaHwd axgeCXrQQm2Z+MCDWWL/YVuH2eMd0of8SnOpCrxgqtlE7Ac5T/98jn7H6kx8Ax0bHLr0 zKyvTl0AoAvkCS3e6nGpr0EB0twk8fvUHAkqsLTiClNsWbN5QyqEWiBIEKihlTXbzzkF OQig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=9kIBiBwCQHHDiGsR1JCGAXQr4/zMsnE+ep4A29KAkjY=; b=ZThauo/ugCt0FaO4zzpygbXlE2YFiIeuqgtunT+6tIgw7lJreuPGHiRTzGcJ5QO/6i y4cLpctqKUDPEmkLKQEX3tybTtAt/eVUwdyPkPTzzKHDa9tqTRfCI2fZcpHrzQNILcm3 0kjdaRT65OrGUqCkc3ab8NmBjFM3hKGPzJ/QwQ+rWwVL71ixl8iwZxRjq5UCfKrAzSJh dM4tKb4ALsSsudPLkgFsHjnaivfYIlviIhHuPVfwbWue/wywkGmMnB1fhmSBhytt6ief SrHpY7qlZKuUBIrV5/1a8Qdq6Rv1GjZH/Dc0ep9tr2vSJYGlMqAkKF4dlI+JU0iZMr2U d/YA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=YKPQR9NH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k19-20020a508ad3000000b00461cb25bdefsi1419104edk.254.2022.11.10.21.30.50; Thu, 10 Nov 2022 21:31:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=YKPQR9NH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230232AbiKKFRd (ORCPT + 92 others); Fri, 11 Nov 2022 00:17:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbiKKFR3 (ORCPT ); Fri, 11 Nov 2022 00:17:29 -0500 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCA676B383 for ; Thu, 10 Nov 2022 21:17:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1668143848; x=1699679848; h=date:from:to:cc:subject:message-id:reply-to:references: mime-version:in-reply-to; bh=ql328E2NG2zRXgk89uFvUx0p6YzxyXQHLwUbNDKXi8k=; b=YKPQR9NHVqlhF+7+EP/LZBa8tq0MAE92NH/X3Xgg26CY/2HhOXNm1kzV kNbDfzCGnqhX1PtJ21a8ZFvA4K/uUOnKdYyNfotqIqtQWueRVb/C2CRmy EzqXzeSfrt/NMGnbPkBo+jfoDpbii0FxIs9ABpjjTZ1Hga8zRzyJQ6qQK ozYjThFMMZ9o0CF/XTfh46AKX31+FE2vAr4Q/Hm8NCV1fATAQATrEDvPG EQWgw5G5i92JirYkwgelAtyH5SWamxq1y1oGGmbFR7sM9hKk8i7k7VVnY GBqme4KOwdaIzGi6hehnbGoCkRtnKYSgSjhI5vGBDkpaXYICnBgJeWDbj w==; X-IronPort-AV: E=McAfee;i="6500,9779,10527"; a="397823412" X-IronPort-AV: E=Sophos;i="5.96,155,1665471600"; d="asc'?scan'208";a="397823412" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Nov 2022 21:17:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10527"; a="639894622" X-IronPort-AV: E=Sophos;i="5.96,155,1665471600"; d="asc'?scan'208";a="639894622" Received: from zhen-hp.sh.intel.com (HELO zhen-hp) ([10.239.159.108]) by fmsmga007.fm.intel.com with ESMTP; 10 Nov 2022 21:17:27 -0800 Date: Fri, 11 Nov 2022 13:16:55 +0800 From: Zhenyu Wang To: Sean Christopherson Cc: Zhi Wang , intel-gfx@lists.freedesktop.org, intel-gvt-dev@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] drm/i915/gvt: Fix for KVM refcounting bug Message-ID: <20221111051655.GO30028@zhen-hp.sh.intel.com> Reply-To: Zhenyu Wang References: <20221111002225.2418386-1-seanjc@google.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Rmm1Stw9KgbdL9/H" Content-Disposition: inline In-Reply-To: <20221111002225.2418386-1-seanjc@google.com> X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Rmm1Stw9KgbdL9/H Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2022.11.11 00:22:23 +0000, Sean Christopherson wrote: > Bug fix and cleanup related to KVM refcounting. Found by inspection while > attempting to clean up KVM's page-tracker APIs. >=20 > Compile tested only! >=20 > Sean Christopherson (2): > drm/i915/gvt: Get reference to KVM iff attachment to VM is successful > drm/i915/gvt: Unconditionally put reference to KVM when detaching vGPU >=20 > drivers/gpu/drm/i915/gvt/kvmgt.c | 8 +++----- > 1 file changed, 3 insertions(+), 5 deletions(-) >=20 Thanks, Sean! and Kevin's review. Pushed this to fixes tree, will issue regression test before going upstream. --Rmm1Stw9KgbdL9/H Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQTXuabgHDW6LPt9CICxBBozTXgYJwUCY23awgAKCRCxBBozTXgY J2EMAKCa/3JJB5jBs4Y27kn2yBiYr6NLmgCfaefRrTdWjykmFApwicOZO21ZUQg= =/qdW -----END PGP SIGNATURE----- --Rmm1Stw9KgbdL9/H--