Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3607875imw; Mon, 11 Jul 2022 11:57:25 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tBDMsF8t3iru3Gu1Xh3NRxTihMxKkgj82wqZg7VFChD8IoC57zx6HWwVACF/CSi+TY2KZY X-Received: by 2002:a17:907:3e11:b0:72b:49d1:2054 with SMTP id hp17-20020a1709073e1100b0072b49d12054mr9914230ejc.78.1657565844815; Mon, 11 Jul 2022 11:57:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657565844; cv=none; d=google.com; s=arc-20160816; b=MJeYtMpeMQSUIfUYb2QtI/9HaM3iVvlJvbaPIh4ulNBCDt25/yUTAaMiNduglDA8B3 zObmaYFBcsk3xp1tNAvR1jQUoipraTuf1MfGdBSkFZTRHLL6rn4zclBb1hYSJwz7ZAl2 7hhylrd3QgKO9+H+Lnr3SmJ30qent7XYCPXNJsJgzarXYyxTbQOZoevmMexTPQVfE2h2 R+9hQE3v4RlbPj91b25JXEmA6fz2dMDQYR5cO7GgOlZwO5RKCPoTgo/Hej+KN6WW35Ky SDP0f3Q9VHFgnfBhiohP6IdBVzo1OcEVPTQa/c7NsoBU5q1zM+y85a6hPpCV5HfRMStm OV9Q== 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=Faba1IAeoFPLJV2hWR4qx2pHr6WFp+URpSyXW9hD/sw=; b=O2IWsVERZVc7YhyRCpG7hIQykPKeSE4d2P4aPHIiNEWWuZGFXqTVDCkH3UAq7dsCqH jZDs8XINi0kM5okTdgBcsVxWnNxmplelqTZFVi71q9iINhSUXVr1kTDttAkEWXP4tMm+ u79qUuCpjlpg4qvcYE27UfeuTUuzb62BkOz/NhrrVWEiUxnyKSstUUw0CIkjy2LWUYvg PpVuR4y/UkuxlRLeEebri7Q2Cb+/qUXsP9g10jNdGZLRiaUrLNMosoQLw2Is0VQltl8E UV4HlylR3w22pUnxNl7WnZFsMSpY5qOA0T7YyUQ5PbAv3krkUtlFXak7EzqnICORwLmp EYtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@conchuod.ie header.s=google header.b=EnKbvDK3; 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 sb4-20020a1709076d8400b006ff05cc7140si13121303ejc.255.2022.07.11.11.56.58; Mon, 11 Jul 2022 11:57:24 -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=EnKbvDK3; 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 S229628AbiGKSoP (ORCPT + 99 others); Mon, 11 Jul 2022 14:44:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229685AbiGKSoO (ORCPT ); Mon, 11 Jul 2022 14:44:14 -0400 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F23BD13E0E for ; Mon, 11 Jul 2022 11:44:09 -0700 (PDT) Received: by mail-wr1-x435.google.com with SMTP id v14so8165062wra.5 for ; Mon, 11 Jul 2022 11:44:09 -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=Faba1IAeoFPLJV2hWR4qx2pHr6WFp+URpSyXW9hD/sw=; b=EnKbvDK3bChx+ZOchcvV42N2sV91Y4yRRlv8gQYXMV5YZwSb4p4phAYGN2arUTkd1U 9V/94GurexAHB62cHXmX+NUAm0MzT0A9K05Mp8BmavqOut87xxXt9lXLVLfM0JWRLhC3 XzHjlOskracRxd3jY8q3Z9h7YfH7Xj0jmi6JTUwwqtB8KhV47qU21mFL+KaCjf1OUtBH fdkmCs+vDWudLzSm070UBLxH6KMnAicJv11Gubqd3bfVb541VC007JULyGU4vy24hJZv FsuAhASoDzEgHAI9vt4eWUl1dIGDFJuXi/1VF1JD2xhN345jAwYgiCB2SUgXmybObRuN hrLA== 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=Faba1IAeoFPLJV2hWR4qx2pHr6WFp+URpSyXW9hD/sw=; b=nlOC6+WlEMI8VogVR9PuSizfFg7Ga6xGU7ZMJXyMKHsy1vQe/CG57Z1eNpE98eZtjg GYtDS2KMeUjvuekvFFWFEbk6X9YaTx2HGreChtdHARMBwJmtJhPsaZeHiRearO2kyCrx 1KHc7y5tPNiyf8xnWbhSV2fSp8I2aDpyUm0fiTcNHKLk6vAiOrbMxQnWvloJfXSUzD8i Ky6XfGxdUiwW/EOAClkHMrb9hPuGuZwpHwG3BRTJxDithlmnSsXiTxjfe+cu+L93GrGl 0TJp2jN9kIS2mBfRl9O8X9VJs5yXQXH6hR+IvO3HeMQB8WvbcGLAu1ugwh8pdLDQqwNv hWhw== X-Gm-Message-State: AJIora+eLNOrOCKJohUIHzVC1TJU18L/eruqBR2BFEJ/xo8YlkkwAw78 KKLo+Gz1HQBZPrUS1S51eIXIMA== X-Received: by 2002:adf:eb0f:0:b0:21d:2f1d:8e40 with SMTP id s15-20020adfeb0f000000b0021d2f1d8e40mr17664845wrn.207.1657565048244; Mon, 11 Jul 2022 11:44:08 -0700 (PDT) Received: from henark71.. ([51.37.234.167]) by smtp.gmail.com with ESMTPSA id j9-20020a05600c410900b003a02cbf862esm7330892wmi.13.2022.07.11.11.44.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jul 2022 11:44:07 -0700 (PDT) From: Conor Dooley To: Emil Renner Berthing , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Anup Patel , Conor Dooley Cc: devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 0/2] Add the JH7100's Monitor Core Date: Mon, 11 Jul 2022 19:43:24 +0100 Message-Id: <20220711184325.1367393-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=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 From: Conor Dooley Hey Emil, Following on from my RFC [0], here's the real patches adding the monitor core for the JH7100 w/ the ordering changed as requested. I had a look in the SiFive E24 docs [1] & in [2] which said "16KB I-cache with 32 Byte cache line". Didn't have anything else to go on, so I kept the same ratio between lines/sets/size as other SiFive monitor cores, but since they're not 32 bit I dunno if that's correct (IOW it is a wild guess). The dts patch depends on adding the series adding the cpu-map [3]: Thanks, Conor. 0: https://lore.kernel.org/linux-riscv/20220710111330.3920699-1-mail@conchuod.ie/ 1: https://sifive.cdn.prismic.io/sifive/dc408861-94ce-4d82-a704-caddec98609d_e24_core_complex_manual_21G3.pdf 2: https://github.com/starfive-tech/JH7100_Docs/blob/main/JH7100%20Data%20Sheet%20V01.01.04-EN%20(4-21-2021).pdf 3: https://lore.kernel.org/linux-riscv/20220705190435.1790466-1-mail@conchuod.ie/ Conor Dooley (2): dt-bindings: riscv: document the sifive e24 riscv: dts: starfive: add the missing monitor core .../devicetree/bindings/riscv/cpus.yaml | 2 ++ arch/riscv/boot/dts/starfive/jh7100.dtsi | 21 +++++++++++++++++++ 2 files changed, 23 insertions(+) base-commit: b6f1f2fa2bddd69ff46a190b8120bd440fd50563 prerequisite-patch-id: 946df827e9dad8ca6e9751fe4ba01fd5fe9d18cc prerequisite-patch-id: 59626290ee7b1e725bd446a4b7170ee2d6ca9bc0 prerequisite-patch-id: e57a94cb7d69855a4e2d6044dcf86fbfe35cb696 prerequisite-patch-id: 0ba94fd09377953ec4e9692358de569a7932bfa3 prerequisite-patch-id: 398e9b178ce51c924bbd9115020d84b677f773bb -- 2.37.0