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 5AE95C433F5 for ; Tue, 23 Nov 2021 23:50:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239134AbhKWXxt (ORCPT ); Tue, 23 Nov 2021 18:53:49 -0500 Received: from szxga02-in.huawei.com ([45.249.212.188]:15858 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232735AbhKWXxs (ORCPT ); Tue, 23 Nov 2021 18:53:48 -0500 Received: from dggpemm500022.china.huawei.com (unknown [172.30.72.54]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4HzLVD0D1Sz9159; Wed, 24 Nov 2021 07:50:12 +0800 (CST) Received: from dggpemm500007.china.huawei.com (7.185.36.183) by dggpemm500022.china.huawei.com (7.185.36.162) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Wed, 24 Nov 2021 07:50:38 +0800 Received: from dggpeml100016.china.huawei.com (7.185.36.216) by dggpemm500007.china.huawei.com (7.185.36.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Wed, 24 Nov 2021 07:50:38 +0800 Received: from dggpeml100016.china.huawei.com ([7.185.36.216]) by dggpeml100016.china.huawei.com ([7.185.36.216]) with mapi id 15.01.2308.020; Wed, 24 Nov 2021 07:50:38 +0800 From: "Longpeng (Mike, Cloud Infrastructure Service Product Dept.)" To: Dongli Zhang , Sebastian Andrzej Siewior CC: "linux-kernel@vger.kernel.org" , "Gonglei (Arei)" , "x86@kernel.org" , "xen-devel@lists.xenproject.org" , "Peter Zijlstra" , Ingo Molnar , "Valentin Schneider" , Boris Ostrovsky , Juergen Gross , "Stefano Stabellini" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" Subject: RE: [PATCH] cpu/hotplug: Allow the CPU in CPU_UP_PREPARE state to be brought up again. Thread-Topic: [PATCH] cpu/hotplug: Allow the CPU in CPU_UP_PREPARE state to be brought up again. Thread-Index: AQHX37hRU5zyn85RmkiAPYCSmtUPkawRGrIAgACu5kA= Date: Tue, 23 Nov 2021 23:50:37 +0000 Message-ID: <46f7dbb8c0cb42228ed028ed89af1282@huawei.com> References: <20211122154714.xaoxok3fpk5bgznz@linutronix.de> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.174.148.223] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogRG9uZ2xpIFpoYW5nIFtt YWlsdG86ZG9uZ2xpLnpoYW5nQG9yYWNsZS5jb21dDQo+IFNlbnQ6IFdlZG5lc2RheSwgTm92ZW1i ZXIgMjQsIDIwMjEgNToyMiBBTQ0KPiBUbzogU2ViYXN0aWFuIEFuZHJ6ZWogU2lld2lvciA8Ymln ZWFzeUBsaW51dHJvbml4LmRlPjsgTG9uZ3BlbmcgKE1pa2UsIENsb3VkDQo+IEluZnJhc3RydWN0 dXJlIFNlcnZpY2UgUHJvZHVjdCBEZXB0LikgPGxvbmdwZW5nMkBodWF3ZWkuY29tPg0KPiBDYzog bGludXgta2VybmVsQHZnZXIua2VybmVsLm9yZzsgR29uZ2xlaSAoQXJlaSkgPGFyZWkuZ29uZ2xl aUBodWF3ZWkuY29tPjsNCj4geDg2QGtlcm5lbC5vcmc7IHhlbi1kZXZlbEBsaXN0cy54ZW5wcm9q ZWN0Lm9yZzsgU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