Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp449605rdb; Thu, 30 Nov 2023 08:51:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IGkF411NSpZ2nNsZsv+pUjE8R6eBhQ2Dix/QarEiCwoZWAUkWLbDij2LKsiGF3LwXNYfx9m X-Received: by 2002:a05:6808:1594:b0:3b2:e2d5:bcec with SMTP id t20-20020a056808159400b003b2e2d5bcecmr100256oiw.47.1701363107170; Thu, 30 Nov 2023 08:51:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701363107; cv=none; d=google.com; s=arc-20160816; b=DAO5ctFcqxcB4BzNlPasNQby/8XpLOnIx4UMqfkBq6TU1esBNh/5QeokfYUWca+Tyh 61JQ2dCud4LjVP9Q7ONdZECpKUIXL/qvNEpmPI66s88kadUI6pOZO7qurpHXRqZcIQES j+oS2Qf5lUnuAHLgUTRB8t0rI1B5oFjfcspgvl8bJLo/ekSaYGWsXkOIMnINKDeR/pt2 vddR8/HqILctO8MbAqss+CIIep++1j33WBwoISkDqtPcEfDrDYrYiUKJHlcmSh0YW+rN EBgdd3MK77M10d4g85DI40CPeHPZyPlcowpdORdLHnqIkzcibFgjMxf0S8xsJCGxEnZw eS7Q== 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=i0Ds6C7Vrt+2+ZA9J6bMwmwds1xeRsrAX5uzr6i9L4g=; fh=qrVkwcEc2HzmJnp3K6WNiDsxalHNHfqVqNHQZIyg/54=; b=nhYqVsYXVRK4ztU1rAG88g/4CO6xmg1En2tahVKEIrlmHRx4EGPU1AYUcLfUlao1ku dSoTbngK3BBDUQw69WVdIYczSFABOe1X/9R2vVn6lGXyMmN3hHUJPT3fXKcKVSkyRfEy sHHYVK7tzjyOniFjXjkKFaWMUcpFqVg3KSnHoDcO7285caszu7moEIymr0OUp7jzsPoG EIQAU5Bx2WeqPqQHIJOHUHGi/aO59FjzUfpIA6IiVUued/xwoASZs53tA3bBT8ow1J1k yqPa172XbjefIia8d8ijW55kpfZ2b/WnGgzL3UHqVQl3UjxD2A8wXECdx2GuzuCAt1l5 6gWw== 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:1 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 morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id a13-20020a65604d000000b005bdc49d22a4si1760315pgp.103.2023.11.30.08.51.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 08:51:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (Postfix) with ESMTP id D7251826EBA5; Thu, 30 Nov 2023 08:51:44 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232370AbjK3Qva (ORCPT + 99 others); Thu, 30 Nov 2023 11:51:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232402AbjK3Qv2 (ORCPT ); Thu, 30 Nov 2023 11:51:28 -0500 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC99510DB; Thu, 30 Nov 2023 08:51:34 -0800 (PST) Received: from mail.maildlp.com (unknown [172.18.186.231]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Sh2H82C8lz6K8sJ; Fri, 1 Dec 2023 00:49:56 +0800 (CST) Received: from lhrpeml500005.china.huawei.com (unknown [7.191.163.240]) by mail.maildlp.com (Postfix) with ESMTPS id ECE9014058E; Fri, 1 Dec 2023 00:51:32 +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; Thu, 30 Nov 2023 16:51:32 +0000 Date: Thu, 30 Nov 2023 16:51:31 +0000 From: Jonathan Cameron To: "Russell King (Oracle)" CC: , , , , , , , , , , , , , Salil Mehta , Jean-Philippe Brucker , , , James Morse , Greg Kroah-Hartman , "Rafael J. Wysocki" , Thomas Gleixner , Peter Zijlstra Subject: Re: [PATCH 09/21] drivers: base: add arch_cpu_is_hotpluggable() Message-ID: <20231130165131.00001abe@Huawei.com> In-Reply-To: References: 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: lhrpeml100005.china.huawei.com (7.191.160.25) 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 morse.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 (morse.vger.email [0.0.0.0]); Thu, 30 Nov 2023 08:51:45 -0800 (PST) On Tue, 21 Nov 2023 13:44:36 +0000 "Russell King (Oracle)" wrote: > The differences between architecture specific implementations of > arch_register_cpu() are down to whether the CPU is hotpluggable or not. > Rather than overriding the weak version of arch_register_cpu(), provide > a function that can be used to provide this detail instead. > > Reviewed-by: Shaoqin Huang > Signed-off-by: Russell King (Oracle) Reviewed-by: Jonathan Cameron