Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2824589rdb; Mon, 12 Feb 2024 19:38:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IGtARJkmskSQHmIBjnXpmHpORlMwkGt1VbPf0FxEC1gUu6PwLIglO++XHkNVhpjkgla8Tzu X-Received: by 2002:a05:6214:509d:b0:68c:b9c9:5adb with SMTP id kk29-20020a056214509d00b0068cb9c95adbmr12116746qvb.41.1707795491272; Mon, 12 Feb 2024 19:38:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707795491; cv=pass; d=google.com; s=arc-20160816; b=bWbYhE8NELO6ORZ6TbpEmm+Q27BrWalf+zI6+SO3fUC9R/84v20LOoOr55M/gyFSdd 5mLnqRSrw7am1JijXKKuGJ9X8Wzb4YsTl+n5qN9+QJB1WkrMVOn+BRfkT2xj0B3q1qJQ ydULFWsYrEbD/9bvXgortPiSRBIV/Eo7pv5nYwo2PKcbswXIHfBnd0iJKuQFqMCs9159 SBJNKScRoHFuK7tGWBPGPtDU598ai2AXgxjurquTZCIxI+MPUsNi2Y1zId72DKUGGCtE tjvZKdlKuOk0nCccQVjYu74OsYqbEdclUCqHv7khbPPZrEl3GJLLEDVEVIln7jmAVoDt lr2A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Jim7Yvb6VmY6JIh3NrVmUpVFosXkDK31kcFuWFcbExg=; fh=JZV6F4KloJt9QOuPeQBiK2FYUnehRulxy/4ARHtjPj8=; b=0ljK5TTSUIDvBAXhNkD+zV9k/BrwV2hOXo/Ee8CsJl3gY+O4chDEHm1mUVTGS5mm6a v2J39I6jzMHr5s8Gr1HKHPslszxodaB0UGcJFgsemP5tW2OlZhtjVHpFhhCNJjTkDhzj RMB7gjHxUkzzqBFtw8jpvs35SskWVEwuBVmk0XZjuo4QzgJlZfLtM0AX0RVTd1yuTWkX iLXU6tTKLMks/DO21wbX1QqG2aMDe0uOHTIqjmFjS3Bq7mcsxrdc5nz4Z20nU2nFB/D3 hyBiLxCOSEu6x1721+RVHqg3U8Y2g4/6dpZw/Q5hSFFZo44qltrrbr8zTV3QaImH/Fdd aMFA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=lab23ese; arc=pass (i=1 spf=pass spfdomain=sifive.com dkim=pass dkdomain=sifive.com dmarc=pass fromdomain=sifive.com); spf=pass (google.com: domain of linux-kernel+bounces-62912-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62912-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=sifive.com X-Forwarded-Encrypted: i=2; AJvYcCX4KAOUSdZVk1zEsXAKx9w8zOJGD56RwXiJd28n2OigQF4LdPeaoKum8ICC0PSfG/nrPH+JgdoqPF8AIWE7wnn+vvt7Jy+iAaGFKqqP+A== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id c7-20020a056214224700b0068cc75d9535si1968873qvc.545.2024.02.12.19.38.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 19:38:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-62912-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=lab23ese; arc=pass (i=1 spf=pass spfdomain=sifive.com dkim=pass dkdomain=sifive.com dmarc=pass fromdomain=sifive.com); spf=pass (google.com: domain of linux-kernel+bounces-62912-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62912-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=sifive.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 0CB741C21FBB for ; Tue, 13 Feb 2024 03:38:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 35BD2BE4E; Tue, 13 Feb 2024 03:37:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sifive.com header.i=@sifive.com header.b="lab23ese" Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DA1B79479 for ; Tue, 13 Feb 2024 03:37:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707795470; cv=none; b=GYoqNNpCWhv9+RvGzasqVEJ19StYBD+r1FjgKYU3ToAABiXlaePe7bYJTmcfXWdr3mhh+rkl75XOc66HtHKBtMdXxkXcrpxED/Uz3jBzbE4KqP9OYWAqcCiaTE6gWtVPfWYgYhkfHF57UDb3FteROVbwrwdzlVXm6aN9T1N/aw4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707795470; c=relaxed/simple; bh=8pIhNYnxLRa/X2tsQjOh7P2wqEz3w33s57I1KemeK24=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=OzHCynYHYgdr1EfdePCOKtGHFMdRHFUOLFHLC+bWVc33ahz/1Cpxh8eZvL3tOD8s0D5maz35ug0KamubCrlNK5lIQHKR4kS4hPeF6AAPlPxr9amAdY9S6VCiItnlfumRef/sHi3Efjq03q8LPZVXn0l3tj2CrZhxQuQiFE9izbU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=sifive.com; spf=pass smtp.mailfrom=sifive.com; dkim=pass (2048-bit key) header.d=sifive.com header.i=@sifive.com header.b=lab23ese; arc=none smtp.client-ip=209.85.210.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=sifive.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sifive.com Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-6e0ac91e1e9so1435785b3a.3 for ; Mon, 12 Feb 2024 19:37:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; t=1707795468; x=1708400268; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Jim7Yvb6VmY6JIh3NrVmUpVFosXkDK31kcFuWFcbExg=; b=lab23esePh3NDeXbEI7/zXxRWu9K4hd3w4hojzCmQKAp4sN4dUe8Tzdl+oXym0ZwQz 4v1kmmOXJXnABk/XZunIETPquj4uW4PaQwghKoQhtzAD3LBPD51Vd1esed4j3PARXtDv IIGeVDMOcAZz94s+6h7pnltOS6D+wXIsZh3o2M6i23mHykDkkakfzHJO5clp0+ZQ1+0W n5dzVy+ExteTrHHgXbTM4larYUecoBIbSBJDvHRiQu4bZehVD2qJdb30ovN88pbNeHXr TEHfmYvleoAYhwrJq4LzPpaMHNRb3iDdVVegINQ5xHNn6uzAAVgJs7rRmNXcoqFzlyEk z58Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707795468; x=1708400268; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Jim7Yvb6VmY6JIh3NrVmUpVFosXkDK31kcFuWFcbExg=; b=uY1yOtPWVuXwcTRtIpFH60Z55yQeDQ6grbcVBeOvzY39e3HLXVO78gkw6kCWnLVM+d NKxlgWnBpxWz5TC9nWqySYdgjtXEhdbLwn8eYtM+6Ej4NSZGw2Rbb9+dEbEVbD7vJac3 RLYHWib/57tLxc3QVFEzGxQVHJHS1TjrPhX/AQM6otz0Gl82kLvRoO9FzjwltJdOq7U2 hILoEqitandbd1xMaaNYyieQYPc5QQkrmTQ9xVIyP76FCjlKWZqCyP/3ahqMAgndfeEN CiakWQtI02ZcybBYeMDtXj3Q2ZJTPQ7g2dcWjOxzTLC7SLAjETGLttwqXG+tOo+0SbzV fRXA== X-Gm-Message-State: AOJu0YxUkgoFQbNbiTJlOPZbx5scVmJZC+gQhaY158r5dcewg6ki+5fI 844yJFwo1IRjkdwAjPNQ0ytZge+nfQXAc0VIaiDBhJ76/fuwnsHmqh5Y416pUcc= X-Received: by 2002:aa7:8685:0:b0:6e0:5317:6772 with SMTP id d5-20020aa78685000000b006e053176772mr6713708pfo.1.1707795468162; Mon, 12 Feb 2024 19:37:48 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUtDxXelkbmm+CM8OLoo8WM4giaZcxrKGw5FC1up94u0V6jYFdJloVUPvWRQ0Omxq/n9YRlGpQXAYGpmEIR7+klWd8162GgnV8tbjfr9NG9RNhsxttq1+vCK9foEoC0wKl6LWJ+VJ9OhaR6eZRwNvpqxF3p8xEUSYrb8ksnc2H07sCCYQfJvwH5l0u3YCp2Z9mi1xR2N69GDslZW7YF Received: from sw06.internal.sifive.com ([4.53.31.132]) by smtp.gmail.com with ESMTPSA id v11-20020a056a00148b00b006e0334e3dd9sm6188633pfu.76.2024.02.12.19.37.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 19:37:47 -0800 (PST) From: Samuel Holland To: Palmer Dabbelt Cc: Andrew Jones , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Stefan O'Rear , Samuel Holland Subject: [PATCH -fixes v2 2/4] dt-bindings: riscv: Add ratified privileged ISA versions Date: Mon, 12 Feb 2024 19:37:33 -0800 Message-ID: <20240213033744.4069020-3-samuel.holland@sifive.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240213033744.4069020-1-samuel.holland@sifive.com> References: <20240213033744.4069020-1-samuel.holland@sifive.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 + 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