Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1106819rwr; Wed, 26 Apr 2023 10:07:54 -0700 (PDT) X-Google-Smtp-Source: AKy350ZtLBh5qnomQisfHcciMwrXF+rjpAGv4DgqZ4tudGMLGf+n1Y5x6BiFlnYiC2J27K5B3ouh X-Received: by 2002:a17:903:2447:b0:1a6:b196:619d with SMTP id l7-20020a170903244700b001a6b196619dmr26078832pls.6.1682528874404; Wed, 26 Apr 2023 10:07:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682528874; cv=none; d=google.com; s=arc-20160816; b=Qe0/WcN0wEd/24+CHgNWkk+QczkkOEXSpExu9ZksBQ7Qjr3t1wQVoAZgj/RWKEkAIO THYksgdTI3lY+rzEB6Rut+qFwAMWK+s4qw5dxFciI4KT1tajrAzNXEk2AVMqf0jg0Elw stLvtT4P2+NXQ0HYpKOxDVkYB5H5RtwuRpLd1A9Cej7w052eOEOTimLYwjYF7AC+KFZ0 oj7HlOS7vv7bjOZZ//eKHjym0a+TgZAhFV9jxP6Of/AlVhL+Xx34rb+a6Vm4g0NL0Oo2 uC1xOSWuaZd/p+dXGlboBihTJk5UdJSG05a2GrIpBNjxryk5j7I3L5/H5XsTGFd/VIA8 fTbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=/q/RayQgCyxolJD2+aA0KPoPbGMNuZ3edjcz0uAPYGg=; b=TzP1C0PLxOodjfqd8KaN8PeFURtjLxOj1wYlSBANeHnDwT/+mBE7+XB2GlhF82watB W+W6FZWw46Wmey1u+4SLNVx+eO2ltFB9+CMWxCsgR1nHLDfOFnyPaTSM2v2SZdjhV4VA QPi4nO9ij5fgZHF02MzYS1nDr15/K2fF86zKeb8LLoUnwlGwXG7+TSeawFzjdiwXSnmX NyC3BWYfmsYCagk20MWS3g4xamaayIDUih9UwT1X7KhjbrevuBh88Qap4luCbtuVlDmP csg7oVZ7wDzjdFKFy7r+ssFfPe/v9A2Y/DMwHfVAkoKigHHj6FoK8UdgpYHE+/YNZLK+ 47Lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=dLMWBP8d; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l14-20020a170903244e00b001a6e87f4336si18832167pls.275.2023.04.26.10.07.33; Wed, 26 Apr 2023 10:07:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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=@amazon.com header.s=amazon201209 header.b=dLMWBP8d; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236937AbjDZRHR (ORCPT + 99 others); Wed, 26 Apr 2023 13:07:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236411AbjDZRHJ (ORCPT ); Wed, 26 Apr 2023 13:07:09 -0400 Received: from smtp-fw-80007.amazon.com (smtp-fw-80007.amazon.com [99.78.197.218]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 157F67EC1; Wed, 26 Apr 2023 10:06:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1682528818; x=1714064818; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=/q/RayQgCyxolJD2+aA0KPoPbGMNuZ3edjcz0uAPYGg=; b=dLMWBP8dvSMd870q2qXV9LjEzdEJxqj66IPnTx7607kd2jM6q5+MBqwD S2wTJxzdD/TFpH0nH7gREhSDqna1q1WgmepffswvUpqP5LP6jufQS43mW D64CIuONcGGLqtsOYnKCOQnDDYGU0tLZrs5WVMp1f06mrdf3nC2mTGcRU g=; X-IronPort-AV: E=Sophos;i="5.99,228,1677542400"; d="scan'208";a="208529811" Received: from pdx4-co-svc-p1-lb2-vlan3.amazon.com (HELO email-inbound-relay-pdx-2b-m6i4x-f323d91c.us-west-2.amazon.com) ([10.25.36.214]) by smtp-border-fw-80007.pdx80.corp.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Apr 2023 17:06:55 +0000 Received: from EX19D015EUA004.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan2.pdx.amazon.com [10.236.137.194]) by email-inbound-relay-pdx-2b-m6i4x-f323d91c.us-west-2.amazon.com (Postfix) with ESMTPS id 7F02640D51; Wed, 26 Apr 2023 17:06:53 +0000 (UTC) Received: from EX19D024EUA002.ant.amazon.com (10.252.50.224) by EX19D015EUA004.ant.amazon.com (10.252.50.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Wed, 26 Apr 2023 17:06:52 +0000 Received: from [192.168.12.110] (10.1.213.23) by EX19D024EUA002.ant.amazon.com (10.252.50.224) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Wed, 26 Apr 2023 17:06:38 +0000 Message-ID: Date: Wed, 26 Apr 2023 20:06:33 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH RFC v8 34/56] KVM: SVM: Add KVM_SEV_SNP_LAUNCH_START command To: Michael Roth , CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Brijesh Singh References: <20230220183847.59159-1-michael.roth@amd.com> <20230220183847.59159-35-michael.roth@amd.com> Content-Language: en-US From: Sabin Rapan In-Reply-To: <20230220183847.59159-35-michael.roth@amd.com> X-Originating-IP: [10.1.213.23] X-ClientProxiedBy: EX19D035UWB003.ant.amazon.com (10.13.138.85) To EX19D024EUA002.ant.amazon.com (10.252.50.224) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE 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-crypto@vger.kernel.org CgpPbiAyMC4wMi4yMDIzIDIwOjM4LCBNaWNoYWVsIFJvdGggd3JvdGU6Cj4gRnJvbTogQnJpamVz aCBTaW5naCA8YnJpamVzaC5zaW5naEBhbWQuY29tPgo+IAo+ICAKPiArc3RhdGljIGludCBzbnBf ZGVjb21taXNzaW9uX2NvbnRleHQoc3RydWN0IGt2bSAqa3ZtKQo+ICt7Cj4gKwlzdHJ1Y3Qga3Zt X3Nldl9pbmZvICpzZXYgPSAmdG9fa3ZtX3N2bShrdm0pLT5zZXZfaW5mbzsKPiArCXN0cnVjdCBz ZXZfZGF0YV9zbnBfYWRkciBkYXRhID0ge307Cj4gKwlpbnQgcmV0Owo+ICsKPiAr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