From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B2A46C3DA7F for ; Wed, 31 Jul 2024 08:28:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id: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-Owner; bh=/fcqze2vkAObsFYGy2QrciDn6/xJntMtoVf4Cew1w3I=; b=jdLCRAGOYtdWV9IcZm5HauStvz jjE0bOT+Jphh3LvZ6M2oYoe9HdFwo5HKxa3J0vgiHKLNUCS7F0mV26W25+B6XvAwlDVx514U5Iypy xkHwd7qlNHuzbMtWeXUI2jeLgcpyZWUHuYMBGJmB9Ws4KhS8LKrMWaDccSjUAh6bU7g2VoVN4ssLW bBc2+ACc7/6jcAtK9a5mAr4csr6SrMNtqDBgZDOA4UF2IUrdg8rQJzMMmBXqeegiXGYlUV4wGZRSg E+r3wPT6b5w92vCQ9OHgy2NL/k34h8EvpB/dK6Xtj05CSEmvdhVk7IN/1YivYZqZmIvsWz67u4mUg CzGuokuA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZ4hO-00000000JnY-2YW8; Wed, 31 Jul 2024 08:28:42 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZ4gu-00000000JdU-3Tsp for linux-arm-kernel@lists.infradead.org; Wed, 31 Jul 2024 08:28:14 +0000 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=/fcqze2vkAObsFYGy2QrciDn6/xJntMtoVf4Cew1w3I=; b=DL2oTxkwW+T8Unq5n7OiqklutK mCX477EF0JkeGN6q+nIr7W7JDWXCh6n+S5oRJwRJkZiSEStGDjewC2jO5ZnqEWW00oEUjLK+Z+W9p 5awf29db0NOK+hEMRdbKiO8fhbxPiVXe/WIG01vG98m+GrPqPn2mNux61+v18aRp3u3lEKqe/qbJu 4SkhCfIqKqwJR+M16GHPr/lschIHcYPDvrmM44vUf+68Clnv8FeVCjsKfMm9xCpIL2A3dzlBKNLux 3joJjWPepIsl+WmOeK9244dad1tPOwTfnoMT9BCrVZm8GGE5EfdEUNP4l7puRAHvXeMcxeVCr62os syCyVoGQ==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:46600) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1sZ4gU-0008HA-2V; Wed, 31 Jul 2024 09:27:46 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1sZ4gX-00063z-Ks; Wed, 31 Jul 2024 09:27:49 +0100 Date: Wed, 31 Jul 2024 09:27:49 +0100 From: "Russell King (Oracle)" To: Jinjie Ruan Cc: arnd@arndb.de, afd@ti.com, akpm@linux-foundation.org, linus.walleij@linaro.org, eric.devolder@oracle.com, ardb@kernel.org, gregkh@linuxfoundation.org, deller@gmx.de, javierm@redhat.com, bhe@redhat.com, robh@kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH RESEND 0/2] ARM: Switch over to GENERIC_CPU_DEVICES Message-ID: References: <20240702075742.945768-1-ruanjinjie@huawei.com> <1309c436-4e7f-89a3-3b33-abddaaac410c@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1309c436-4e7f-89a3-3b33-abddaaac410c@huawei.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240731_012812_887260_C32972BE X-CRM114-Status: GOOD ( 13.54 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Jul 31, 2024 at 09:52:07AM +0800, Jinjie Ruan wrote: > On 2024/7/2 15:57, Jinjie Ruan wrote: > > Currently, almost all architectures have switched to GENERIC_CPU_DEVICES, > > except for arm32. Also switch over to GENERIC_CPU_DEVICES, which can also > > make the code more concise. > > > > Jinjie Ruan (2): > > ARM: Switch over to GENERIC_CPU_DEVICES using arch_register_cpu() > > ARM: Convert to arch_cpu_is_hotpluggable() > > > > arch/arm/Kconfig | 1 + > > arch/arm/include/asm/cpu.h | 1 - > > arch/arm/kernel/setup.c | 14 ++------------ > > 3 files changed, 3 insertions(+), 13 deletions(-) I think it's fine, but it needs to end up in the patch system to be applied. Thanks. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!