Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp2534150imw; Wed, 6 Jul 2022 07:34:12 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uTzYdkxnzf1um8Larr1+u0stgE36m0/tcKKmqrQdffLslxwrlMcT6ebiQaUDpr61jl1kIu X-Received: by 2002:a17:907:d18:b0:726:3172:2266 with SMTP id gn24-20020a1709070d1800b0072631722266mr39756878ejc.476.1657118052289; Wed, 06 Jul 2022 07:34:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657118052; cv=none; d=google.com; s=arc-20160816; b=SgYG9zj7HJpPTn9uw/2IOh/8lrQD7xmt+Hmjydc5ZtfNB/dRaAokJ1QGoNJA0lKg1J 6J4HT/xv3lzInQ1g2gXEiB3WSGRqMIDm7dnfE7pEfmksjt5Ho9Pka/3q0BdhjPtogHk+ XVfpfbb9UtfB0c1Vlr53PFcSgbiX1r7RzcJgUp7a1fpdGAprIBfa7bwVFx4dTYcBrLMY AZq0S8M3YmwrcUOmwBXWVHgpTX5amznO8Iu+Z7IdBayd+EWu7hbt+S04gegtuxS7ivLm nlmomZGNMAEG/OvbjsgvgrGzoNDcobR6PCTfS4MzUWgCi+Gf4fof0twLdGcchSQ/mpFM SG6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=XoLp47AfUohLjHWtr5AeNZ5dZlD4Cf3h3+vVPcoBP9I=; b=tQ6QkWEHGVoMZIodrZ30kKlV5izf4um0OPpmwS33gUmdoPdbHdMC66wOGBc0pjQOQE SjIVL4bC4HzVofvt/1yH4J6Y3AQ/HSUpwSbtSGVMFHp71u9kCQSoxFV7DsIFRLklb98+ ZaFbjyOaGXwJodaKUaP60dtNJ2yVXzhG0gRwqGjr+QJaN5eI9HM+MGfMsU8D3vAdBWQG J0ijmiTxciDfXOtxvVDQcv4BnknQAqchOPP3lchSNcJ9dNYjIvlX2SHrmYOjRG5MFpkT TeS2RMUtJEEmZwG+OQXpODlyj+6I9v7zepiUVQlA7jcQmh76yV2EcnjePrnHQKF6Lqzm PNlw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t19-20020a056402525300b004396b04ebd5si23370228edd.362.2022.07.06.07.33.42; Wed, 06 Jul 2022 07:34:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233578AbiGFOBi (ORCPT + 99 others); Wed, 6 Jul 2022 10:01:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231454AbiGFOB0 (ORCPT ); Wed, 6 Jul 2022 10:01:26 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 88C1D1D30F; Wed, 6 Jul 2022 07:01:25 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8792D106F; Wed, 6 Jul 2022 07:01:25 -0700 (PDT) Received: from bogus (unknown [10.57.39.193]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B460B3F792; Wed, 6 Jul 2022 07:01:22 -0700 (PDT) Date: Wed, 6 Jul 2022 15:00:11 +0100 From: Sudeep Holla To: Conor.Dooley@microchip.com Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, Daire.McNamara@microchip.com, niklas.cassel@wdc.com, damien.lemoal@opensource.wdc.com, geert@linux-m68k.org, zong.li@sifive.com, kernel@esmil.dk, hahnjo@hahnjo.de, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Brice.Goglin@inria.fr Subject: Re: [PATCH 0/5] RISC-V: Add cpu-map topology information nodes Message-ID: <20220706140011.oow6pswbyct6cwrd@bogus> References: <20220705190435.1790466-1-mail@conchuod.ie> <20220705201931.nfwi5rlku7ykmydr@bogus> <8f07796a-d9a2-3301-aafb-7fbec4d5b1a2@microchip.com> <20220706092126.k6zaknwcwzyg22ak@bogus> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 06, 2022 at 01:04:24PM +0000, Conor.Dooley@microchip.com wrote: > On 06/07/2022 10:21, Sudeep Holla wrote: [...] > > Looks good. Again package id is not cluster. This is what my series is > > addressing. So update the log as Package instead of Cluster above. The > > cluster id will be -1 unless you can get that for DT. > > > > FYI I took that directly from arm64: > arch/arm64/kernel/topology.c:L57 (next-20220706) > > pr_debug("CPU%u: cluster %d core %d thread %d mpidr %#016llx\n", > cpuid, cpuid_topo->package_id, cpuid_topo->core_id, > cpuid_topo->thread_id, mpidr); > Yikes, that needs to change. I will get that updates. Thanks for pointing that out. -- Regards, Sudeep