Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp1897550rwb; Fri, 5 Aug 2022 09:31:01 -0700 (PDT) X-Google-Smtp-Source: AA6agR5h3yp17+Z6uIqnD4CDyiK/0fvA4KIWANR5fqXdD3pAwpdBP8OM5ig40HJl82JOVkXozNYb X-Received: by 2002:a17:902:6bc2:b0:16d:d2c2:7ff with SMTP id m2-20020a1709026bc200b0016dd2c207ffmr7452578plt.87.1659717061459; Fri, 05 Aug 2022 09:31:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659717061; cv=none; d=google.com; s=arc-20160816; b=Q1v3pTryQwtc1+CRNGHKwbS/VpMzxoUHtmlITatX5Rf1YkZHKdrBApaeq1uS1PUM3B cuQn6hRHdlEDCSevABERl+Q1AWSrOsRDQ2iUhSmsRhqsC0e5jinqkYyp7RsxqSLjsUKv lXI92+oPllKy1TYRkaGM4odQMlgwzmh7Q2esrAAIcjUgxpkOj3J7Y/sBHbdpMV7OSpUS VVS/jFJ7Hd30fIWMlSlHgjMha6BnNJL5v6IoYtBvUdTmnsR4Ool/5RvudvKTE779hju/ EhHyV1n0u4u0PpnXkACshSwi7jP1Z2kkyiH61ESS7pgYuXClC4K0EhkIAHJ4q36YyG37 S3lw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Bx9G8JNLiLJhDs2y+OulTQ6Arh93SHt8PJNhnkzS76A=; b=zI5n35nkEBs84bXVh+OP2iQpexBykR9NSHQPnOb4r9amT/cvA2t5ItC7dOyrc5Fci/ mb465EgcD9gX4lWcytulS7daTBvK6CYqvnrGNJXZafbJMtWIhPA6t/knnyQatvnN2NF1 R6z1g2Gxkmx2H+yjkp9ES8pz1INRZBzmf5I/pWJ6bvX3yt/MOrWCYiLQNFYbmlfBm0rS OD77qyEu8H1Be+E+GnYlxFHhFbJLufcB0nkr7xYvLW1pPOGHr5CR4S7OTqFKaynt9sh3 Z++Ooa3741lyAX5zhw9jp+QC14UyBKNWrh7vb9jo2Pb5SKJzgMNvW4TfrVkH2wGR/Ulm SXeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@conchuod.ie header.s=google header.b=G8MjgRH1; 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 z10-20020a056a00240a00b005108171fe28si4625675pfh.162.2022.08.05.09.30.46; Fri, 05 Aug 2022 09:31:01 -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=G8MjgRH1; 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 S238593AbiHEQ3X (ORCPT + 99 others); Fri, 5 Aug 2022 12:29:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241115AbiHEQ3J (ORCPT ); Fri, 5 Aug 2022 12:29:09 -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 5AFD91704F for ; Fri, 5 Aug 2022 09:29:08 -0700 (PDT) Received: by mail-wr1-x435.google.com with SMTP id l22so3808115wrz.7 for ; Fri, 05 Aug 2022 09:29:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=conchuod.ie; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=Bx9G8JNLiLJhDs2y+OulTQ6Arh93SHt8PJNhnkzS76A=; b=G8MjgRH1Dn5QHvCiGLUoHF1aRHWwuzqsY8+wvXJca/a+ZTHD0d/fJq9ByzAG71C4Gm brpuYzE4q5EjV6KvPCrpP4q8RpKDe6BQP38FTgiaz7FvOaWB6HnBXC7Y+QemmGTQ6XFG Lql/qMKUyGD9o89w4PxplbuWHyocXiBfg11Ydjl3fzyMGp0iFa5haHQaEJ6LYLEGv/VD VoFzWhQ3mh9Itj2HrYNPxF09k6/cIDE9Bhv/zErgH0H7Z96OQE0yeeQlrN1EThLHsKpH JEYKHdu+rxrhXp70NsNm7i69uxBxb+6KjfurAgrsGgo0faWi1e/J/E9qFugnQXv6KItI NW8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=Bx9G8JNLiLJhDs2y+OulTQ6Arh93SHt8PJNhnkzS76A=; b=enH77B53FJJeWvyv50Atapmq7Cn5K5Q5YV447atdYzaeXBiYYmINUA0AnSXXZnKLfS UxGnD7SU2VNBDatB4Wy+VT8jpUVooAMQ35BQSxoyM6c+MBAMFsIQTmnkQMwkC5/cz1qT OuwhjrF02dICB6BMReYvpo46oiAdhQo+mzYNMzYyVDJQKmHZVf6pOal5UVUu7FrlKHeT vw1E981eW2canVT5RMGBaLdJ6beyS1vjJBJT6D2WqggMUK1utbVx15km+5oE3lmFANA0 fT58UThqyNW9ho0yLqkOuXidFFoGIRqSONCJSRisCmGKBD/MRMeTIEe4Uv1UYKOCPi2b L7zg== X-Gm-Message-State: ACgBeo1Ju3iERhUK8aG8gElaS/qk6yHm1eEldeFUvj/OXpoMDcVm5zRf C770/CG98uYBcoZIR07vKP3d1w== X-Received: by 2002:adf:fbc6:0:b0:21d:3fc3:99e with SMTP id d6-20020adffbc6000000b0021d3fc3099emr4737953wrs.550.1659716946942; Fri, 05 Aug 2022 09:29:06 -0700 (PDT) Received: from henark71.. ([93.107.66.220]) by smtp.gmail.com with ESMTPSA id b10-20020a056000054a00b00220633d96f2sm5210086wrf.72.2022.08.05.09.29.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Aug 2022 09:29:06 -0700 (PDT) From: Conor Dooley To: Thomas Gleixner , Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Palmer Dabbelt , Paul Walmsley , Albert Ou Cc: Daniel Lezcano , Anup Patel , Conor Dooley , Guo Ren , Sagar Kadam , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, qemu-riscv@nongnu.org, Rob Herring Subject: [PATCH 3/3] dt-bindings: riscv: add new riscv,isa strings for emulators Date: Fri, 5 Aug 2022 17:28:45 +0100 Message-Id: <20220805162844.1554247-4-mail@conchuod.ie> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220805162844.1554247-1-mail@conchuod.ie> References: <20220805162844.1554247-1-mail@conchuod.ie> 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 The QEMU virt and spike machines currently export a riscv,isa string of "rv64imafdcsuh", but this obviously has illegal extensions in it. The presense of "su" is a QEMU bug, so add an entry for the valid portion of the isa string. Reported-by: Rob Herring Link: https://lore.kernel.org/linux-riscv/20220803170552.GA2250266-robh@kernel.org/ Signed-off-by: Conor Dooley --- Although the commit message says "a" string, I have added more than one isa string. My patched version of QEMU emits the full string with the multi letter extensions and I am not sure what the policy is for including them in the binding. Obviously I am more than willing to change the patch text if needed. --- Documentation/devicetree/bindings/riscv/cpus.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/riscv/cpus.yaml b/Documentation/devicetree/bindings/riscv/cpus.yaml index d632ac76532e..59b942c5b9aa 100644 --- a/Documentation/devicetree/bindings/riscv/cpus.yaml +++ b/Documentation/devicetree/bindings/riscv/cpus.yaml @@ -77,6 +77,8 @@ properties: enum: - rv64imac - rv64imafdc + - rv64imafdch + - rv64imafdch_zicsr_zifencei_zba_zbb_zbc_zbs # RISC-V requires 'timebase-frequency' in /cpus, so disallow it here timebase-frequency: false -- 2.37.1