Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp378728rdf; Tue, 21 Nov 2023 05:27:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IFA/Y7dIJajT5+GFHE6y7aD6ixtPrQ8ZOM5XG3JkfagEhBVUsUC5tAt2Vv0J0+pchXByN70 X-Received: by 2002:a17:902:7c96:b0:1cc:7a8e:606b with SMTP id y22-20020a1709027c9600b001cc7a8e606bmr8321761pll.43.1700573259095; Tue, 21 Nov 2023 05:27:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700573259; cv=none; d=google.com; s=arc-20160816; b=XYMcHHQ3nVs5XFx9S3FEXv0IFMpiqHJpQibBRsq7pK5D5XC0jl4bAZhGJzLVWsOt1v vRdw21h1OO/dpx95XtQXzKl0TZ9SP8L8W2PStV0Cq8HOoEmnEGhZZYNmS6RYb3/ZcaYe 9MpLsdOvy1zHBgm8ltdb0O7nbyRpxdS8JI9tdCFKgmk/QLYyUudoWcnCLNB73bB6W7Fy zT0MBx4a+sPQTGo0yexTW4lA8U8D+DmC2pp+rTRkqVGgAlRM4vUc1K85TAIjwXgQ0oCd 0z3P75Ld7vCLBz/JCn1QI93BLT0RnqmcB2kPDl3mS3hbo8G9EniQg/0U9Q3ZyAjDUlod ER7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=rH4XXg0XG5JBDQqriE53B4ksPcxyNMkV8utydydYqlE=; fh=MTIrKaL3AUd8vvW/Z5wz73RNav6TEGkcjQsoUo1iiDA=; b=qmhjlFh9Z/tAL2Dzs4h5Wm0G1ArOkIddctsNO+8BP/LnT/pom5N/RlpbOVrS3Ka6tE myambk/8+kO0qVKYcTgKi9IreVmAviFmUJpY6cAUEZ88wn1Ia3AJi9QJc8SRPsAjFJ31 dIJMjrlPbMNGQba2U35PRadXwAGBbLUobEmxKYZT+2nnxaf770YbpIwsD81iHDwX++bf fkx/Vy+GIRu2q5NG3mguuGX/wU4Izj2uvNaLBtEWAoq4dkr0+Akx66AT57prSaGniu/n JqSoJjcVWcYqSg0CjmwKdMNtA3cmTxW7gjNqVjx5RejgBlU35kTHziVypiHbqh6H8WLm AESg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=GptbOpha; 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=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id u5-20020a170902e5c500b001cf677df8d1si3006056plf.453.2023.11.21.05.27.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 05:27:39 -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; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=GptbOpha; 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=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 8496880BB522; Tue, 21 Nov 2023 05:27:36 -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 S231977AbjKUN1W (ORCPT + 99 others); Tue, 21 Nov 2023 08:27:22 -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 S229514AbjKUN1V (ORCPT ); Tue, 21 Nov 2023 08:27:21 -0500 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91AC11A3; Tue, 21 Nov 2023 05:27:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=rH4XXg0XG5JBDQqriE53B4ksPcxyNMkV8utydydYqlE=; b=GptbOphakDgWkgtVyn9kVmSZut 2zdws9QRSTONl2GEr2a+OIBZrE3jJeI0D17zlWvHurC71V/x0OEPF6ffv784k7DLlc2aBOLE19Z4o c0tv6/9S+iTe2UkhfYWBVaiamG9EJTPv9gb0UnQ2E+mlufTRS4ZpZA3hqA7HZlRX89aSKzHu3MJ1l WcQbFRHumzI7PayZveu3slicUkYT4CsYU60SPqpcv75Ku2ucJtsjbZP45akWiW287IkZ3VbUy79a4 0dZN0gESalrlMs8ThicaN1EXR0io2uxwvg6b/yBrH8ePzb7FDP5MvhbzHS0L7bDI0qET3jb0ExwyI bdYgIQPw==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:33300) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1r5QmU-00073r-1c; Tue, 21 Nov 2023 13:27:10 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1r5QmS-0004DC-UA; Tue, 21 Nov 2023 13:27:08 +0000 Date: Tue, 21 Nov 2023 13:27:08 +0000 From: "Russell King (Oracle)" To: Gavin Shan Cc: linux-pm@vger.kernel.org, loongarch@lists.linux.dev, linux-acpi@vger.kernel.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org, kvmarm@lists.linux.dev, x86@kernel.org, linux-csky@vger.kernel.org, linux-doc@vger.kernel.org, linux-ia64@vger.kernel.org, linux-parisc@vger.kernel.org, Salil Mehta , Jean-Philippe Brucker , jianyong.wu@arm.com, justin.he@arm.com, 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: References: <095c2d24-735b-4ce2-ba2e-9ec2164f2237@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Russell King (Oracle) X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, 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, 21 Nov 2023 05:27:36 -0800 (PST) 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. I do hope we can get this queued up for v6.8 though. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!