Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1000403imw; Thu, 14 Jul 2022 15:11:57 -0700 (PDT) X-Google-Smtp-Source: AGRyM1u6HNjRl+33xGUtcaEo6RwnxAYiHa96j7Z1lWH+VEO21Nqj3ovgmWD8uQrYM/a6YRUwM24x X-Received: by 2002:a17:907:2714:b0:72b:7deb:95e7 with SMTP id w20-20020a170907271400b0072b7deb95e7mr10595426ejk.761.1657836717550; Thu, 14 Jul 2022 15:11:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657836717; cv=none; d=google.com; s=arc-20160816; b=mtzdryFgxpAmoKbVfk4WfVqnjBKnch/WCiAYiBpUnh5aIIfOyAir/Cr0QVvkR0E6yZ Xx7ubQc037s6JwE8UO6DFse/gCrQtu/VmcQLsuHtGFpIRWNNbRxPS9V3Tc6EL+KgfkEa gsyFBgIl0pl32zWKWN/YjbhXwS6V94XifAN5gN1pei2IVOPOv76twcBeCe4RCLF2NZnm pJJo2rfyP5rwGcJr4QBtqlvb4LPvZXwqFLK7Sp8u56jRDrtIICJzrBbkvC5zG5b9pq9o m76DrrDztdHqEnJvFM1/Lcvl+jPaJASJhiH9OFsllz8xbks6filHsOgDuZdCL0EMOcz7 /DVg== 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 :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=zbpcO2BwVk2FwQNWYD1VkAJqWqJYo+FkQx1b7LzYFnY=; b=WtoIng52FUAekUI6KmA9ghmqfvgRKYdON8bxr6rrrhkdVXfDUALRXNeFqUvmAYXz6I Z04sZll0A3RV7EJdsNnFmkZymukMAouTsV/XYD7pfjAU1KmLQvaQdBtk588a24Aefmbz D1HvJ/cFUGkvKX8QXSnlYQ38HNgp264vGtapTHZTKRZcz3PcOXSSENRA2gD4F8HdLG+g /ftJcYv7acpFpzrKJDC1fQNIKmubATO3RYmVblHlTdHQa67P6UFvmWNmqOhxy3MVXzvV 5z8Br2z3ksYAO+wa/xP9luDNWhsBhxlyU45fy78DafbQEnOdZKon4nzKJ87wI/pI1LbA /Nbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dabbelt-com.20210112.gappssmtp.com header.s=20210112 header.b=qaIrgfzj; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ht8-20020a170907608800b006f3c6ceb0efsi3422979ejc.51.2022.07.14.15.11.31; Thu, 14 Jul 2022 15:11:57 -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; dkim=pass header.i=@dabbelt-com.20210112.gappssmtp.com header.s=20210112 header.b=qaIrgfzj; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240844AbiGNWEP (ORCPT + 99 others); Thu, 14 Jul 2022 18:04:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240993AbiGNWEH (ORCPT ); Thu, 14 Jul 2022 18:04:07 -0400 Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D2F05884C for ; Thu, 14 Jul 2022 15:04:05 -0700 (PDT) Received: by mail-pf1-x42b.google.com with SMTP id g126so3068678pfb.3 for ; Thu, 14 Jul 2022 15:04:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt-com.20210112.gappssmtp.com; s=20210112; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=zbpcO2BwVk2FwQNWYD1VkAJqWqJYo+FkQx1b7LzYFnY=; b=qaIrgfzjhYCN6aVkiE5TQIWlp667OBZ4/SuftHPD66q62YbBKL8IwkW3a4A0yek+DX pIB+7WmuTFElSs2d276fzz8w/Co/RCmHEm32OgKbOV+8MnzZ0ZECDEaOXzi0doWk/m3M 4VdwLaLGyfjuP7PzzYrL2U+U68sp7T2WgFl1zWeObOpJ1gtrbflo+GrLIdr7x8La3/8q 6jaTnVb10BSXIkyUZK2fxdhOKiXuZ9MxD0DeOZYAmBPRM2V09P/KuLv7hr2WvNo3znJg J+JTEVJx9IiNjnnkyFNEBd3uyAXrj4HW0uZZKL9xDOA+R2xIQ5Gas51hfU8Miv6eBCBE F3uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=zbpcO2BwVk2FwQNWYD1VkAJqWqJYo+FkQx1b7LzYFnY=; b=z+w+hwZtHtVAxeuV23JCQJVftqJtfQXlfsh19wND5XmkJ135YO+3D3qJmD7nKo5044 bkRX1s5MqhAJnwq7Ss9OiD2fBhcg1hpvtvvEzaBvtaq5q2ZIVtWtKOeyu0SrSsJZd8Ep YWy+RN26IVuFbRzn49PUQ1JaO3X33uhZ+AYyUn5kuL5eV7IKYiNkRx0SLbEN4eKCArUp 1YN5nwTZefAie3CHgEf+y+lufs7Ib1Ri3FVbEyWLuzT6VknDhIScV4RY0z+LhUfzZp6v vb7Lcr33GDNTMf0RpHUQmRqAbPH3LfnAuOnCalTOTWGHOLZhCOzpM+vT74aZEXLLo9hZ htPg== X-Gm-Message-State: AJIora/KmQ9l9IRNJnVLx7Xx6XJz/XyXl2dGVMkSdOhnoeRT8heoDvo6 axNaCNHNiQmS18kJCA4a82UODg== X-Received: by 2002:a63:e64f:0:b0:40d:e79f:8b73 with SMTP id p15-20020a63e64f000000b0040de79f8b73mr9177810pgj.243.1657836244616; Thu, 14 Jul 2022 15:04:04 -0700 (PDT) Received: from localhost ([50.221.140.186]) by smtp.gmail.com with ESMTPSA id i137-20020a62878f000000b0052542cbff9dsm2224040pfe.99.2022.07.14.15.04.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Jul 2022 15:04:03 -0700 (PDT) Date: Thu, 14 Jul 2022 15:04:03 -0700 (PDT) X-Google-Original-Date: Thu, 14 Jul 2022 14:42:41 PDT (-0700) Subject: Re: [PATCH 4/5] riscv: dts: microchip: Add mpfs' topology information In-Reply-To: <20220705190435.1790466-5-mail@conchuod.ie> CC: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, Paul Walmsley , aou@eecs.berkeley.edu, daire.mcnamara@microchip.com, conor.dooley@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 From: Palmer Dabbelt To: mail@conchuod.ie Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, 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 Tue, 05 Jul 2022 12:04:35 PDT (-0700), mail@conchuod.ie wrote: > From: Conor Dooley > > The mpfs has no cpu-map node, so tools like hwloc cannot correctly > parse the topology. Add the node using the existing node labels. > > Reported-by: Brice Goglin > Link: https://github.com/open-mpi/hwloc/issues/536 > Signed-off-by: Conor Dooley > --- > arch/riscv/boot/dts/microchip/mpfs.dtsi | 24 ++++++++++++++++++++++++ > 1 file changed, 24 insertions(+) > > diff --git a/arch/riscv/boot/dts/microchip/mpfs.dtsi b/arch/riscv/boot/dts/microchip/mpfs.dtsi > index 45efd35d50c5..0a17d30bb3f2 100644 > --- a/arch/riscv/boot/dts/microchip/mpfs.dtsi > +++ b/arch/riscv/boot/dts/microchip/mpfs.dtsi > @@ -138,6 +138,30 @@ cpu4_intc: interrupt-controller { > interrupt-controller; > }; > }; > + > + cpu-map { > + cluster0 { > + core0 { > + cpu = <&cpu0>; > + }; > + > + core1 { > + cpu = <&cpu1>; > + }; > + > + core2 { > + cpu = <&cpu2>; > + }; > + > + core3 { > + cpu = <&cpu3>; > + }; > + > + core4 { > + cpu = <&cpu4>; > + }; > + }; > + }; > }; > > refclk: mssrefclk { In case anyone is following along: this patch got split out from the rest of the series and ended up in the Microchip DT PR for 5.20. I've taken the other four into for-next. Thanks!