Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3793342rdb; Thu, 14 Sep 2023 02:51:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGruFHI7kVHwJ7LOsHgqQ5H01mjB+vhmlL8OEJJ1BUEpGAWHiksI8x7na6v1koPEUsxP4tI X-Received: by 2002:a17:90a:d50c:b0:273:f138:29cc with SMTP id t12-20020a17090ad50c00b00273f13829ccmr4225834pju.35.1694685105303; Thu, 14 Sep 2023 02:51:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694685105; cv=none; d=google.com; s=arc-20160816; b=r9IVsgtpGTVPerCqdUdMdVrWdRL1ICC+tTxf48XxfgEjAzJO62UebjNKd6j9Dbac2/ iwTuW+XQryHA7iQX6/XdWtF2ZCURKNK4ZPkDLZyXbFWPeEIKVnn5U9BdP7DAP9FPtIfs IK+tHflQeJBqBUPjKyUboO+7QDO9KWrIYTVnppz+iqcO44BE+A/us97O9lXnP8Z4kxvP JxXRn9BM26prUCgMPhY453b8s0/nPSDkmyX6H0KqGZ1ef7J9zQ0zluaHKCDw7vbbsabI OurKWkJRv9qsr6cXYs+/eGPoHpoEyupJMRONKxKT3mqt32XlIvUAolEy9ydQsdkMloe/ e7RA== 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=axYPg+kto0nJNL9hl8iLv0sDKfjF50COIQpJVC5Qtaw=; fh=zy1Co7PYFmuXUg2eZotSjXGb5HebW9Y60njLFSa2hrI=; b=nd6uy7/pXtTHTTm466/BhPHUxVW2BI81WdNqirUZ5CUkuGwPyweUdtpLVI2eqYsbbQ bGF2yqL/YKOnyCqkb5fPdHkto2phVXeTD8PHaupBl/y15DuffWGvWpney4rpA4Kx/iPn RmyTh29gp+HEA2wEGl7TQCzSPrpky0jpSZUppHqD08aFr9tRlN+uNjpRCncTJHT366vv pFUoQUb3TWpj6tvoBEFNyv67NVJUP/8fua8L2ssOWvmCUz0E4BJFT7/8Y0LNesKFssZT OK0xeGnPMcHSjyLBqk5GGUqKNZILxASgWpblGQBTbdgI2ZiO7hvf8LLxq8wSqqNQ3JEW crOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=y9o36XMa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id on5-20020a17090b1d0500b002637aa0a4dbsi3700393pjb.103.2023.09.14.02.51.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 02:51:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=y9o36XMa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id 6705980A58DE; Thu, 14 Sep 2023 02:44:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237402AbjINJoM (ORCPT + 99 others); Thu, 14 Sep 2023 05:44:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237286AbjINJn6 (ORCPT ); Thu, 14 Sep 2023 05:43:58 -0400 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 901F12127; Thu, 14 Sep 2023 02:41:05 -0700 (PDT) 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=axYPg+kto0nJNL9hl8iLv0sDKfjF50COIQpJVC5Qtaw=; b=y9o36XMaTplPci06WgCoImVV8n d0RovaoTBpKr7gNJzrFKhK4j6VnIAfNGEuin8IgO508xznoOSAMU8v7mEyO8Q1w+d+JewjyNHztCT si3rOh/smfaFzgZ1LG1aC1fG/mKkg2b12fPFXvwKeITYYMr91dEWS8uOqqHoL+u1MtXPePE6i0phH E02qmgG+39ruqyJCugCTGUAvoCwr2dxkmbUkAPkcESni1VtABAWuHsCJbC3T7qCOZIcLZffITyvnF ie4bA7HGR/+yUzFkj5tEJqgJk4LDKSq+OWYx+b0Lx7uSidPZmGk5fQNwCtoBifDxNMwHZJOrNFiwg IFJNmKDg==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:47660) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1qgiqJ-0003nl-2j; Thu, 14 Sep 2023 10:40:59 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1qgiqI-0004eL-CR; Thu, 14 Sep 2023 10:40:58 +0100 Date: Thu, 14 Sep 2023 10:40:58 +0100 From: "Russell King (Oracle)" To: James Morse 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, Salil Mehta , Jean-Philippe Brucker , jianyong.wu@arm.com, justin.he@arm.com Subject: Re: [RFC PATCH v2 04/35] drivers: base: Move cpu_dev_init() after node_dev_init() Message-ID: References: <20230913163823.7880-1-james.morse@arm.com> <20230913163823.7880-5-james.morse@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230913163823.7880-5-james.morse@arm.com> Sender: Russell King (Oracle) 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, 14 Sep 2023 02:44:12 -0700 (PDT) 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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email On Wed, Sep 13, 2023 at 04:37:52PM +0000, James Morse wrote: > 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 I think this patch should be merged sooner rather than later so that it gets a longer time to be tested, as moving the order that things happen in init/main.c can be problematical. Reviewed-by: Russell King (Oracle) Thanks! -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!