Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3907099rdh; Tue, 28 Nov 2023 07:02:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IEjO6v1TVcgIUlKR0udKcrkSazteqgl0srvTJyUhniESTZgZAxjTt8TZndXgYfC2Si/vrkZ X-Received: by 2002:a05:6808:2b06:b0:3b8:3986:40e0 with SMTP id fe6-20020a0568082b0600b003b8398640e0mr17196001oib.54.1701183725003; Tue, 28 Nov 2023 07:02:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701183724; cv=none; d=google.com; s=arc-20160816; b=lIJWyQ01CPCpo3xOQUh1IxJS7th23ri4gMaOqvxd/no4+fdOwsxhEyNBx0pM9Nnf8L rJByM4QkdzFdD5LCtimallq0WBSM2FT6Y0DnJS5ZR30mx8ZYBlbSaj+97mswCI0TQ8bx 8fQMA6R323FKOnRwqeCRC6CeVtX8GMWjbjlbqiLZpn3c6Iw4/q6MWYweTMywc52mouRU ggxgeFrtmvFS5W7M6CiMC+rcxVXCys3VU307GAlfjpJUjT+DwmBpFzPY39wKtVTQExGj fyFy1SNvwJ276yh8SpZ4hA21RF9678dLZEIXZrG1HqaYYGhp1p0PYyTAuKG1TTqQia9C hP2w== 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=aAja+J0RuKm/AKmGbuLmRkn3+NyXmHyT/plVqZQR84c=; fh=laBV7GTbZJbvdb45FqmWlvJEJHJQgWHYOpUNoS61nLc=; b=QQZ+IDPDBIF7zmJ7ssIQ7G7yWAyU2lVF3L82oMLBs/KJay17X4bGaUXKHWDvv/Cm1W BVfK0SOaRtZOTXzRpq2z5DmJdhYAQXlsJu5GbBG40TNhWt0twKQOOWvc/m2o3qaiSaKu dSlQKi7EURcIyniHoxl3iAXZBqg2yCnx2m3QyOazQ3NDR/ugC1oXfvTTu7ZoRw9H+qcz HloYVIdwhwDgQl1TqDG+4D/kmW7+WbqHuDu7d0c6DtRvavd+lG6bqiE9y1DcDg5+wMgy 2UOSvgAKHmsX15n2cxDz24s7Lv2VqlPrfqggliI+6E9qAutW5IIzEufeBoCz2cMYoUjC 3yog== 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:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id m5-20020a0568080f0500b003ab5a985ac7si5113684oiw.16.2023.11.28.07.02.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 07:02:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id 1A068807F658; Tue, 28 Nov 2023 07:00:33 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345927AbjK1PAQ (ORCPT + 99 others); Tue, 28 Nov 2023 10:00:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345857AbjK1PAP (ORCPT ); Tue, 28 Nov 2023 10:00:15 -0500 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2476910C; Tue, 28 Nov 2023 07:00:21 -0800 (PST) Received: from mail.maildlp.com (unknown [172.18.186.31]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4SflrL4KYTz67TNp; Tue, 28 Nov 2023 22:55:46 +0800 (CST) Received: from lhrpeml500005.china.huawei.com (unknown [7.191.163.240]) by mail.maildlp.com (Postfix) with ESMTPS id 340931408FF; Tue, 28 Nov 2023 23:00:19 +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; Tue, 28 Nov 2023 15:00:18 +0000 Date: Tue, 28 Nov 2023 15:00:17 +0000 From: Jonathan Cameron To: "Russell King (Oracle)" CC: Gavin Shan , , , , , , , , , , , , , , Salil Mehta , Jean-Philippe Brucker , , , James Morse , Greg Kroah-Hartman , "Rafael J. Wysocki" Subject: Re: [PATCH RFC 10/22] drivers: base: Move cpu_dev_init() after node_dev_init() Message-ID: <20231128150017.000069eb@Huawei.com> In-Reply-To: <20231128135536.00002ab9@Huawei.com> References: <095c2d24-735b-4ce2-ba2e-9ec2164f2237@redhat.com> <20231128135536.00002ab9@Huawei.com> 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: lhrpeml500006.china.huawei.com (7.191.161.198) 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 groat.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 (groat.vger.email [0.0.0.0]); Tue, 28 Nov 2023 07:00:33 -0800 (PST) On Tue, 28 Nov 2023 13:55:36 +0000 Jonathan Cameron wrote: > On Tue, 21 Nov 2023 13:27:08 +0000 > "Russell King (Oracle)" wrote: > > > On Mon, Nov 13, 2023 at 08:00:19AM +0000, Russell King (Oracle) wrote: > > > On Mon, Nov 13, 2023 at 10:58:46AM +1000, Gavin Shan wrote: > > > > > > > > > > > > On 11/7/23 20:30, Russell King (Oracle) 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) > > > > > --- > > > > > Note: Jonathan's comment still needs addressing - see > > > > > https://lore.kernel.org/r/20230914121612.00006ac7@Huawei.com > > > > > --- > > > > > drivers/base/init.c | 2 +- > > > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > > > > > > > > With Jonathan's comments addressed: > > > > > > That needs James' input, which is why I made the note on the patch. > > > > I'm going to be posting the series without RFC soon, and it will be > > with Jonathan's comment unaddressed - because as I've said several > > times it needs James' input and we have sadly not yet received that. > > > > Short of waiting until James can respond, I don't think there are > > any other alternatives. > > In the interests of expediency I'm fine with that. (To be honest I'd > forgotten I even made that comment ;) > Given what I was looking for was a 'nice to have' extra bit of info in the patch description and I'm fine with the actual change even without that: Reviewed-by: Jonathan Cameron > Jonathan > > > > > I do hope we can get this queued up for v6.8 though. *fingers crossed* ! > > > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel