Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp5189010pxb; Tue, 28 Sep 2021 12:28:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJznoLQfqQ/MpAhf4Dcv7VZtY0FuEcIahtCezlLIS1PsrbhqbeGjKrE0woQKIA+iT5hFz1FB X-Received: by 2002:a17:906:49d0:: with SMTP id w16mr8527073ejv.455.1632857328692; Tue, 28 Sep 2021 12:28:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1632857328; cv=pass; d=google.com; s=arc-20160816; b=O8vQNjtYw+mNkX5XIaWyVJZ/ucicvRdSbCqGiXTmKsvJUpSPq95vsMDuuvj6ugQPig atqhqAzyYbDeYW0u+i1HHWju9fM29tCao4pxL3Zogsqkrv1oo64/nGUvoiSJmbcKM6mP dj9nHi9KCyU96Ln/caoidl424/RiXDQ23Om13ze0Txp8wKqeCmaixgKHzVjE3TVXrdRn vwgiNYT1HJu71HZyPZR1E7gP+tAkwnfvwoJwTlULGxk2Y1jVBJK5fb7C53SrP4KxyjLt NyeiSem+lBDvOon7NsTef/O/bBsPPr1VXrYEUjk/qaBukTCecroorRYXjrPzrH5s+kdu 1xeA== 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 :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=j3Nc6z5FlLwLu5J+sbEDq/Q2eeGCdLyfynhidfzOx4Y=; b=G8vDs8yEIIT7tVzjDw/NoilXzPrpi9dx248KPIwMUt0bQlohW4VpkaMl6PqS0tRaoC pULpoiM2obxFMAgLPYyO7t0KdA5w9EoXIoypugMj/Wjdr+hs68G34S+5v8F+CfN3DKFS B4zv8+JmzEOMdhsf2my81jiZuD4dEEDiVbrcoqwld6vIzSJMzZD5IsBpU3zFb8LGN1zr 6fZ98cZu4xoW3Kle+ORVLPWjg1ZmTwYgphbHLO81/KBxrxni6x8Ruf4nIdl8AopDC454 zyoQZy9XGtZ7LwhPAziXn9w/wj0skQ7laI90TRuEEo3KfZlqMG7cePUUvD68H6WuIsUR rErw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=3SkF2W0U; 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-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f20si572950edf.614.2021.09.28.12.28.22; Tue, 28 Sep 2021 12:28:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=3SkF2W0U; 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-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S242394AbhI1T2T (ORCPT + 99 others); Tue, 28 Sep 2021 15:28:19 -0400 Received: from mail-mw2nam08on2045.outbound.protection.outlook.com ([40.107.101.45]:48170 "EHLO NAM04-MW2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S242418AbhI1T2P (ORCPT ); Tue, 28 Sep 2021 15:28:15 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XQMmX0XWOvTtUke0ynrRzhiwwY6Lc3g6F664xX6snU5FYks8AghI8P/8+LSuyN1ZMoafVQ0Gki0Pna2o3FP6mkcA6LFvG9rra8SJgg/mj/kwIOiWfXChkQKibcOfg9bYABZpLaJRyDlvm1GamuAMsJlzJHqSOf4IvnvfYUXV6KIEY7cMld2bUcDhBxpQ5NP9vmto83WxzXe2XBgD/gCwm6u7ElPzeEBc5UrnWZXpob4L6KBJ4pwnB+i519ucHC+mjKQ9WEw+T9ryc+GKnWgEbRJrzUY8RyiJlNbTFA8yaadIv0ZhZvR1EiiUKFxITSttpLQSH3d9jkuFPoHXJJ11NQ== 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; bh=j3Nc6z5FlLwLu5J+sbEDq/Q2eeGCdLyfynhidfzOx4Y=; b=Q3mzJiXX1jQQ++lKWxPxowiV/ji4wy0//Y8l8Fns2ISIxe1R5ObVyJpC2sL4uNKcWNmGMMQpRvrlqobBFRn4WzEULK4e9tb4LHMOFA98iqze6wIlOIE3j99q/fdrfUW8xN3uYHgysXZvxTgLVXcf3JmMu64/H5Qmnnj1P5Wuj9HpEfi8IS7IJuayOHJtZxntzSm+QWUynK8qbB9VlJrVL743NE9IZKcUjsl4bQ2mVDFnasAi5tVMXkCKE97sH5Qs5lrAznfdZwrDLnhO5l86X58fStIph82wYHsjAYoTHwQY3E3Fvdp7+MywtPjWerqYL//mvQIzbZuhM70C8XIl/g== 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=j3Nc6z5FlLwLu5J+sbEDq/Q2eeGCdLyfynhidfzOx4Y=; b=3SkF2W0UVu5SGqRACTE/muoFiyHCX0jttxPtBkWuaiy5Vr9KbvCP1pqqiKq8mADN+WyVGB4ejXrBBv0kDsZR2lXZ3qZA9Lrf2ltuDhf/i7N0jrGFrp/kAQMzaR9D5J+XwCXdXx4tbV/B13H6s6OIalUtOwi5HTDVzr05cLR+6OA= Received: from SN6PR12MB2767.namprd12.prod.outlook.com (2603:10b6:805:75::23) by SN6PR12MB2830.namprd12.prod.outlook.com (2603:10b6:805:e0::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.13; Tue, 28 Sep 2021 19:26:32 +0000 Received: from SN6PR12MB2767.namprd12.prod.outlook.com ([fe80::491e:2642:bae2:8b73]) by SN6PR12MB2767.namprd12.prod.outlook.com ([fe80::491e:2642:bae2:8b73%7]) with mapi id 15.20.4544.021; Tue, 28 Sep 2021 19:26:32 +0000 From: "Kalra, Ashish" To: Steve Rutherford CC: Borislav Petkov , Sean Christopherson , "pbonzini@redhat.com" , "tglx@linutronix.de" , "mingo@redhat.com" , "hpa@zytor.com" , "joro@8bytes.org" , "Lendacky, Thomas" , "x86@kernel.org" , "kvm@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "Singh, Brijesh" , "dovmurik@linux.ibm.com" , "tobin@linux.ibm.com" , "jejb@linux.ibm.com" , "dgilbert@redhat.com" Subject: Re: [PATCH v6 1/5] x86/kvm: Add AMD SEV specific Hypercall3 Thread-Topic: [PATCH v6 1/5] x86/kvm: Add AMD SEV specific Hypercall3 Thread-Index: AQHXmNfaIcWIQRTyNEK2tNwp4pCn2aul/wuAgAdCYACAAStkAIAAQK+AgAARHICAABUkgIABJawAgAAqeACAAB0HAIAJxOeAgAAF/Tc= Date: Tue, 28 Sep 2021 19:26:32 +0000 Message-ID: <2213EC9B-E3EC-4F23-BC1A-B11DF6288EE3@amd.com> References: <6fd25c749205dd0b1eb492c60d41b124760cc6ae.1629726117.git.ashish.kalra@amd.com> <20210921095838.GA17357@ashkalra_ubuntu_server> <20210922121008.GA18744@ashkalra_ubuntu_server> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: alien8.de; dkim=none (message not signed) header.d=none;alien8.de; dmarc=none action=none header.from=amd.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4524f717-1f35-4d49-5abd-08d982b5e13d x-ms-traffictypediagnostic: SN6PR12MB2830: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5516; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: OqaJOyR5wU6sa/XM0tBMUzulIVT4RFSl/YXTJntzd8RqFXGXmmTa9k6eAf1S9qRonE1ep3vXhlKJ8mG1/tmOp1OK69CKmZjMOmzm2l/2lKYpS2WktEajxVBd10v7fWtk8SidWqifztSt//Cj33v8qEEQGKx8qHWwakpoTuzP9KE+P0p2C3lGybVug84BpoJVq5LDQgddY92ZWQyWIB/4JsRFlWItfUsVCmvwlmIpRZEHZ7BH+bmuCnwkxqq2dkLn+LAlB1pbr5Hi0s7ax8oZxFG7T7usHTRuEfcyEFw+U7VCdAV7nirfFJlRMlYKFQktVKq/LMabm6TMCM24kdKBWRTZc8TMeb0E7Lve9qW+g8ZzrvnZNzW06PT5EtqQjEUoxlYgUQ+5h/nImOqwvJY91FTuy1saKt2iC2Q0Jd0NMicFOd/pvIdhx8OzCRTLciZfbcOuukKERvxdzog6VT2rIX9jsxR2Z/dKRg4e9DwlMwkEA7Qt1+UmpjwVdmk7ePvveEi3vK+kZI3QlJ6LUtsnMczdbdm7Vf22WgCflOwL3xe2us02h0soSrDJlb5BAIZesSI7qEzx0mDS2Y8eXXWMmuhhp/HfoHbyOD1uMFyZod/oRkOxkty3KKOyv5dAYHXxXbhVvsU2f3HyMoQLObll4iWyXl3nSIH2RPg2tthXF40hFysu0qtbN2ncmGLdubF/ZuCcdkEin3NGjneDBP2gNdIO3UemNwl32OtVHobPHVw= 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:(4636009)(366004)(53546011)(122000001)(54906003)(5660300002)(316002)(6506007)(8936002)(76116006)(38070700005)(38100700002)(2616005)(8676002)(66446008)(2906002)(86362001)(66946007)(64756008)(66556008)(186003)(4326008)(7416002)(6486002)(33656002)(71200400001)(66476007)(4744005)(36756003)(508600001)(6512007)(6916009)(45980500001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?cWxXWG5EUFZyeG9YMy96QnZOckEzZnY5S3ZDNDFnMWUxYk9KS1NMZUJ3Wlp3?= =?utf-8?B?VUNDOWxvdzljbjVhZ0ZSTSs4ZnpLNEc4WDM2QjVQSXQrNVdNQm1Ic1lsb0VZ?= =?utf-8?B?M0F6Ujd6RVFXWmtucUxvWS9KOGs5SXhxRkRTb3h1Si9jeEluN1BPaUJrK0cz?= =?utf-8?B?QVZsL1hzd0VyQVBXRlFybTZFT3RPM09hNndDZ01WU2QwanQrZlJxdXZlU05o?= =?utf-8?B?ajlOL0tSOFlSbDdaaGZqYktnKzRmcWlYRW1JUGVkOEg1OXNmMnFDRDBJREZq?= =?utf-8?B?bXNLRk5KK29xTGk0NmYxaWJ1dm80R2VEN28reFhLSTZoWFU5TW5qOFliOTJD?= =?utf-8?B?RjkwSy9KUkpCTDYwWUZITU0yOWhrcWhkTUZEZlE3NFZ3VFp3Z3dwTXFpY0R1?= =?utf-8?B?TUZsUVpwcndkd2M0Y29PZVhQTExjUVl0M0YvSkNuMmZQSElORWhBT1UxcGlz?= =?utf-8?B?YlJoQnQyNjBJazUycm4rbUdFNytwM1lNQk5ubnAzeE9GQ01odk9TbG1tWldo?= =?utf-8?B?VVVscXk0ZjBXblQr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utf-8?B?TmFDZ1JGRFQzZERVQzlDYSt6UEV5OTVYK2dTNFpNV3N1VzJGQXQrL0RKOThi?= =?utf-8?B?c1ZwbEN3Q21uVFZBYjd6aTc0SGYycUNXQ1Nhb1FHY0ZOK1dtejBmYmxNWHFD?= =?utf-8?B?LzByZExYaFQrQzBoZHlFTUdBcElZemx0V1ZaaE5odzFETnQxTVAyNk9vNFhr?= =?utf-8?B?UVI4Y005NUNOMXlYRmRJaER6TENESjNnNjJoSjdOQUFuQWUwYnNnVUdUMlhK?= =?utf-8?B?YmF5eHpadkxVOUxFaGFFR0xicUhBbzdQTWU5RWR2bVZKS0puMFFlQTJlN1FW?= =?utf-8?B?M0ZGVmxYcHdzTTdnZEMyVEd1MExxbUdNeDA1cjg2QUVUa1dQbnVjSGxWTkFr?= =?utf-8?B?RU1Ga21jZzIvY0RtdC9zR3pyZDZqQzd6UjRjakFyYjR0YUc3dG9qaVV6WTBq?= =?utf-8?Q?m3MKrLMtbOy1P?= 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: 4524f717-1f35-4d49-5abd-08d982b5e13d X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Sep 2021 19:26:32.7492 (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: gyqwHquvGEYwDdAqjLGBDRu5G/egBflIOnZICk5aCh7GjB4qJ7SdnPT/yEP3mHBX4eWXRnQIWXKwYbHCZ1ZYzg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR12MB2830 Precedence: bulk List-ID: X-Mailing-List: linux-kernel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