Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B18C3C61DA4 for ; Fri, 3 Feb 2023 08:15:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231932AbjBCIPN (ORCPT ); Fri, 3 Feb 2023 03:15:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230230AbjBCIPD (ORCPT ); Fri, 3 Feb 2023 03:15:03 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 996B140FD; Fri, 3 Feb 2023 00:15:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=MIME-Version:Content-Type:References: In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=rO/rGSrb3McoZl6kVHzuA/B035nnwXUu3aALrKC5lxY=; b=KHuvB6OUZzkTTqUlRRX3zwYqJL MdXo16yE6RqM7ZgLjlVrAptp1WEv13anRMVJPxg7Uv+C3jK9KVSwTLcZ486lRxBBG+qNBwJ5sEIv6 RPmJbXnYG3TSpJOnG3lwOY7Ps4KNYYpr6GvSZD14QwA8AUyp2Jni8kx+xE7+sVy+Z17Xd1dhZ6y/P 2diA9+ya0YtXVQjVNZuXtOTonMFKM4mtAsgtUuBwPLgjOpE9lSpH1rQXUPk8mEJLwdbF9kUmohJCC XIlv2/BzU77jwD6evfZ8AzrZjJ1+V5ZEVbb4u1zAfnL3ruTHK/1zevFyJvsY7tz9KOuRwKUzAdSxr c78hXIXg==; Received: from [2001:8b0:10b:5::bb3] (helo=u3832b3a9db3152.infradead.org) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pNrD3-00E9UV-AV; Fri, 03 Feb 2023 08:14:13 +0000 Message-ID: Subject: Re: [External] Re: [PATCH v6 06/11] x86/smpboot: Support parallel startup of secondary CPUs From: David Woodhouse To: Usama Arif , tglx@linutronix.de, arjan@linux.intel.com Cc: mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com, x86@kernel.org, pbonzini@redhat.com, paulmck@kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, rcu@vger.kernel.org, mimoja@mimoja.de, hewenliang4@huawei.com, thomas.lendacky@amd.com, seanjc@google.com, pmenzel@molgen.mpg.de, fam.zheng@bytedance.com, punit.agrawal@bytedance.com, simon.evans@bytedance.com, liangma@liangbit.com Date: Fri, 03 Feb 2023 08:14:12 +0000 In-Reply-To: References: <20230202215625.3248306-1-usama.arif@bytedance.com> <20230202215625.3248306-7-usama.arif@bytedance.com> Content-Type: multipart/signed; micalg="sha-256"; protocol="application/pkcs7-signature"; boundary="=-TboBmUyc9VWgExSrvbhj" User-Agent: Evolution 3.44.4-0ubuntu1 MIME-Version: 1.0 X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-TboBmUyc9VWgExSrvbhj Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 2023-02-02 at 22:50 +0000, Usama Arif wrote: >=20 > Ah, sorry about that, should have caught it while reviewing before=20 > posting. To think of it, it might be better to squash this and next AMD= =20 > disabling patch, if anyone testing on AMD ever happens to check out at= =20 > this specific patch, their machine might not boot :).=C2=A0 >=20 Nah, we don't actually *enable* parallel boot until the next patch anyway. At this point we're only laying the groundwork. I think it's best separate. > Will repost only after getting the OK for the rest of the patches > along with addressing any other comments that come up. Ack. And hopefully the missing SoB from both Thomas and Arjan for their parts. Part of the reasoning for the lack of SoB from Arjan might have been that we haven't finished doing the thinking about how this works in all cases, with non-constant TSC and other stuff. Let's make sure we give that a long hard stare. --=-TboBmUyc9VWgExSrvbhj Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCCEkQw ggYQMIID+KADAgECAhBNlCwQ1DvglAnFgS06KwZPMA0GCSqGSIb3DQEBDAUAMIGIMQswCQYDVQQG EwJVUzETMBEGA1UECBMKTmV3IEplcnNleTEUMBIGA1UEBxMLSmVyc2V5IENpdHkxHjAcBgNVBAoT FVRoZSBVU0VSVFJVU1QgTmV0d29yazEuMCwGA1UEAxMlVVNFUlRydXN0IFJTQSBDZXJ0aWZpY2F0 aW9uIEF1dGhvcml0eTAeFw0xODExMDIwMDAwMDBaFw0zMDEyMzEyMzU5NTlaMIGWMQswCQYDVQQG EwJHQjEbMBkGA1UECBMSR3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHEwdTYWxmb3JkMRgwFgYD VQQKEw9TZWN0aWdvIExpbWl0ZWQxPjA8BgNVBAMTNVNlY3RpZ28gUlNBIENsaWVudCBBdXRoZW50 aWNhdGlvbiBhbmQgU2VjdXJlIEVtYWlsIENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC AQEAyjztlApB/975Rrno1jvm2pK/KxBOqhq8gr2+JhwpKirSzZxQgT9tlC7zl6hn1fXjSo5MqXUf ItMltrMaXqcESJuK8dtK56NCSrq4iDKaKq9NxOXFmqXX2zN8HHGjQ2b2Xv0v1L5Nk1MQPKA19xeW QcpGEGFUUd0kN+oHox+L9aV1rjfNiCj3bJk6kJaOPabPi2503nn/ITX5e8WfPnGw4VuZ79Khj1YB rf24k5Ee1sLTHsLtpiK9OjG4iQRBdq6Z/TlVx/hGAez5h36bB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