Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4101226rdb; Thu, 14 Sep 2023 11:45:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGRTcqd5D+g9SWz/5CFJHb4NxOPeVV4WOz4sugR+djdXh0XbYjBu4Qu6KkOIPMkm65XSd41 X-Received: by 2002:a05:6a00:2c94:b0:68f:cc75:a2d with SMTP id ef20-20020a056a002c9400b0068fcc750a2dmr6825698pfb.0.1694717114378; Thu, 14 Sep 2023 11:45:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694717114; cv=none; d=google.com; s=arc-20160816; b=X7ApF479jNQ4K0BIg52WIpEG5F40faE9sC6xrFoAYY7O76HWD6z3lvKmEIYd6F3i+X U1U6VO55zxDKKFut24mdpBdp0OFkv/bXJpwIwemQ50do/4ZMqlQgebDvby9z0WxOipzH hYc4UjZLv6Ks7P8/UpgyAaZVtT1NolXCwbalQPZcull8NSg1gCMjIm8Ew+pqVBug11/E 7VPRXw3ky95tsX8BzJbdLruhfNxcP50vMJwuat69MQH5zyn9/v3MFZEsettKKmOm9IWl Zap6539VTHJQwGR+AtVVns8kG0CH0KnWv9R5Lm+Np0wbZgc4omcZzZaEB4YXEUVsvd00 USIQ== 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=B6RnEXIYDtUw6JnmrPx9u+Y1Ptj1s48sSYqiRgozYj8=; fh=zy1Co7PYFmuXUg2eZotSjXGb5HebW9Y60njLFSa2hrI=; b=0QXmivG38noQIfEwQ1DWv+jd2mjhE6CEQ1480ckimzyAlEpVLTTJ4r9FqPFKzI611e auCT5UOu7+V39jKW8DnVcmDSMDooOEtggRn1FPxlv5y1WiU8BDLVRQbmXiJHnvtnsXxs Im1cDQkcg9o6Ba4Tn10dUKo/GuIYzJtextkf+4VNhorc5wAzJMrab9VcwgfGg+WhwYeA qigrv3wYp3/9kBG+Rfx9oZM1FIgvWWRM/bY4ReWFRuv7SEzqhJcLFFM8uhvDlk86T6MR CyN3l7PGYLU0dOMOJ+YOnqG3ro4oBq82zNlONlZCB+XzKEkFP48EiH3BxNcQL+FqWVzV 5SsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=JMuyF2HY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id z66-20020a633345000000b0055acc9baa64si1932867pgz.33.2023.09.14.11.45.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 11:45:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=JMuyF2HY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id C9F7C82EBE5F; Thu, 14 Sep 2023 03:04:04 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237922AbjINKEA (ORCPT + 99 others); Thu, 14 Sep 2023 06:04:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237811AbjINKD6 (ORCPT ); Thu, 14 Sep 2023 06:03: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 543C21BE3; Thu, 14 Sep 2023 03:03:54 -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=B6RnEXIYDtUw6JnmrPx9u+Y1Ptj1s48sSYqiRgozYj8=; b=JMuyF2HYa2ahrFynGeiT4letpJ egbDnqzEYvKA38hOiMNTrIBVNsM9TyjW8BdZCaREg5Qb9/MqrLW7dhyVlaiRYqZUQzCF+zmAtz8Kd 1xWzA24/N68lesZyur9s/Lasqjwm5u7C3IgBoqCliaWhgs1b6nJTLYpbZFwktTF5KuzYVjDcFawv9 XcJ1e91OLAi+dqHiPcSbsqZkk4vgBy/P8b5B9bjgt/1mmMZTHeXRr9JzpoZ8ODYjbVqwXypram10j c8qjJmSMD1BfGHCsck5bXiyMNAZMvxIkkIqGzfaEDBte4KHIU08IYgGx5qrkHpOXLB4worlNrNHP3 X085S91w==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:41812) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1qgjCR-0003r2-16; Thu, 14 Sep 2023 11:03:51 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1qgjCR-0004f9-Ts; Thu, 14 Sep 2023 11:03:51 +0100 Date: Thu, 14 Sep 2023 11:03:51 +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 09/35] LoongArch: Switch over to GENERIC_CPU_DEVICES Message-ID: References: <20230913163823.7880-1-james.morse@arm.com> <20230913163823.7880-10-james.morse@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230913163823.7880-10-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 (snail.vger.email [0.0.0.0]); Thu, 14 Sep 2023 03:04:05 -0700 (PDT) On Wed, Sep 13, 2023 at 04:37:57PM +0000, James Morse wrote: > Now that GENERIC_CPU_DEVICES calls arch_register_cpu(), which can be > overridden by the arch code, switch over to this to allow common code > to choose when the register_cpu() call is made. > > This allows topology_init() to be removed. > > This is an intermediate step to the logic being moved to drivers/acpi, > where GENERIC_CPU_DEVICES will do the work when booting with acpi=off. > > Signed-off-by: James Morse Same comment as x86 (moving the point at which cpus are registered ought to be mentioned in the commit message.) -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!