Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp450204rdb; Thu, 30 Nov 2023 08:52:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IE606bl2Dl094d0gVBbv4zZAm6OGhcZwJjlPP32HABB/yhDswRLYiaS7eHxDzr8r+zd/LuR X-Received: by 2002:a17:902:f691:b0:1cf:dbda:7307 with SMTP id l17-20020a170902f69100b001cfdbda7307mr11878447plg.39.1701363169043; Thu, 30 Nov 2023 08:52:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701363169; cv=none; d=google.com; s=arc-20160816; b=iNNqgjuajulDL0/P4GCsfySQ9y7gLkjScnKFEXPfU/xjoCuxcvUgcR4NWaKoN1PLEC u3YI49yYMqKc5Z5gfYukYQll9gksvmrhPVN4hwaO7jAkYBHWsrQNsIoE1NN4yUnlyU28 ZZO76DlmgOH2kDkuM0sTSZwlarq3weE3TG6Z9y7+SrxfN5n6NcktjOvTXGHEfKa98GjI sHi1ggWcgxqhxki5qDZbQIfE7ftvBQ4nnb4XXNn6n8FzBC8xdfWi5u3VW59tiYQzFkOl eQliCER6hT40wzuENIWPTqJVH1m49NizEsDuXd8jIFilwIf0mzOKNDJSpQFWD3yS/xhv hMtQ== 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=dIUYtOpPKsW8/3Jt+i/6ZkOwQI+xmd256U2imJGqnAc=; fh=T3suZed4MhoXmRWXLz9MjBWqe/yNVDRjqRhKkTI7f6I=; b=yocja0S4LvLYx8poTzJbaGyvBfdM3GxmpticBUWEKH1g5IbXoWvYzjzF6mARIgQ2kb tkmFo6AzL4iQrrSgJ7nBY7XVHGx6YmIrsYf5DGK1hlFHNmEXrhTuos/Hu4Ony0EX0rcT RfBZo0+YVgVFM6/FRQb2+bF6TMQv9HXnyMHVf6Rsrwzo1d3uZ0K7+6i7V9yZbgZLRv32 BvKxhUzrxsyGmXKEcooxCtd9SePGfORM4QpFc5jowXO6QxXmOowRY2nhsVG3DcIcuaU0 jesmUjQA4c3nbOUYAG5Vd/5p2OfVP7L+ay96Q9OFh2R51PcwcLQ/cvhHncfV8OfvCgCG FC1w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id u8-20020a170902e5c800b001d0087bbf19si1540422plf.440.2023.11.30.08.52.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 08:52:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (Postfix) with ESMTP id CBD8D80A9D4B; Thu, 30 Nov 2023 08:52:46 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232327AbjK3Qwd (ORCPT + 99 others); Thu, 30 Nov 2023 11:52:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231856AbjK3Qwc (ORCPT ); Thu, 30 Nov 2023 11:52:32 -0500 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E012C1A4; Thu, 30 Nov 2023 08:52:38 -0800 (PST) Received: from mail.maildlp.com (unknown [172.18.186.31]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Sh2Kp25qvz6JB0F; Fri, 1 Dec 2023 00:52:14 +0800 (CST) Received: from lhrpeml500005.china.huawei.com (unknown [7.191.163.240]) by mail.maildlp.com (Postfix) with ESMTPS id 2B67C1402CD; Fri, 1 Dec 2023 00:52:37 +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, 30 Nov 2023 16:52:36 +0000 Date: Thu, 30 Nov 2023 16:52:35 +0000 From: Jonathan Cameron To: Russell King CC: , , , , , , , , , , , , , Salil Mehta , Jean-Philippe Brucker , , , James Morse , Greg Kroah-Hartman , "Rafael J. Wysocki" Subject: Re: [PATCH 10/21] drivers: base: Move cpu_dev_init() after node_dev_init() Message-ID: <20231130165235.00003eb4@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: lhrpeml100005.china.huawei.com (7.191.160.25) 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Thu, 30 Nov 2023 08:52:46 -0800 (PST) On Tue, 21 Nov 2023 13:44:41 +0000 Russell King wrote: > From: James Morse > > NUMA systems require the node descriptions to be ready before CPUs are > registered. This is so that the node symlinks can be created in sysfs. > > Currently no NUMA platform uses GENERIC_CPU_DEVICES, meaning that CPUs > are registered by arch code, instead of cpu_dev_init(). > > Move cpu_dev_init() after node_dev_init() so that NUMA architectures > can use GENERIC_CPU_DEVICES. > > Signed-off-by: James Morse > Signed-off-by: Russell King (Oracle) Another one where I gave RB late on the RFC. Reviewed-by: Jonathan Cameron