Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp221574rwl; Thu, 23 Mar 2023 15:15:01 -0700 (PDT) X-Google-Smtp-Source: AKy350aVBydKW7yZNdTVyJRc7YcMIuKVGk2aQYJBPGZVxU8lN61Fazssfmvf4q4N/7d7TGEmf5wj X-Received: by 2002:a17:906:1c19:b0:92b:f118:ef32 with SMTP id k25-20020a1709061c1900b0092bf118ef32mr525477ejg.48.1679609701190; Thu, 23 Mar 2023 15:15:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679609701; cv=none; d=google.com; s=arc-20160816; b=YoKtlTrKKpS1cRgRBEbglauVFE1McGOFdO6k8Zd4DHQ3kmCFmYN625yrQVIvgQ8IxF ugQrocuJOEUpJWhAOfZ6Q+cYt4J6raSQl1qQrqm9CJHHXNb77ObL3NSQejLDUTf5n9O1 +VXGOl2ANN3zlZkbslonwv7MjmaCUS88EpNe5g5faAdIaKeIeAbYGtloco6/qfR0Q6B/ 97OVHT6tEZQdxl+hhbDZ9vc9D3UByuFAJ3AbHYSsUi/2B2GSMDB8AWA2Ld7t1j9fM61s 6Nhd3cO0d7B5uBIS1NOozSqrpqXe/w0iAfjMxWHNch5o7aCF24n1wkRc5eXNxBKwikN0 TVSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:references:in-reply-to:user-agent:subject:cc:to:from :date:dkim-signature; bh=1rG8Vo4uESEgIx6SljIpoKKCeAOrhkkAIKpnzeWXL7Q=; b=p7uZzckHHQi2GfU+iC4gj26ZpKr/kjzRfSgiHdKiSUcHdZ5gf3uDzV29OoKVUB5gjc 2nKb+KXglLjnmRu/1CbIb9XkTBaWho8IsnyuJ9lHwrfeUTKun6t0KQm4i6gYx2DZFp5b 3y223jf+2ZIxs+pH41kj+IHwtcEoZmmLzpTlqR3nbEF5bnGByHzyiagsFmvcZUHlHnf8 x/RYZjFjZDNb6cPJvL6u12F16cmRPyQzZ/nCVMOfIdwIDAdxxtjmG/spT5/EO2iOQTTM NSyPzQuPWIjQ9QcrL4E0uQUKJa1unb57IWScvam8kFRJdes9tYdS3ZxlaEMHT0EQz7+A 8HcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=iPuzgHJV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i9-20020a17090639c900b009246b3ddc33si4855203eje.372.2023.03.23.15.14.36; Thu, 23 Mar 2023 15:15:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@alien8.de header.s=dkim header.b=iPuzgHJV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231301AbjCWWNk (ORCPT + 99 others); Thu, 23 Mar 2023 18:13:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230435AbjCWWNi (ORCPT ); Thu, 23 Mar 2023 18:13:38 -0400 Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F5537D9B; Thu, 23 Mar 2023 15:13:25 -0700 (PDT) Received: from [127.0.0.1] (dynamic-046-114-209-225.46.114.pool.telefonica.de [46.114.209.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 4DDEE1EC063F; Thu, 23 Mar 2023 23:13:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1679609603; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1rG8Vo4uESEgIx6SljIpoKKCeAOrhkkAIKpnzeWXL7Q=; b=iPuzgHJVUpBL5WXk4EVNvM5/Y2kYnz6B/KvW1lguZhVDRAWBHwCJRS1mNsBn5uFmsfy4tI lHrVnIk5xoFbkNCn/uc2rm0k4zGAgUugzFit6aQS0LJakDs5tvWfS/DF8un8OUnuyFwp7Z CJ/hNYhTyXd7JvC7BEQfZecCVBK6Yf4= Date: Thu, 23 Mar 2023 23:13:22 +0100 From: Borislav Petkov To: Tom Lendacky , "Woodhouse, David" , "usama.arif@bytedance.com" CC: "kvm@vger.kernel.org" , "brgerst@gmail.com" , "arjan@linux.intel.com" , "hewenliang4@huawei.com" , "dave.hansen@linux.intel.com" , "simon.evans@bytedance.com" , "linux-kernel@vger.kernel.org" , "mingo@redhat.com" , "oleksandr@natalenko.name" , "kim.phillips@amd.com" , "tglx@linutronix.de" , "fam.zheng@bytedance.com" , "mimoja@mimoja.de" , "seanjc@google.com" , "liangma@liangbit.com" , "pbonzini@redhat.com" , "hpa@zytor.com" , "punit.agrawal@bytedance.com" , "pmenzel@molgen.mpg.de" , "piotrgorski@cachyos.org" , "gpiccoli@igalia.com" , "paulmck@kernel.org" , "Rapan, Sabin" , "rcu@vger.kernel.org" , "x86@kernel.org" Subject: Re: [PATCH v16 8/8] x86/smpboot: Allow parallel bringup for SEV-ES User-Agent: K-9 Mail for Android In-Reply-To: <19ec60aa-fa11-c44e-a6d1-9583f2e7707a@amd.com> References: <20230321194008.785922-1-usama.arif@bytedance.com> <20230321194008.785922-9-usama.arif@bytedance.com> <20230322224735.GAZBuFh9ld6FuYEyoH@fat_crate.local> <2c3dd773-31ca-d4b1-78a2-b39f3785c7c5@amd.com> <751f572f940220775054dc09324b20b929d7d66d.camel@amazon.co.uk> <19ec60aa-fa11-c44e-a6d1-9583f2e7707a@amd.com> Message-ID: <5D59D19F-8085-4638-96A2-4DCE00D2217E@alien8.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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-kernel@vger.kernel.org On March 23, 2023 7:28:38 PM GMT+01:00, Tom Lendacky wrote: > >I agree=2E But once it's there, someone somewhere in the future may look = and go, oh, I can call this=2E So I think it either needs a nice comment ab= ove it about how it is currently used/called and what to do if it needs to = be called from someplace other than head_64=2ES or the MSR needs to be save= d/restored=2E Or it could be __init and get discarded when the system is up=2E --=20 Sent from a small device: formatting sucks and brevity is inevitable=2E