Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp72855rdh; Tue, 13 Feb 2024 09:43:08 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVQQ2y0i+KbvUqyORbXUB/sDdrDYQuBNPS9MsxCBcgWVaD4Y4Wlxw6AtGizEoer5RM62gbSakgjevrhLn9RP5RPwONG3I6g6YLvfh4dgg== X-Google-Smtp-Source: AGHT+IFhzBxQetq3uy8cjVPb0KmkIm2PRRb2riPTeLbCokcjwbGolWVsul0bRkM/G47LMPu53AMf X-Received: by 2002:a05:622a:649:b0:42c:6416:b4f4 with SMTP id a9-20020a05622a064900b0042c6416b4f4mr73676qtb.27.1707846187984; Tue, 13 Feb 2024 09:43:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707846187; cv=pass; d=google.com; s=arc-20160816; b=knmGfQS4yOkgmTyd/UrzZjink6jojDSQ3GhEA2GAQIQgvvaVyesbBELkswTUuYQxm7 l3e8HIIEozJZQGfQ3rj1XpIRmXH4PZDWRzBetMVtYvcMDO2MifJ7yXLbzeYedpZ0uGFl l1hpsxPnsRzsvSQoUh69Kq4X4NMeWWO5xslqyFiRW74r82jHhglRvwcWb8EyrcojPaky DzSOCqw8Q9g0VijLU81GRNYB2F7bflGkYGcyP480Bpk9bsbpU618vzfJ0K35U4pEo3h9 IigLogaUfEuiZILVcNEBT4gv/UloNEj7T6WwUmYKq8J+LdhvTq3jGHl06o3EoNPLSDEU dBFg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:cc:to:from:date:references:in-reply-to:message-id :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:feedback-id:dkim-signature:dkim-signature; bh=85jyEdoLBZfXHvD7lJWU0c6Qkt7S0BbhM44jabeka5g=; fh=B6pnlhTpY+qWBrugD37mGXsIu5mkMbyf5bWLVhPgIhE=; b=f3uGfRRWdKKpgQ1EQZvXHVY+Z3XXbcgIxQYX1xhLjgEsnbDYQZoU6Frog7LyULoaES dq9Krrq3JzFeJ9n9XsZzx/tL2sulbSDUdnbfHubwMzUscVNxHCLyjcbsEj0sI2Aqfk27 P7QBbvownaObaU8YdQVoqfYT44WggEFgjgO5J+/pll/Tx8YsCar69dd2wiVK9oTZBquU sgjXYUMRtVp4Dx7tKfVZsPmDduav5Ni2JMcWRSWS3sL2eJgVqtZBR9TH+J5U1Q3mCVAq IKdah6SB4+eetfjqMoaCwtcWH/7u3WYOkVMslk/2NGaO8MZHIEjijVL/GOvVK0OZMyIu xmEA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fastmail.com header.s=fm3 header.b=1DT8Sawh; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=f5dtiXPx; arc=pass (i=1 spf=pass spfdomain=fastmail.com dkim=pass dkdomain=fastmail.com dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=fastmail.com); spf=pass (google.com: domain of linux-kernel+bounces-64000-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64000-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fastmail.com X-Forwarded-Encrypted: i=2; AJvYcCXtu6+VbOlFVFH7U/kx2fOhY2lOlLEDudRZ+ANZhyUiDtKEwnUSqsWeuc/pzTdbLcV0AqzxrI5RQ8WY5fx1n0qPXOvHJOdYY+tVtKSkdQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id h15-20020a37de0f000000b007857d7090b8si8499502qkj.379.2024.02.13.09.43.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 09:43:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-64000-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@fastmail.com header.s=fm3 header.b=1DT8Sawh; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=f5dtiXPx; arc=pass (i=1 spf=pass spfdomain=fastmail.com dkim=pass dkdomain=fastmail.com dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=fastmail.com); spf=pass (google.com: domain of linux-kernel+bounces-64000-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64000-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fastmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A69451C263CB for ; Tue, 13 Feb 2024 17:43:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1159F5FF0E; Tue, 13 Feb 2024 17:43:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fastmail.com header.i=@fastmail.com header.b="1DT8Sawh"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="f5dtiXPx" Received: from fout6-smtp.messagingengine.com (fout6-smtp.messagingengine.com [103.168.172.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8685D5FEE9 for ; Tue, 13 Feb 2024 17:42:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.149 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707846181; cv=none; b=ppkVOPm/cc/x/6nq7eFGcsveOk/lClDT/+suFsJNHwqZX2dx+OSRlYMZh62WzHybu9Wf8ABq5QVx6B9UpU3FXK8N6VSry5yWwrEz/et/T7nKwnEOsHtTjUq12efwPoh5WmTVJ5uUnC9UgZVzAGjgPLyMLUIn6ffNfhpBZKTe75c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707846181; c=relaxed/simple; bh=R6UuKRBqDSOyzLFi4W3/cHdBrCqcsC6PslbCDx2B1rg=; h=MIME-Version:Message-Id:In-Reply-To:References:Date:From:To:Cc: Subject:Content-Type; b=FKvIWRIt401Z4fczqLQ4ypfdIKHa2DeaE0y/8icj9siyLtI+1vOcZuA19J4RiD+DJAKWq7FYyjLEAYOLTdBvBLAntWYi2fS6VLGz/3kSE+U8e2NH5o/qZdeHXxHwufo+cZjsLSVMagKr/arC9XuCY1PbgFxa1sw/w075Yx8x7mw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fastmail.com; spf=pass smtp.mailfrom=fastmail.com; dkim=pass (2048-bit key) header.d=fastmail.com header.i=@fastmail.com header.b=1DT8Sawh; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=f5dtiXPx; arc=none smtp.client-ip=103.168.172.149 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fastmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fastmail.com Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailfout.nyi.internal (Postfix) with ESMTP id 51E6113800D0; Tue, 13 Feb 2024 12:42:58 -0500 (EST) Received: from imap50 ([10.202.2.100]) by compute3.internal (MEProxy); Tue, 13 Feb 2024 12:42:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1707846178; x=1707932578; bh=85jyEdoLBZ fXHvD7lJWU0c6Qkt7S0BbhM44jabeka5g=; b=1DT8SawhP734exUuEaxNd4Iztw l7tRdcYL7oei/3tnIKapYPZeB3PgXr2h3Q2ogAEZqLeUwaBrhVA1cf969+DLzHLW XMFloDe5c5Q7xRHOKVDCVKLrOytoNQ7pSfkyl7zcmimiUVL/QSml5XgOF483BPcZ FHjMl3EcmQTMvbNOcQ6pa4soBVhUD+8FUqpnZwu1Rs+O+MWtxE08zrL9aQOMvc0S hBFZSI40SXPJBZUz/sITA6awNXw6tczr95RVXzL/2l+XSq2sYsXdPkGnJ0wrKuSR cZ5oeVNS9cU3dJKWLQnGXCwvKAm8ozVlGPaSzjmkM6dtT2+z2F75wWn0p0Tg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1707846178; x=1707932578; bh=85jyEdoLBZfXHvD7lJWU0c6Qkt7S 0BbhM44jabeka5g=; b=f5dtiXPx8oJUvW3VDum6lAzKvVcspaykwVyntLxzRzoM 9/xdPSWKYbvWsXeI6pWPmCPze/1fF90NwxYby5u8Y9fqcUliQTqB/aLpf6SN4jxL oehyx6Ly+pdpZCIALTHejc2h+JevxA++ucei2g72nReKLmntQbedmlDMHvcmMqKz b8Cw81HRw3Giya3m4M/jvpeRvhOI+im/5bvzCX12N9+lC4EjCLk0jslYRwycfxIB VDeHtV4gt8UDnA9GwcvyPjHjqztbx4SEZc+BQ6R7GKS9nwywLSxA9UNhIguYejFd blUjL/OiEqTCvIBlL2JM/UUVkl5YVOCefjykMgOz3g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudehgddutdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedfufht vghfrghnucfqkdftvggrrhdfuceoshhorhgvrghrsehfrghsthhmrghilhdrtghomheqne cuggftrfgrthhtvghrnhepjeeuheegtdeuteeghfehjeejiefghfeifeejheduvdeugedt hfehvefggefgkedtnecuffhomhgrihhnpehinhhfrhgruggvrggurdhorhhgnecuvehluh hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepshhorhgvrghrsehf rghsthhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: i84414492:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 12D551700093; Tue, 13 Feb 2024 12:42:58 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-144-ge5821d614e-fm-20240125.002-ge5821d61 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <31024f04-e3e0-4bf9-beca-ebcd4f6fe51b@app.fastmail.com> In-Reply-To: <20240213-limping-ether-adbdc205ebc6@spud> References: <20240213033744.4069020-1-samuel.holland@sifive.com> <20240213033744.4069020-3-samuel.holland@sifive.com> <20240213-limping-ether-adbdc205ebc6@spud> Date: Tue, 13 Feb 2024 12:42:37 -0500 From: "Stefan O'Rear" To: "Conor Dooley" , "Samuel Holland" Cc: "Palmer Dabbelt" , "Andrew Jones" , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -fixes v2 2/4] dt-bindings: riscv: Add ratified privileged ISA versions Content-Type: text/plain On Tue, Feb 13, 2024, at 12:03 PM, Conor Dooley wrote: > On Mon, Feb 12, 2024 at 07:37:33PM -0800, Samuel Holland wrote: >> The baseline for the RISC-V privileged ISA is version 1.10. Using >> features from newer versions of the privileged ISA requires the >> supported version to be reported by platform firmware, either in the ISA >> string (where the binding already accepts version numbers) or in the >> riscv,isa-extensions property. So far two newer versions are ratified. >> >> Signed-off-by: Samuel Holland >> --- >> >> Changes in v2: >> - New patch for v2 >> >> .../devicetree/bindings/riscv/extensions.yaml | 20 +++++++++++++++++++ >> 1 file changed, 20 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/riscv/extensions.yaml b/Documentation/devicetree/bindings/riscv/extensions.yaml >> index 63d81dc895e5..7faf22df01af 100644 >> --- a/Documentation/devicetree/bindings/riscv/extensions.yaml >> +++ b/Documentation/devicetree/bindings/riscv/extensions.yaml >> @@ -121,6 +121,16 @@ properties: >> version of the privileged ISA specification. >> >> # multi-letter extensions, sorted alphanumerically > >> + - const: sm1p11 > > Why are we beholden to this "1p11" format of RVI's? We have free choice > of characters here, what's stopping us using "machine-v1.11", for > example? > > Thanks, > Conor. I'd prefer to use names that are at least somewhat recognizable, e.g. in the profiles spec, rather than making up something from whole cloth. -s > >> + description: >> + The standard Machine ISA v1.11, as ratified in the 20190608 >> + version of the privileged ISA specification. >> + >> + - const: sm1p12 >> + description: >> + The standard Machine ISA v1.12, as ratified in the 20211203 >> + version of the privileged ISA specification. >> + >> - const: smaia >> description: | >> The standard Smaia supervisor-level extension for the advanced >> @@ -134,6 +144,16 @@ properties: >> added by other RISC-V extensions in H/S/VS/U/VU modes and as >> ratified at commit a28bfae (Ratified (#7)) of riscv-state-enable. >> >> + - const: ss1p11 >> + description: >> + The standard Supervisor ISA v1.11, as ratified in the 20190608 >> + version of the privileged ISA specification. >> + >> + - const: ss1p12 >> + description: >> + The standard Supervisor ISA v1.12, as ratified in the 20211203 >> + version of the privileged ISA specification. >> + >> - const: ssaia >> description: | >> The standard Ssaia supervisor-level extension for the advanced >> -- >> 2.43.0 >> >> >> _______________________________________________ >> linux-riscv mailing list >> linux-riscv@lists.infradead.org >> http://lists.infradead.org/mailman/listinfo/linux-riscv > > Attachments: > * signature.asc