Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1272433lql; Tue, 12 Mar 2024 12:02:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWKPeoeVg3/cQvJO2PwXJy7g0A652OOxkmoPR2pLlDX3j5T8YAXw28TugFT9T4LmPeBbzwND/HzrE2+e/wd1hf/bWIQovdb4XSIakhP0g== X-Google-Smtp-Source: AGHT+IG8N5OHB7ZC5DAto9CKnHt6WVnWWv9kbsVx1wxzj9sRD3VZIfe3dxVs2DC1RWBptOZ+hljq X-Received: by 2002:ac2:5211:0:b0:513:2bf7:b233 with SMTP id a17-20020ac25211000000b005132bf7b233mr712044lfl.8.1710270147109; Tue, 12 Mar 2024 12:02:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710270147; cv=pass; d=google.com; s=arc-20160816; b=F15UZu5CNOUxEnCiJRgsM5jcaZrz4dDQ9QbMn7rLT5jJXmcItwJTKkz1PGatdyPCus R0IiStGSpkVV2ez3pKPaKuu6cddE4Fg+byOUDnSiaZZhRDkJc5+K/nnrv/B6pSCr76GA biGuypNZM/3zUK34UBZSw9J6ahAUdUktqYPrrRfr5AsRVckCG/+ISuvnMD/0h9Yyf8XL MKOmD6zBB+jL1iPfzqzu3mT+FGU95hAJOWiPihsbfmGFUjvuBrB6PdwKscepErJhN/ZU Aq/YFJEFz8geo8q8j7J5nnG3uzXpBWlhYJtrnmiOMnB9nO26Se1Xf/SztMXFnehSJOSV 0/aQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=t+4AQga0lAWsATXOUYRzTtJfhkRbPNElz6bu4rx7jPE=; fh=Ay8XbSP/u1QxLmGJuhOML5JarmOPxB0mDbOcpBjxKs8=; b=pWfv4uiT/+Qk5W3lapnUYaH7nIAO81YORSQYM/x2SZfx77yG5q6LQN4YD0++Cheewa cHcg4BhVklriaIncXpzz/RV0Kk+JK/RviZw6mUATCPrIzd357GaWNIj43wB6Op0APU+U LOLc640oZNYy8qpBlAce7VDhX3V0WI1DZleex91f/PYgE9k84SvRr9ifPfTcdUdxPnRd SFHFQdkSUzN7vAM+63+OVnF8a5L+XIgYRQtBeB33zUFUx5VK9OhnGAWLhsF8aSRKwqgQ 8EZ1uHbbbIL+p2YWnbgKTWN8QfgmRcFs5Qz6aJgJaebqNIvQWQ6jQNULV6+gDr7aq9/n Td6w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="jNSads/v"; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-100398-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100398-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id va26-20020a17090711da00b00a462cc1d339si1950151ejb.79.2024.03.12.12.02.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 12:02:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-100398-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="jNSads/v"; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-100398-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100398-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 1740D1F25525 for ; Tue, 12 Mar 2024 14:52:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BA8967BB08; Tue, 12 Mar 2024 14:52:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="jNSads/v" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 470B17B3F8; Tue, 12 Mar 2024 14:52:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.14 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710255165; cv=none; b=j60tQrZuo8menCNqwUntpViXFrMvYklO8rAOyGR33cPU19J2JGvUWYtP8qESaR2rKskmCf1BrvKCNqqMGYa8DCYFvkz867EKj1ZOnOW52kTcOTdA5P4i2AJoxHYKppyr315igqGARUV3Qri0/iVtLcHhc9EY17p3hZ4EyhaB0no= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710255165; c=relaxed/simple; bh=hcVQn7I4DVIFWHwTEXd0MZq0+Qko6RLpLkLPp0r0R+E=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=EEG/b06zxA1MHRDKmDfXWXAKwggKbS9Iwgv9rWWQwPAaeEWd3agMjl/CrODKSlkm3xKUPI34ngdeDqe2oVamu3x3udM/zwyLgaboZCLdb/WFC+yUt4jn4RkUn4SFxlfSUdGoq7WbKByeLE2ndSXZfDVMPHPi78AtJfjgA/TWpfA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=jNSads/v; arc=none smtp.client-ip=198.175.65.14 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1710255164; x=1741791164; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=hcVQn7I4DVIFWHwTEXd0MZq0+Qko6RLpLkLPp0r0R+E=; b=jNSads/vOMf8eOHlOoe/GIXnzXMey3rWCs7HmkCOI9IetKHdYkW5FzLT 4ibWdt1FEsE+prOBnTtLGLgL6oQYjXBvEtVpAAPmDvhYhe3ks2PgLyNdc 90EU3R2HLJLGBFTqdztvOVvHb2jr6pFNujVz9GZORktjLzC/KrvUpTUoM cN5K38NGwdEb3eIIe+LOuyjHGIs30Jxzy7NC6FdMRXrm+ZGUqzp/zv8ei x0AEncKFxrLv13b2BIqi09EN/rUENjnSlct4a16eCXCgv++Y6/uRcBsAh p8X8eCPa0KqYbhGyJb+gIx9uuZEVAgNK9chTtFwZQWHMu0v6xc+ejebGS g==; X-IronPort-AV: E=McAfee;i="6600,9927,11011"; a="8786001" X-IronPort-AV: E=Sophos;i="6.07,119,1708416000"; d="scan'208";a="8786001" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Mar 2024 07:52:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11011"; a="937051896" X-IronPort-AV: E=Sophos;i="6.07,119,1708416000"; d="scan'208";a="937051896" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 12 Mar 2024 07:52:39 -0700 Received: by black.fi.intel.com (Postfix, from userid 1000) id 4B7D12B7; Tue, 12 Mar 2024 16:52:38 +0200 (EET) Date: Tue, 12 Mar 2024 16:52:38 +0200 From: "Kirill A. Shutemov" To: mhklinux@outlook.com Cc: rick.p.edgecombe@intel.com, kys@microsoft.com, haiyangz@microsoft.com, wei.liu@kernel.org, decui@microsoft.com, gregkh@linuxfoundation.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, dave.hansen@linux.intel.com, linux-kernel@vger.kernel.org, linux-hyperv@vger.kernel.org, netdev@vger.kernel.org, linux-coco@lists.linux.dev, sathyanarayanan.kuppuswamy@linux.intel.com, elena.reshetova@intel.com Subject: Re: [PATCH 0/5] Handle set_memory_XXcrypted() errors in Hyper-V Message-ID: References: <20240311161558.1310-1-mhklinux@outlook.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240311161558.1310-1-mhklinux@outlook.com> On Mon, Mar 11, 2024 at 09:15:53AM -0700, mhkelley58@gmail.com wrote: > From: Michael Kelley > Michael Kelley (1): > Drivers: hv: vmbus: Don't free ring buffers that couldn't be > re-encrypted > > Rick Edgecombe (4): > Drivers: hv: vmbus: Leak pages if set_memory_encrypted() fails > Drivers: hv: vmbus: Track decrypted status in vmbus_gpadl > hv_netvsc: Don't free decrypted memory > uio_hv_generic: Don't free decrypted memory > > drivers/hv/channel.c | 16 ++++++++++++---- > drivers/hv/connection.c | 11 +++++++---- > drivers/net/hyperv/netvsc.c | 7 +++++-- > drivers/uio/uio_hv_generic.c | 12 ++++++++---- > include/linux/hyperv.h | 1 + > 5 files changed, 33 insertions(+), 14 deletions(-) Acked-by: Kirill A. Shutemov -- Kiryl Shutsemau / Kirill A. Shutemov