Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6154738rdb; Thu, 14 Dec 2023 09:38:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IEbo2fIyEKjcBymRV4Du/okNOgvuUaUCERKDhdLH4k3xCDOg7G4Vu+W2e+FHcf2T7/ot/fC X-Received: by 2002:a17:902:cec8:b0:1d3:40ea:bf64 with SMTP id d8-20020a170902cec800b001d340eabf64mr4682397plg.81.1702575513852; Thu, 14 Dec 2023 09:38:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702575513; cv=none; d=google.com; s=arc-20160816; b=N0cTPm3WlP/l0+5GzJlLDceLgkOLk/wN21Bxekd9ohp3sAVNOYWcfPgrAAhdYjAysG y2yknhFXBYb/lCpajTbb+91cmlUEMvfLBVi8Kfgipp1BGcRqheMBJS5Z17S0QHEcA35P QwUD9+m1HtG2tpjhV1xj/kSXTZN6ebixvSNzG16RHiRyYbr4eC5cFtgdi7tvrI5W8w9Z o8O1EFMkg9kRz9OmQ5If98ssLm7TBa7V0KYBAPu39zXzxkBMBHUFNegNZW70BKaaTeT/ HEQPx95lxm4jm+3rd6YrZx7kjRGXclNlWMEZs/rYSjHcmLWIbm0x+EsWFR/lIjhWvw4Q fABg== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=hTarc5XXZMl3hovyJwkvYUO0uOwZ059kdzSbenSq3mk=; fh=4iHbZ733mqZc4Bx83AV0konbWC9aXbRvmPAEmCiuGYk=; b=y06dRs+7CjRvvGQiTy284thh5SQhAHFb0o4vlMwP52ejw17feYHG122WUB0Ln3pTDc rDiqKuahPjSFLCmhKsPdQYtctJxF9flTBDyru0+EVHWgiG2hbjIx/1bFoR5ZJLStM1Kg TMlRry9EmyQaI4tv4q5jQWQsmxBxg9k7eexEls2QFJhJyaW4LXFjG867OQLYMLUbV+fG G85K1cai0NgJCHm/K/V5dcDIOHQu+9QEALanwKqA6ohUPqZDamTo/eZdETh87t1Q+ZZx dux+FaUxNQfWs1/uVZcO2dAP0xHb22y5CYasau2SPGv4hgZ/NvXNelUQzGF0jxn4yKY7 cp+A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id b14-20020a170903228e00b001cfa573ca16si12023131plh.343.2023.12.14.09.38.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 09:38:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 1CD7D87943BC; Thu, 14 Dec 2023 09:38:31 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235450AbjLNRiQ (ORCPT + 99 others); Thu, 14 Dec 2023 12:38:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235703AbjLNRiE (ORCPT ); Thu, 14 Dec 2023 12:38:04 -0500 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56A941AE; Thu, 14 Dec 2023 09:38:06 -0800 (PST) Received: from mail.maildlp.com (unknown [172.18.186.216]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Srfdz0hkkz6K7hC; Fri, 15 Dec 2023 01:36:07 +0800 (CST) Received: from lhrpeml500005.china.huawei.com (unknown [7.191.163.240]) by mail.maildlp.com (Postfix) with ESMTPS id 8EA1D140F82; Fri, 15 Dec 2023 01:38:04 +0800 (CST) Received: from localhost (10.202.227.76) by lhrpeml500005.china.huawei.com (7.191.163.240) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 14 Dec 2023 17:38:03 +0000 Date: Thu, 14 Dec 2023 17:38:02 +0000 From: Jonathan Cameron To: "Russell King (Oracle)" CC: , , , , , , , , , , , , , , Salil Mehta , Jean-Philippe Brucker , , , James Morse Subject: Re: [PATCH RFC v3 04/21] ACPI: processor: Register all CPUs from acpi_processor_get_info() Message-ID: <20231214173802.000001fb@Huawei.com> In-Reply-To: References: Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.227.76] X-ClientProxiedBy: lhrpeml100002.china.huawei.com (7.191.160.241) To lhrpeml500005.china.huawei.com (7.191.163.240) X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.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 (howler.vger.email [0.0.0.0]); Thu, 14 Dec 2023 09:38:31 -0800 (PST) On Wed, 13 Dec 2023 12:49:31 +0000 Russell King (Oracle) wrote: > From: James Morse > > To allow ACPI to skip the call to arch_register_cpu() when the _STA > value indicates the CPU can't be brought online right now, move the > arch_register_cpu() call into acpi_processor_get_info(). > > Systems can still be booted with 'acpi=off', or not include an > ACPI description at all. For these, the CPUs continue to be > registered by cpu_dev_register_generic(). > > This moves the CPU register logic back to a subsys_initcall(), > while the memory nodes will have been registered earlier. > > Signed-off-by: James Morse > Reviewed-by: Gavin Shan > Tested-by: Miguel Luis > Tested-by: Vishnu Pajjuri > Tested-by: Jianyong Wu > Signed-off-by: Russell King (Oracle) LGTM as well. Reviewed-by: Jonathan Cameron