Received: by 2002:a05:7412:b795:b0:e2:908c:2ebd with SMTP id iv21csp155813rdb; Wed, 1 Nov 2023 22:09:08 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGWnMgCT+qRZ7S178XkTO06QwBHMXqb558bQsw/a6Pc3L0bk2/ahotYjFm6Q2uOqCjS15r8 X-Received: by 2002:a17:907:962a:b0:9bd:fff1:5796 with SMTP id gb42-20020a170907962a00b009bdfff15796mr4169701ejc.0.1698901748127; Wed, 01 Nov 2023 22:09:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698901748; cv=pass; d=google.com; s=arc-20160816; b=Ih3SMet8bsCfZHaS/PJeTZ9h/ooQykAobMc3tdjf6sjIAX3isH3Tg7MMv4v/httIEI 4Asf/gqxoAUjjkHXGrpWzdolh5OfWInvPFsSA97pGMYvoltlGY19MuT8moCjy5Vf4PLh PPm7J2ZxUTkkO0zoEhutVKLenE5oGi6Gx7dZcYIQkxt8bczdvdCj9RYEWiuxdgt3Mg9I UlMiG8frRAIyEmlKAL6eklY4LVFemmVFm4QPJp1CoglsDb1cZxdtEJcCqUvtJti0NGTG WWrcUAEUVIRORsdjYZvvrp3fQ3dMABQTzJ9l9AA9pPuCY7qAbGnYQVwIZzohpFZ7t6j9 Jkfw== 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 :in-reply-to:from:references:cc:to:content-language:subject:reply-to :user-agent:date:message-id:dkim-signature; bh=IdPpYIESJI3LAKdvleFugDACrzPivxwQA1xZvKlyNYc=; fh=tr4v0Acx58Njac3F8GRhn6Hnb3+c/LhuFjXD5pReeMw=; b=UwVZhkz6neYeVps9uCn4UNDvGfydQ3u0VdSaNo2JtV6vArnIjLwFFw1bTSmFXftdvs qSrVcrdYsQj+h2QrPl6NSzYB5XdIU3lurPVucmLZK0Nuf7ViTihSCvjrXzIZ+TFWWWy0 wVfCJ8dHkmHYenxVHGM4cq5QMjzn3ppLFORZlD0AfVtjCeqV+ZAWdOoT5dyBZcde6BXu rvU/BP3Bp3ZRxXKRnerOAeSsjWtZzAVhx2wUeurfZkZzbt09W8299I6KIAYNS+Apg5X4 MLcTNR1Gm4UNu0Cp9yW5NqXXNmh0svAsQ1dWfAaeBC0os1eDXO4d8myMAO+jsqAueDBG 7FbQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b="Si1/3Guk"; 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.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id js21-20020a17090797d500b009ad8be9fea0si572907ejc.221.2023.11.01.22.09.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 22:09:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b="Si1/3Guk"; 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.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 856D88023191; Wed, 1 Nov 2023 22:09:00 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348513AbjKBFI1 (ORCPT + 99 others); Thu, 2 Nov 2023 01:08:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348414AbjKBFI0 (ORCPT ); Thu, 2 Nov 2023 01:08:26 -0400 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2043.outbound.protection.outlook.com [40.107.94.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 210BB10E; Wed, 1 Nov 2023 22:08:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mTJb9EPXM2PEA5JmQZBxYInZOos4vKsDL2QC2bBCpaBMFfBFpZ3mOwdkzYAQocVyiEOwEdfIWWXufNYpBDocx7LOj/0K6kixZq6zC8CZuXktLJ8F6kTBSjj6QUh+HSfati9AJ71f3krK20aTv1S03yNrAw9YHeOa4kEL97fCuL3Kcy/GQ5Epja8dpP+qQ/EpYFIAez+yssrtnr7zCVbXHILVhQcEnakDHy8nJvANcleLnVf2mIggxy4iNvsNLgbjDw/ckVFybpVRKfxpQcdtN47XwNl5eMjDfV2ym4HDKWZBW0nkMwm3jPDQgi5S5U5ksaknVoLnID3egeXDVAoHug== 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=IdPpYIESJI3LAKdvleFugDACrzPivxwQA1xZvKlyNYc=; b=eGUjDQNEM6fqTSNTkPI141QqQUm4uGSo1l4qhRZJxOJnZh9Xo86IC+XhlW6CMcmz3Oj4vknZ6n/9z6s20TCdgmByDKl75uWq80nfI85Tq5iCQt1l1JP5CfnFAr8EpS1lnEURdXT1DWmJ84O/J9tzH/PU43N18AuWr8G2sdQ9QsvuULS9wP8RpVTrv/MDQmAsHZTgWYgA2pqiLzSY/2EMo6AZxev5UCvLtVEhG1HeXlYhICEqf6npuUI+sQD2cOlLbr9k8QWVr396WxKHehoceqNTzWtgRKo1iAtSSQHVCeXXsGbrkI17alrtc1MXb+B4XOCFmLE/KNeWPRBpj9Ms3w== 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=IdPpYIESJI3LAKdvleFugDACrzPivxwQA1xZvKlyNYc=; b=Si1/3GukXRobJAKQRyBgClHIftZilMsj0o6AuQU5JyRBzDiyZorfTVPw2ZdDAZo2HdtitZTk4qXwyJGfHhFY0KdcPDZNyRn3q0/yhtwPqiLeMLvkHIBg6Ppy8547wWgXneFYbP77ctaetJ84tG1ViEz7+nw/G7pA6QwvWq+0Cr4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from DS7PR12MB6309.namprd12.prod.outlook.com (2603:10b6:8:96::19) by MN2PR12MB4319.namprd12.prod.outlook.com (2603:10b6:208:1dc::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.29; Thu, 2 Nov 2023 05:08:16 +0000 Received: from DS7PR12MB6309.namprd12.prod.outlook.com ([fe80::93cc:c27:4af6:b78c]) by DS7PR12MB6309.namprd12.prod.outlook.com ([fe80::93cc:c27:4af6:b78c%2]) with mapi id 15.20.6954.019; Thu, 2 Nov 2023 05:08:16 +0000 Message-ID: Date: Thu, 2 Nov 2023 10:38:04 +0530 User-Agent: Mozilla Thunderbird Reply-To: nikunj@amd.com Subject: Re: [PATCH v5 08/14] x86/mm: Add generic guest initialization hook Content-Language: en-US To: Tom Lendacky , linux-kernel@vger.kernel.org, x86@kernel.org, kvm@vger.kernel.org Cc: bp@alien8.de, mingo@redhat.com, tglx@linutronix.de, dave.hansen@linux.intel.com, dionnaglaze@google.com, pgonda@google.com, seanjc@google.com, pbonzini@redhat.com References: <20231030063652.68675-1-nikunj@amd.com> <20231030063652.68675-9-nikunj@amd.com> From: "Nikunj A. Dadhania" In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: PN0PR01CA0040.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c01:49::18) To DS7PR12MB6309.namprd12.prod.outlook.com (2603:10b6:8:96::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS7PR12MB6309:EE_|MN2PR12MB4319:EE_ X-MS-Office365-Filtering-Correlation-Id: 8dcbdc66-89a7-4104-e08c-08dbdb61b8bd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /BvHrkxN5O4o0Mh+3zJsCOrmg6aHkUrY/u/AzSErnPp248IEN/+QflFNkgj4j6283F1K9505VgKN8KOmqlHbN0nwLOeKQDE2P6ZJIf+s1GxmPh0pBvD8tMg/p9p3MguyeNBLmvgkcFhVWya2t+Zpwi1Yw96lDBc2pfdvod/yxtcuB/0vjO1+NbiPGM36x++tJBEd5xPnLeKTIpT1Orf+3wiMzi9n7djcVLerrS8hO+jY/vaMnWptE/1F7kDm7pwuZiajbyFYCPqlhbGM0USAuha3YcBOBzt2TOjHR5HkcVseQGzHNlgYFV4dw5qBQFxY5M7y3ZPbTIVcw0TZalkHc+8nYdcr4dEUh/9qclnFQOOa3ZSZUY/+yPTcrQxAhVJm6YRtcFuBIGP0WraVZMg/pB7an6GPC0lFdC1RH+3lR7pX5u8Rll5hLpXnGsi+4+v4dFiHoslQslXxRprGhf+a2zawRllBm4kBWJEvwrzM3NksDD9t3jC6Cbmd/WMzkEztC+3drlIpuCdgpyX5MOLINJG4BIghuWIW3+AZRmTGBcEJjRAkNOYa6nYltFwseKMi2pkZR4H2ALnO5iwSRPUs+WrSFJX7n0tPjJbFpgtvIxeGAsxQrlB0I6hNrpMmJuTB25REbKKlcznte6dPxkwd2bRRA3ZPJ6IAn/+HZY+PQwk= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS7PR12MB6309.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376002)(366004)(396003)(136003)(346002)(39860400002)(230922051799003)(451199024)(186009)(1800799009)(64100799003)(2616005)(38100700002)(31686004)(31696002)(36756003)(41300700001)(8936002)(4326008)(8676002)(83380400001)(478600001)(66946007)(316002)(66476007)(6666004)(6486002)(53546011)(6512007)(6506007)(66556008)(7416002)(2906002)(4744005)(5660300002)(3450700001)(26005)(41533002)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?cFBRbmtwSW4vekxaNUZhN2hkakVVcUdKTzJ5V1p1SndBajBvN0huYkFGZVdG?= =?utf-8?B?cnlhZlhhR3J3SmJJV2Ywc1RUb2JQaDJaUmx0UFhJV0g5VkNHT05DZEYwRzZu?= =?utf-8?B?eXhlR2pLRTJKeE1YZXN3N04zcmlrQmxtbllINUMzVmJsMVhsNUd4anY1ejZE?= =?utf-8?B?a0NtQnBGdUFEWDZoazlOMlVKekwrS3hyR0grV0NkM0FqcDE4YXBLUjFvZlBm?= =?utf-8?B?YTJmb1o3MHVwVVIxVjdEM3htbFFPSTZoSGIrVzdvV1k4OWF6cDZmMDJhdGVp?= =?utf-8?B?eGNTc0ZTaWZHNWhqSWpFT0xNaXNUTGlZRDdndzBLSkVseFl3bWh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jlF9?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8dcbdc66-89a7-4104-e08c-08dbdb61b8bd X-MS-Exchange-CrossTenant-AuthSource: DS7PR12MB6309.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Nov 2023 05:08:16.4880 (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: np2dChy/Tw7ZsN8DSJ/UHYXU2nM5HvglLQ5Ujax02WQddklNvCXzOxhGWaTycKq+EJbpIMT4bxUnJtoMcqZuIw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4319 X-Spam-Status: No, score=-1.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 01 Nov 2023 22:09:00 -0700 (PDT) On 10/31/2023 12:49 AM, Tom Lendacky wrote: > On 10/30/23 01:36, Nikunj A Dadhania wrote: >> Add generic enc_init guest hook for performing any type of >> initialization that is vendor specific. > > I think this commit message should be expanded on a bit... like when it is intended to be called, etc. Sure Regards Nikunj