Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1599422imw; Tue, 5 Jul 2022 12:09:39 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vQ1SEthNfk2NTtKU0xQgM2Oc1QG5KkcxM1fTRbEFq5behf5OonM7Y2NXei9eFA2p4QL4Wm X-Received: by 2002:a17:90b:4c48:b0:1ec:a20e:a9bf with SMTP id np8-20020a17090b4c4800b001eca20ea9bfmr43784749pjb.209.1657048179014; Tue, 05 Jul 2022 12:09:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657048179; cv=none; d=google.com; s=arc-20160816; b=tYjrZcQYOwBZxb5tNWaWGR9FbJpRw2HDlHjAsfO5awOdaJLH7cyCnk3jBD/+fDFSPY K+jmgJVwQkd7aetejojk4q7Dnq+vpT3Oywmhh3k9YYiQzxpZEeIL0mvGDCbRcysJwV+O 9e2mmYBy+zoW1tjejPdpjT42I5XvQtByHxJ22/X+mCRC6HQ9zSQ0iimSXPfp+duZl3mr qmyn+8D5BWPuJEKWfggWh4UVqfsUmzpfWYUfp9TAH+ExjtNY6tA36dLmvUAICB5vKu3w xnoIogeTuOxoNzybOeOswbYJg9bwt4fItfFQyq0MK4OxCW7J1ci/QW4dmZHlR0jref+J YD2A== 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:date:subject:cc:to:from:dkim-signature; bh=rNypS/Ps1CBWBgjYuZdy3z58WPT5M3xoTeMQ0thxPjc=; b=mccfLI+9XrfoB4MlXgG/8iTSovPoNVbimN6513DoDeBHwW9Uv1vrj1ZcVWQCzCDORD gx2X6X8HzZnIkWJ5sg+QQRqkRndf/viuImNjiEANmVxsaMYpWu0BmRcEiZcs3lH/q/Hl Gvp+0lcj49f32yepQzVVToESUft9F8mqt68LzZnGul+ydVPUuXfDqX2YnVB9aqNygVXb EYLD/e7pMsFLPwKp2aGGCnmmua5Hso7I122eeHwICAK6LfGbmvwpx6BifzMAofzlBpNi U/RmFBIugnyMY0/VprQ+yyjUytgJDfm0IdMpny0S1Ze6mpQw6JZ8YAKkA5Yz1+HGLaxY qlbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@conchuod.ie header.s=google header.b=IxTJoMz0; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=conchuod.ie Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d2-20020a636802000000b0040ca307700fsi44510573pgc.707.2022.07.05.12.09.26; Tue, 05 Jul 2022 12:09:39 -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=@conchuod.ie header.s=google header.b=IxTJoMz0; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=conchuod.ie Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231208AbiGETEx (ORCPT + 99 others); Tue, 5 Jul 2022 15:04:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230042AbiGETEv (ORCPT ); Tue, 5 Jul 2022 15:04:51 -0400 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2BD67205CA for ; Tue, 5 Jul 2022 12:04:50 -0700 (PDT) Received: by mail-wr1-x436.google.com with SMTP id a5so4184791wrx.12 for ; Tue, 05 Jul 2022 12:04:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=conchuod.ie; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=rNypS/Ps1CBWBgjYuZdy3z58WPT5M3xoTeMQ0thxPjc=; b=IxTJoMz0nCrBnES3le7XtC6QWHQBYzxQdxKrvgrWHHQ1Eqc6fqgsW1Je3s5Eoq1Ukx nHZxm1tjHoLxqasEAqolPgRSjl5KYLED1gpKJ2vbMN+EOV/8yClDbEN5oI6UHMb6O6Qe AUkZWIiUoqelRGWJaqIXpgRys7uRJWzBTleJt20vBOX48UDE1pPFHyLDvGEZ0k69hv+s 5aVTdO4rMNMtHShXzFEuVzVr/kHcOrJxmfh5wtqK5xMfXNGI7eOUdkbmgJ/sPBWqt8/A y0JIv4b/uLHPz8S7qPM038/r0Ev5FKHflxeDn1VwIMObPciof1a0sUlCB8iG5HbX4KpG 9epw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=rNypS/Ps1CBWBgjYuZdy3z58WPT5M3xoTeMQ0thxPjc=; b=nziQgT5F/9gWr/1kZWpMsNeCDSBuj+6m8AuXfwPQ76C/9iwcM3LdD9Knlznp0npiO0 X0vcXyLNhXH5Z5iHJ3HH1fhfnxbCOtAdmzQtG5UzBDfSnmRr+TeHABljuR0dAAnUKJvC EYMaCL1iuhX0Hr+iWbI0v3GyfJiCvzlwhJzNDB/jC4CHd413nIpfZXU7cLy8kNoMCzaJ ZSsrUqjq916QsZxtaSyUiLSEB3iagHz2rMIhLlLxgXvoXtvtq4gAKHpIBR3/qW0PS3W+ zAFLdCVH9sDsV5VACX3Cv5mrgaknqaX1Cg2FqJm6r51lRgYu3ez+/K0LYEnpJqs3gU3W 6TTQ== X-Gm-Message-State: AJIora+tMu/1Qn261b+r738jfRz4kzNTzj+SrZ1dkkcUlSn6jIV6um8L FaxIJg/rcdz86mdEGrb1sqjhYg== X-Received: by 2002:a5d:6d06:0:b0:21b:c433:d1f6 with SMTP id e6-20020a5d6d06000000b0021bc433d1f6mr34255767wrq.717.1657047888610; Tue, 05 Jul 2022 12:04:48 -0700 (PDT) Received: from henark71.. ([51.37.234.167]) by smtp.gmail.com with ESMTPSA id d7-20020a5d5387000000b0021d5c52f4b4sm9912961wrv.34.2022.07.05.12.04.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jul 2022 12:04:48 -0700 (PDT) From: Conor Dooley To: Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Daire McNamara , Conor Dooley , Niklas Cassel , Damien Le Moal , Geert Uytterhoeven , Zong Li , Emil Renner Berthing , Jonas Hahnfeld Cc: devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Brice Goglin Subject: [PATCH 0/5] RISC-V: Add cpu-map topology information nodes Date: Tue, 5 Jul 2022 20:04:31 +0100 Message-Id: <20220705190435.1790466-1-mail@conchuod.ie> X-Mailer: git-send-email 2.37.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Conor Dooley It was reported to me that the Hive Unmatched incorrectly reports its topology to hwloc, but the StarFive VisionFive did in [0] & a subsequent off-list email from Brice (the hwloc maintainer). This turned out not to be entirely true, the /downstream/ version of the VisionFive does work correctly but not upstream, as the downstream devicetree has a cpu-map node that was added recently. This series adds a cpu-map node to all upstream devicetrees, which I have tested on mpfs & fu540. The first patch is lifted directly from the downstream StarFive devicetree. Thanks, Conor. 0: https://github.com/open-mpi/hwloc/issues/536 Conor Dooley (4): riscv: dts: sifive: Add fu540 topology information riscv: dts: sifive: Add fu740 topology information riscv: dts: microchip: Add mpfs' topology information riscv: dts: canaan: Add k210 topology information Jonas Hahnfeld (1): riscv: dts: starfive: Add JH7100 CPU topology arch/riscv/boot/dts/canaan/k210.dtsi | 12 +++++++++++ arch/riscv/boot/dts/microchip/mpfs.dtsi | 24 ++++++++++++++++++++++ arch/riscv/boot/dts/sifive/fu540-c000.dtsi | 24 ++++++++++++++++++++++ arch/riscv/boot/dts/sifive/fu740-c000.dtsi | 24 ++++++++++++++++++++++ arch/riscv/boot/dts/starfive/jh7100.dtsi | 16 +++++++++++++-- 5 files changed, 98 insertions(+), 2 deletions(-) base-commit: b6f1f2fa2bddd69ff46a190b8120bd440fd50563 -- 2.37.0