Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp669246iog; Fri, 24 Jun 2022 11:20:37 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uHVUtAIL1phklt9h8dBSyU3QSiD+pd7J7g6iP0lx9EfCpbHeWaVWOah9gbhyiWC/DHTPZv X-Received: by 2002:a05:6a00:84a:b0:525:6396:ae62 with SMTP id q10-20020a056a00084a00b005256396ae62mr260461pfk.31.1656094837010; Fri, 24 Jun 2022 11:20:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1656094837; cv=pass; d=google.com; s=arc-20160816; b=jzFoqar8JQf7by8XXnrjs1Nk0fnc5bTVQV1vQkzj6x96O1sA6np5Cpq4YIf0HEf70d bY2+nH4lwdeQLgmtbCBT9bKVUicHWp5AeNkywcbTCqhP0F2MBJEBGixju1hQ0S2NYLcs f4lFaKTiyyIPGPZAjRXpWSgunthkLk1ngpfTDs83f4py6kOIdK9vK4CKoI24aH2r2+FM 7OZQO2tjcNy9SixdUEX690/PzBejIOwcq8tK4GgZZZ1ExURnqv4WDhJdz6A63n95irqU fvOEXok4GSBU9mVMJej4stKz0jqPJ/kZOzw8Eoz28P8znW31kg6PK+PPPFRdiNE1baFf gYmw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :msip_label_4342314e-0df4-4b58-84bf-38bed6170a0f_contentbits :msip_label_4342314e-0df4-4b58-84bf-38bed6170a0f_actionid :msip_label_4342314e-0df4-4b58-84bf-38bed6170a0f_siteid :msip_label_4342314e-0df4-4b58-84bf-38bed6170a0f_name :msip_label_4342314e-0df4-4b58-84bf-38bed6170a0f_method :msip_label_4342314e-0df4-4b58-84bf-38bed6170a0f_setdate :msip_label_4342314e-0df4-4b58-84bf-38bed6170a0f_enabled:msip_labels :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=OQhLk1HLPAb0Y22vL0AwflOAaq6VId6lfiAjUdLluIY=; b=j/Iw4rBAQ9LxEkUtaC+4gaD3Ps+e95hu8vrQuNin9nCXyH1Bkk485IYKvHzIP6MWsz YNkw7UXh9gVvYqjjbioCgrs1z8diqP5Sxr/+wKV+aqet1BT2In0HvyVXqvrelUY5X3h+ LKk9D+VsFvwIzI3ULXZFcbikOor1s6+mopsRjTcfD3HDgkah2pBPQXF3HqBoeAnO3JR4 CY96V1+Ni4N3spJZUQR8/FigeMRVpquc2vKmFBpNtZcY0oGq6JBOkcSsSg9FQ3/A5/I4 r+eIOvFi4Ugs977SjjuWE8S8LrrVoZYE0tOOPwsEbLUTdW2W5mx7yFScL96nrtEWyyFW zZ2w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=MJ21JMSY; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); 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=amd.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 82-20020a621855000000b0051cb8b91215si2860173pfy.293.2022.06.24.11.20.11; Fri, 24 Jun 2022 11:20:36 -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=@amd.com header.s=selector1 header.b=MJ21JMSY; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); 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=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230441AbiFXSRw (ORCPT + 99 others); Fri, 24 Jun 2022 14:17:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230397AbiFXSRv (ORCPT ); Fri, 24 Jun 2022 14:17:51 -0400 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2041.outbound.protection.outlook.com [40.107.236.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A19A52519; Fri, 24 Jun 2022 11:17:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JEvtVIBlu5vGlPr8WHa5T0CrBZZN+PClovq5sbQmDM+s9Gqr1OK3NY5kl5gKQXjDG+q9944jTf1AwLR1UiO3q0doS2/Etuaw+IneQmUdTZ6P030ykBM9rch7hS/tKBr1fEddrKVDODcM/1dtgVuEDYGjJAK1Hxj9BD9UCmc0K0vcZd08bxIsy3IihAzWPF0R+rc5sNnTh5gz/9T1Xh3O3pNNc2Bq4IEZGbqrZAh0yESPvWYX9SRLKPZjqNLZqKcUD2tCNe/Pb+wYcpzcB8Lqv2fdHyDUNERGsKKoAjZ2VzXclGMFBVKPCOgDd37O0X4Fdzz2AEprMBtTWsxq058yHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=OQhLk1HLPAb0Y22vL0AwflOAaq6VId6lfiAjUdLluIY=; b=KTqbtjO5A1HyBlSXo4aE+T1kn4d4isHTiynBs6OakuWDsQZhJ8JG8VRRnNPPp9+yfkX0EXs4qtWLbGpgaFE2Dploss5Jgy/dUJYv+ibMbRXJnuO8c4gHXn5k1Z9uUpYxQNJ06UAsA6KP844KEysB8+Mbjq8qa0ZpzTeIhCjJzn0IzxQVuA1xs2ZC5uczNfhUt/zbvAi5TZ0pr0zeivsZTW8x3YFRcjF0s6tpfiVrztslGuMz2cbpa4dOZOAIkWlDs3OU8yO5sbdfKPfPYOzzhnqwKYPQ1hpIJzv+ujTMnxK/m2MzeIxzlBdw45AkTSBu40URnmi+EBK/fNLXld0//A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OQhLk1HLPAb0Y22vL0AwflOAaq6VId6lfiAjUdLluIY=; b=MJ21JMSYiUPae9CrpMcUVVikZreRIMcayi7mqOD5+dxvmJZJtkQiNM82Eft5UfoUbxMCxPj1sRvByHDIRDL35wx3odpWbfVXuueBhSnaBDy3zHn2kB7yqoFzarU0Gqy3IDM40ZzOPZaisfc0+Q6yF+D0tSr7dfrkhHK+E+rpUIw= Received: from SN6PR12MB2767.namprd12.prod.outlook.com (2603:10b6:805:75::23) by BN9PR12MB5384.namprd12.prod.outlook.com (2603:10b6:408:105::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.17; Fri, 24 Jun 2022 18:17:45 +0000 Received: from SN6PR12MB2767.namprd12.prod.outlook.com ([fe80::8953:6baa:97bb:a15d]) by SN6PR12MB2767.namprd12.prod.outlook.com ([fe80::8953:6baa:97bb:a15d%7]) with mapi id 15.20.5373.015; Fri, 24 Jun 2022 18:17:45 +0000 From: "Kalra, Ashish" To: Peter Gonda CC: the arch/x86 maintainers , LKML , kvm list , "linux-coco@lists.linux.dev" , "linux-mm@kvack.org" , Linux Crypto Mailing List , Thomas Gleixner , Ingo Molnar , Joerg Roedel , "Lendacky, Thomas" , "H. Peter Anvin" , Ard Biesheuvel , Paolo Bonzini , Sean Christopherson , Vitaly Kuznetsov , Jim Mattson , Andy Lutomirski , Dave Hansen , Sergio Lopez , Peter Zijlstra , Srinivas Pandruvada , David Rientjes , Dov Murik , Tobin Feldman-Fitzthum , Borislav Petkov , "Roth, Michael" , Vlastimil Babka , "Kirill A . Shutemov" , Andi Kleen , Tony Luck , Marc Orr , Sathyanarayanan Kuppuswamy , Alper Gun , "Dr. David Alan Gilbert" , "jarkko@kernel.org" Subject: RE: [PATCH Part2 v6 24/49] KVM: SVM: Add KVM_SEV_SNP_LAUNCH_START command Thread-Topic: [PATCH Part2 v6 24/49] KVM: SVM: Add KVM_SEV_SNP_LAUNCH_START command Thread-Index: AQHYh9i1LEqt/x/AxkuVpnOlpv0O7q1e3FyA Date: Fri, 24 Jun 2022 18:17:45 +0000 Message-ID: References: <6d5c899030b113755e6c093e8bb9ad123280edc6.1655761627.git.ashish.kalra@amd.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Enabled=true; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SetDate=2022-06-24T18:12:56Z; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Method=Standard; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Name=General; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SiteId=3dd8961f-e488-4e60-8e11-a82d994e183d; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ActionId=70492cba-463e-4db4-b337-0ac5ed11cfad; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ContentBits=1 msip_label_4342314e-0df4-4b58-84bf-38bed6170a0f_enabled: true msip_label_4342314e-0df4-4b58-84bf-38bed6170a0f_setdate: 2022-06-24T18:17:43Z msip_label_4342314e-0df4-4b58-84bf-38bed6170a0f_method: Standard msip_label_4342314e-0df4-4b58-84bf-38bed6170a0f_name: General msip_label_4342314e-0df4-4b58-84bf-38bed6170a0f_siteid: 3dd8961f-e488-4e60-8e11-a82d994e183d msip_label_4342314e-0df4-4b58-84bf-38bed6170a0f_actionid: 911fc746-b331-416d-80e8-7a35a07663b5 msip_label_4342314e-0df4-4b58-84bf-38bed6170a0f_contentbits: 0 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 35e12a6f-c433-4a78-02d6-08da560dd61b x-ms-traffictypediagnostic: BN9PR12MB5384:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5MLmSIHZOnzR8EQrJaNjFVmMN2jdjHBnaEn3QPNYD5dKf66ss8U9OLGouPz4m1o11XETug0E2MqEYKXWNKOJ1wwBqW98OIUDXZNHNcWwUq7Qy+oagh2kn0Ib+aaulp1HpOBuZJYSL6n2QTww3ADGP1qr4aGDsZGY72eD5fcrAO7iNgaj7Lm5JKcTUrSedBcZUnFobfTdExqiSUzvJuaItaSxWKzPYCtbynduP1CSE8INRo1pcx5mslqssfdHQWcLUGsYFxnnnXRLZqOzqUpxByRkATnP5vtZ9GRy5cIdqFH7UNc85QUTdbXNMGipC/YUlx9WRFDNGWM++dfeZo5aU0H0baTOOq+bRUETWMxO2YsBKCJ+9ttl1tmpNkTOApvDsF59f4rar0RSg9bsd3cXN3QbH+Lzoq4hjLbifmwLsnG/0voYoYFiQb3Ogyk8xrUDO0OZMyzPriTrVUpwezSqVgqZ7rmGF7LMBMsixTkoLpaSgljWGmYagidPfEm17OXL/te5z0u2+/lhEJS3ZS/wmjoYa0vYZsjY1GW9As2nczKwXa/eflI9wMi03Nf7Aw4guGQlecStxM0hZx5sajW6XNflZsKaL98+EJ06oFZJC+oIIeTF1pmvrOjH8/9G16/w4eBEp1qXMT4uQZM1chgx7OKWD1LSVEZjvbgkPkCYV+38C26DkAGiNc67f4JaiODUMWR0hbYaAx6drWUIyyylabPxudEoOx8LuOhUcDk9XfqweW0MBbA8/aa1U+Vn4EoK7dAPuwi5+VlF3FuGpkkuNZT0X/60oLfBdqMQ58d7+ho= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SN6PR12MB2767.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(136003)(39860400002)(346002)(376002)(396003)(366004)(76116006)(66556008)(6916009)(38100700002)(64756008)(71200400001)(66946007)(33656002)(4326008)(66476007)(66446008)(8676002)(38070700005)(52536014)(8936002)(54906003)(5660300002)(316002)(86362001)(122000001)(26005)(83380400001)(41300700001)(186003)(9686003)(478600001)(6506007)(7696005)(55016003)(2906002)(7416002)(7406005);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?QVNtZVg3RGZ5eDEzRCtXUnhUcGJLT2JuTUYwMTY3K0FzY1Z1RDRVYjdmTUh2?= =?utf-8?B?K0F6a3NRUjAwanFLdFlZdExMK2d6SmJmb3JlY09oY1V3WnFpalpTUkRWeU1J?= =?utf-8?B?dHdWTFBya0o5cmhRQU1WSzJRcFhuKzRMKy9kQnF3cEYxUGRGVzRyaXZheUk0?= =?utf-8?B?YmFoMkppWEZkckxROWJsUUNIZEhLcjZmeS91cFhGUlJTS25FTE8wY01QeGMz?= =?utf-8?B?allkUUUxQTVHU2VKcjlWZ0kzUXJINWxrS08rWVB5UDN0ZzJwK2p6YXNnYWtw?= =?utf-8?B?U2NpWllLNUZaY2I1SE5RMGM3Y0tsOWZCZmsxNldZSU5LaUdQV3FrcWhyNE1O?= =?utf-8?B?Y0FKT3dJNFZXdDJyZFo4Zk1aN3c1NkJm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E0OTdReE5vUGZCeWY1MEpCTVNncjZVR1NmeHdw?= =?utf-8?B?Z0UxdlJDL2tDKzlCdjArU2wwb0RibUY4Vm9VeTBJeEZFWlV1bmtuT25mM2xx?= =?utf-8?B?TnRMdng4aGV6ZkQ2Rkg4T0Exd1d6QjUxa1ZvYlRKSnB0MzBoZ0h1eUJaTGNC?= =?utf-8?B?Z2JqU1pYbUNHdWZzb0NydlEzL3lYM2NLYU4wUnNXMEY3TVFtODRiVTJrUjdN?= =?utf-8?B?SGdmWjR5Mnc5cjZNank1a3hkWjdaWGFmQzlFWnFlU3R2RDFUWUg4Q0lKejFs?= =?utf-8?B?elBkbGVzQk5zQTB6MmJvckVRb2dldUdFa0N1WWNUTnhpWkV1d3RrNkZwa01J?= =?utf-8?B?dEVDeThQUnFzNzhHQ3FwOXIyM1dHUVdBQlY4WEs5eVhKcWtOMVRpUS8zZmlH?= =?utf-8?B?RE5ITzcyS1FJS1lPM01TZi93USs2YlczTWpXdDJrajRqd0diOEhnV0VVUHd6?= =?utf-8?B?Q2pjOXhPbEovRkVteUs4NmZXaHlOdDIyRFlmZm5Kd0k0QmFCbkYzKzlpR3pW?= =?utf-8?B?TUUrcmtGWHpkQmtCUkxQNm5panNSQlZJblJjemhZeEF4KzBsY25Bc0VHNk1Q?= =?utf-8?B?SXQwbURnUHN1L2loOHZaekF1VFcvK3FGT1kxNGJHWXZMQ1RPRXdFYnIvSGwr?= =?utf-8?B?OENBd1lweWFNL0dlcndrc2EyQWUyb1J3b1hqTU1IVFgzQlBDSHBUcEJpdlQz?= =?utf-8?B?akZWUnRDRkdiZllNUnJ0SHl6d3RjamNNeUxhOXdadjJWcFZIa3VRZGV2dTZv?= =?utf-8?B?OVo0SUE2aSs0M3VKWUpEUGQzUTZOOWlyVHNKR0FSdEJwVjhCWU5rUURtdjNE?= =?utf-8?Q?kh98=3D?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN6PR12MB2767.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 35e12a6f-c433-4a78-02d6-08da560dd61b X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jun 2022 18:17:45.2379 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 6iJiaIWkikRBrypBftW2mO/k0PD1l6hT5QyrIpRoFmRaIt7BcNrPYUL8KUW02LCo75/yHUH65DVVfQhqngLxtw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR12MB5384 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,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 W0FNRCBPZmZpY2lhbCBVc2UgT25seSAtIEdlbmVyYWxdDQoNCj4+ICtzdGF0aWMgaW50IHNucF9k ZWNvbW1pc3Npb25fY29udGV4dChzdHJ1Y3Qga3ZtICprdm0pIHsNCj4+ICsgICAgICAgc3RydWN0 IGt2bV9zZXZfaW5mbyAqc2V2ID0gJnRvX2t2bV9zdm0oa3ZtKS0+c2V2X2luZm87DQo+PiArICAg ICAgIHN0cnVjdCBzZXZfZGF0YV9zbnBfZGVjb21taXNzaW9uIGRhdGEgPSB7fTsNCj4+ICsgICAg ICAgaW50IHJldDsNCj4+ICsNCj4+ICsgICAgICAgLyogSWYgY29udGV4dCBpcy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