Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3850084rdb; Thu, 14 Sep 2023 04:53:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEmGJaQEMtSi/rWdyMx10yoF14XxpLLdOPI9TaL4qQrK/GPFvAjkSYHKPxWBtqQmUQI7iqu X-Received: by 2002:a17:902:d4d2:b0:1b9:e9b2:124b with SMTP id o18-20020a170902d4d200b001b9e9b2124bmr5659523plg.64.1694692428461; Thu, 14 Sep 2023 04:53:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694692428; cv=none; d=google.com; s=arc-20160816; b=jhtu4eMVk0BUn7r/UhjHqJEkh6CZSiaZwFtxtIthTA5LBlH4kp5t0Ri0K+3HhpVgZY RVGaj5kbOe/tZa6sYr7MMhF3M5+pRwiHg+UXvF2rHcG0edFnZbenvzEyZZ8It8h2q3Hv z/Su8ySIv/fYL5lybLGj1GhoN5qv4z4gHaZzwq4Pr7tZyA6nv2hPubqC4/YE7HjqXGw6 kRyG4cL0UUCpXpAH3IbvUNCY/z5rXWSlshmgJZdUvDYfLQ+/4IGgeuH3xFEI/GT49sqE C+TEQmsUekQf0iLJk3Z6JDRGmkOlvuL/3b1nV76IS0KEp32P8adn+IFkN5fXOhBIpsRM Snxg== 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=FA1+1GglkyUupbRjZaF2W+PpcsFqpfK6QRNCQN00ZkQ=; fh=RcrmFyiQyuUgUJMV1KzMVpaZWZMM52aqipCECJZUc/I=; b=DB5BgLRFnvdseR9x5RY5G8XAVAs6C0HQZqnxju9MCxdFbLboB1eqOsTTQu6WU2yUS6 GhaZRk3w1GbfkQ4kjS4ikwCKQ0o5JsEbtX7/xM3/HgebVa2e6ruE2G4uVTNUsZnFHOud jLtD3pmgGKQNYzojnR4OEPyxwvzCxbOIQd2JZLA7r7T5fqG0dPyDvlfgEQpZObRgKgiT niZcaIKmAjTfXxrVpsuz7lVUO1tQPat1vBEy1RX9Jb9l8rCrA41P2W5WbWnhkklLMlo1 8/5p6X8QNJnn57hZSM4HMjANSTPLtqWRKHEO/T8fCmxe7DtrjJR2MxeikCQLvaNykqaj OZSg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id h6-20020a170902680600b001b82a4d3ea7si1495041plk.249.2023.09.14.04.53.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 04:53:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (Postfix) with ESMTP id 565C2826100A; Thu, 14 Sep 2023 04:48:36 -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 S237895AbjINLsf (ORCPT + 99 others); Thu, 14 Sep 2023 07:48:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237253AbjINLsd (ORCPT ); Thu, 14 Sep 2023 07:48:33 -0400 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E14349B; Thu, 14 Sep 2023 04:48:28 -0700 (PDT) Received: from lhrpeml500005.china.huawei.com (unknown [172.18.147.226]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4RmbBn3SgHz67SFB; Thu, 14 Sep 2023 19:46:41 +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.31; Thu, 14 Sep 2023 12:48:26 +0100 Date: Thu, 14 Sep 2023 12:48:25 +0100 From: Jonathan Cameron To: "Russell King (Oracle)" CC: James Morse , , , , , , , , , , Salil Mehta , Jean-Philippe Brucker , , Subject: Re: [RFC PATCH v2 10/35] riscv: Switch over to GENERIC_CPU_DEVICES Message-ID: <20230914124825.0000209f@Huawei.com> In-Reply-To: References: <20230913163823.7880-1-james.morse@arm.com> <20230913163823.7880-11-james.morse@arm.com> 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: lhrpeml100006.china.huawei.com (7.191.160.224) To lhrpeml500005.china.huawei.com (7.191.163.240) X-CFilter-Loop: Reflected 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 04:48:36 -0700 (PDT) X-Spam-Status: No, score=-0.8 required=5.0 tests=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 Thu, 14 Sep 2023 11:04:27 +0100 "Russell King (Oracle)" wrote: > On Wed, Sep 13, 2023 at 04:37:58PM +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 > > ... and same concern as the previous patch. > Agreed - with that note added, this one looks simple. Reviewed-by: Jonathan Cameron