Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp635129lqh; Fri, 31 May 2024 11:25:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWfEsZ5mW4u19wdUYUkl/t+MIvD1r5fnCPDxVRv8HCbj77Yd8I4ItPSZgYOYq7cif4/h6v5vC0XYFw6DSVLtorWwiJ0Y6gHLeNINQZvAg== X-Google-Smtp-Source: AGHT+IEcVOwaX4T6I3r6jcLaLt2cZjtfMKqk9EItR91TBVKCvVZz+ajgZ6qyFOX+1xrwYhr1ycoR X-Received: by 2002:a05:6e02:18cb:b0:36c:51bf:8795 with SMTP id e9e14a558f8ab-3748b97ef37mr34466285ab.7.1717179956850; Fri, 31 May 2024 11:25:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717179956; cv=pass; d=google.com; s=arc-20160816; b=bs0vzmCQ8WmQtewrzPRwLT9y3k1Pn1+tIBg2UAW826A/kKSa/7Acq06Cg1W3Zbhm/S W7nULNvO/3dBSt4Gc+agH1i9sB6+951IulA9HYfyWJRr9Sn1PTreiHh/KY2O+UL+M2o5 wiJ0wD6fgAA+NXqwjXliHvxvMPghDzxSaklbPigFQLCokVTIopjop8y3rETrPIs8NMD8 kV/jW+FnfLnINykRQmuJ+ySk0Gx4D/fqybvZ/gRB2rA5jvcHyWKeUAzVivzrmSzx58oA a911tPLZxzLgpRZZ8f9Q3tTzq61YhM/L+Sc3N2eJLplJ89tY8sUO5k3z3TnijRMPk+g+ ByHg== 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=A27r4FWltFYQLEwV274qXhTGvbQe8LtfwbJef5gbm3c=; fh=C50+PHJY8NJfvKF00KO6H4MRMSck6p2Xod6ucCGN7Hk=; b=WMFF1LTDiITRoL7oGGWiaPb3cH9P/XYdpvgNCT8hGCR50uvTTNeYd3Nl8y5SUR2i0V OiA2m/aMYVShw9N+3Ze/95V64BJxthod5Lbm2D6cU8oTDuyEnuIZT4s2hrQ0wbsDHDO1 Xgue3DFWBYWZrFoWY56T3op9WJ1BfB6L9ytv3GrkUpWdeawLVxzDiAou36QAYjMDVugM JOhSIOoSXwlMFVqCfgfuo764NhZGxlVQd6RM16Tk534BIDKi95dYQMZgbfGPfhrVJiqq R1wiK1I+qGBiIb2qXrT7njiD4X5CMY63q7XEkP1CqeGuKKCUqGuYiFAP/jc0StjICm15 RbTg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=FxR+oEX2; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-197281-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197281-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c35b40c660si1944062a12.563.2024.05.31.11.25.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 11:25:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-197281-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=FxR+oEX2; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-197281-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197281-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 4FA4CB20E28 for ; Fri, 31 May 2024 18:06:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0AA3217C9F4; Fri, 31 May 2024 18:06:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b="FxR+oEX2" Received: from mail.alien8.de (mail.alien8.de [65.109.113.108]) (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 72C057BB01; Fri, 31 May 2024 18:06:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=65.109.113.108 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717178807; cv=none; b=pt2mDCBvJVM62u0+IUvJbtX/f47omBx1mIq7nJdv+1VQfuzMw5stx5oenndjEXPj+Nx6a25j3DBu1J5lDBOMXEP6MAqiXjjeVGEKYSaYHTZ7wc2nyFsDEwApAh4r2Y28n7WyhXMVO8pkBA4Nokl6ss7ffr1KJUcIKLRUTpILYS8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717178807; c=relaxed/simple; bh=VWCDVEqpi15SHunGQViPjo+WwhIMz+rFMlZ3zNVC0rw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=MxvnZZiUl/t38/KBxAOR2q5lFU2eQZjOZQ2V3MzyGP2BiD82YoXrsw0DbXB4I3SpUohwmiPAkqYkQ4w3Fkbz9TuNL3Cx/5tX2nzlBJgHI8tUdM7TzBNs7vr/MPKIPDVx8es+10bCvshwz09B9Ww7QzOpxdJbgQhNcO6cFR5LsQs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de; spf=pass smtp.mailfrom=alien8.de; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b=FxR+oEX2; arc=none smtp.client-ip=65.109.113.108 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alien8.de Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id EE39040E02B2; Fri, 31 May 2024 18:06:40 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Authentication-Results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key) header.d=alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id m6MIu8_PAQTt; Fri, 31 May 2024 18:06:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1717178796; bh=A27r4FWltFYQLEwV274qXhTGvbQe8LtfwbJef5gbm3c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FxR+oEX2YaMrYOfacRiEJfU04L3Q36UzDdt4OclAKTWGprF3XaaHfqd2kdpUnuJtY UR6zJT7Hu2gg+RU3VJntQmg2tDHvtd6BliJI5+ro0iJYe74T4AoJP1bCA7zjdu9akg L7GAMxdO7bE3FYyjwOAJ0fH3xUoXW3I6wkq3gkAzXc8w6N6205NccyQ/M0fRmmnyXJ jj3nO/s0GyYlKl0Dq889EPpdXJmMhIYuNiG4R3AY32tvhnu9cyBQniz1k2sEOnEcnv myEaiUAc9APw/VOwvFk7ghtryNB2C/zBxjS4lFenHBncAh+cIOdRJ3HJC6xdrRW4BO fl1Mdv4vQdjYcNi9lCW5vaAzhHKte8kyhqRIMKax6gDoKsiVe3uvMG/EfaYeVlvaJZ /Y4sjViJ+7UuWSv0p7RMu29slFoB7h3GaY3iOJQSu6F2lIGb0JHPGJncv4dhPgkL1u FwuXH6HE8oQlpns540LGY2kEPYbx0qpwWb0b+YIh6CN3uNVvRnV4np0d3fA99EZ3m9 r7jhw5jXFlW3b4QVVzr1gu6x9LFnfLBXPz/3dhadvh1M6kMToWuQYDrn163BFZFOpc oo9Xa67Z6ESrSd+rmNYcKwbMV59zk0nGZyqBQBghH1dCpFqU6FbHThjGrH4dudhQBD DKs+NDxUxb0GqFLMSbaHN5HU= Received: from zn.tnic (p5de8ee85.dip0.t-ipconnect.de [93.232.238.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 6FA1740E02B7; Fri, 31 May 2024 18:06:09 +0000 (UTC) Date: Fri, 31 May 2024 20:06:02 +0200 From: Borislav Petkov To: "Kalra, Ashish" Cc: "Kirill A. Shutemov" , Thomas Gleixner , Ingo Molnar , Dave Hansen , x86@kernel.org, "Rafael J. Wysocki" , Peter Zijlstra , Adrian Hunter , Kuppuswamy Sathyanarayanan , Elena Reshetova , Jun Nakajima , Rick Edgecombe , Tom Lendacky , Sean Christopherson , "Huang, Kai" , Ard Biesheuvel , Baoquan He , "H. Peter Anvin" , "K. Y. Srinivasan" , Haiyang Zhang , kexec@lists.infradead.org, linux-hyperv@vger.kernel.org, linux-acpi@vger.kernel.org, linux-coco@lists.linux.dev, linux-kernel@vger.kernel.org, Tao Liu Subject: Re: [PATCHv11 11/19] x86/tdx: Convert shared memory back to private on kexec Message-ID: <20240531180602.GIZloRisrPdjLhaVBG@fat_crate.local> References: <20240528095522.509667-1-kirill.shutemov@linux.intel.com> <20240528095522.509667-12-kirill.shutemov@linux.intel.com> <20240531151442.GMZlnpYkDCRlg1_YS0@fat_crate.local> <75cb309b-b05c-42a0-a3ca-de08fa1cae59@amd.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=utf-8 Content-Disposition: inline In-Reply-To: <75cb309b-b05c-42a0-a3ca-de08fa1cae59@amd.com> On Fri, May 31, 2024 at 12:34:49PM -0500, Kalra, Ashish wrote: > SNP guest kexec patches are based on top of this patch-series and SNP guests > also need this exclusive mem_enc_lock protection, so CC_ATTR_MEM_ENCRYPT > makes sense to be used here. Well, for the future, I'd encourage you to always send an Acked-by: you or Reviewed-by: you as a reply to such patches so that it is clear that such a change is desired. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette