From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f43.google.com (mail-pj1-f43.google.com [209.85.216.43]) (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 1EADE2E2DDD for ; Mon, 22 Dec 2025 13:07:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766408872; cv=none; b=WQt6n5trSEOGDHKwjhLLMbGEnJ2hvR4z3WvYb4VDRqCoT2otNhSvhGE5sJgR51Sj6v2wgCJQKhsqFAAH8i3Yd6Wbhu5HbcNs8jj65j2VLRhonpAnYg8zh7VqidXT7DrhB5PskcwGTL+vBl6dgzvkC6xF5BNwykRmZBmG4zPc+HE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766408872; c=relaxed/simple; bh=3kZeCfvxx+z0noG5RA6qsXjYWD8OFyn8YsNIengvbaE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=RiPA40kqwq+7kNmSCamuGoRpFU2UYtetSGX9iVGpbbKympd+0YLaML1P4otBClclYuASp1TAhYAQmOF1Z8yLCGqIw4t8hX9NByXEt/kjHdCYhYbwTSc/ubV/N0RPpZYnNDymrNF6dYHBsS1hmYnGqLxz8x1U0AcYrj2hQpRYiaA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=riscstar.com; spf=pass smtp.mailfrom=riscstar.com; dkim=pass (2048-bit key) header.d=riscstar-com.20230601.gappssmtp.com header.i=@riscstar-com.20230601.gappssmtp.com header.b=aL2iELim; arc=none smtp.client-ip=209.85.216.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=riscstar.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=riscstar.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=riscstar-com.20230601.gappssmtp.com header.i=@riscstar-com.20230601.gappssmtp.com header.b="aL2iELim" Received: by mail-pj1-f43.google.com with SMTP id 98e67ed59e1d1-34c2f335681so3043967a91.1 for ; Mon, 22 Dec 2025 05:07:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=riscstar-com.20230601.gappssmtp.com; s=20230601; t=1766408869; x=1767013669; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=6wWeVzMiq0I3GTkEz87TKkT2Lapp7vD4pzF07D1070c=; b=aL2iELimh1UzGnrYIN8ehOlwo/Z+AELrcV+qsbi9eDtBJ8bDyLwITzAH6/oez+iTKs 9leSRZAEtcFaFwEbLoXZfZ6fgZMdhyCAQTiP0sm0b9JthxbZVfgSLfE6sNxcXoD/2T1n gaOs4UU3L+CXHN9WcvrloMD2IIJJjXDoupZvABBA4bCn/G+PGj8zmwJd7Qkg/LxRbn0n uqWXGGMkp9llpgWDIm4y9qqa/VPA7qmQhyLV9dN+yibrUtzGBAkdcR0oGj7qQaWi6bQj 8xhBmrqYxOLXqgmST4bibEe/jjwXp0+W3YwIajIEZstiR0L+tbXAW5UPXGu8JhaoArlp Pqlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766408869; x=1767013669; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=6wWeVzMiq0I3GTkEz87TKkT2Lapp7vD4pzF07D1070c=; b=bB2dyKFQvMCsFwfJPdUgGvq6+0schX1DYfCBkhhNkkDnI38zds/EgoYN0GU6S2wydF ES5t5t1bSO348Eg6HBMORCTXCWtuT0hzm7Ytt9vJjcu3AJ1Yw9Q+9KPgJAxNJDzuqL6s k/E3PVcpLAyJHcwRHrbrCEkZjXCdUhAKIpxlnzvIKZuanV5hqgxuI6+bJyw20PjO5GIG 9dg+lqgWwN6vrV56j6WtDk30wiAgP7ngeTqzrkd01rPY6kAhoS29QsJ+ipojYHJ6Oiil sU4zrDSq0jSBz3gcbftcUVbPh5Icm+reTwH+22+emLFG+47YfJ0Ht2je1IUqB8V35Sr8 B4JQ== X-Forwarded-Encrypted: i=1; AJvYcCWs2K9oZDzRNBTm7KEec22JNXZGsTu4Fimm99zp1el68GOKdG09DbYvdM83sCIPsYSMqecJhcqidnog@vger.kernel.org X-Gm-Message-State: AOJu0Yw2hiKb34JxslENWyfsyDZNZZfovijn5IsaQLPWiKK7kvHXtrWz +z5CQIOQFznnChAesKdO5mhjgfXCKbBtEtAnTsxKGR5eDpzMz1AE1AUy//mtJXXkdMg= X-Gm-Gg: AY/fxX7fslPTWpp8O7X7qHu+g4Hprd5xaBqk/RRPBpkmclrWI13DMHhPa1bQXNjBIGI sTPTZJWqoWBtij7xBzPm36xSzdQ6YJ0oO0j/C7KRyOJVHWWwI11HIr/WvcxPgnF9kg8jztw95Do Nhak8bB1fWaLWgD8MUUmxnJH47dVmTl6rYGeaNnOqh5oK8/EtwHO+yhDl7hnSORBfCZh5CdkY9c JArt0oqZSFQOMCAaSLuH6/qCpYnJT7X50WXIC6KxUtuXCukIIdZBEuQ7m7z/t0txyfti1vomQdw o0I6ixN9EK4sz+2WTDuidfHAVN8obGdbWNg824y2r332giyhevJJGnbVjWkgAOIGLJJ0UwkI+pN 0p4pHLBMAs9jRAdiZ1OTTA/HQ2JKXkH3F6ETnFWtBy9L4Ykt5KCk4R71p7qB+wz+HLxxBwVmWbn TOoJD9nDjbJN+m71TSXJrK4mTrsOi/3j8= X-Google-Smtp-Source: AGHT+IG3hZvK8C+cMGF+uVk4b+aXVA6BFJTfsNS862Moo2rzS8I7cz4aEtK6kM2lPIpp2ooN+swdlQ== X-Received: by 2002:a17:90b:56d0:b0:34a:8c77:d37b with SMTP id 98e67ed59e1d1-34e92144e4emr9296355a91.16.1766408869428; Mon, 22 Dec 2025 05:07:49 -0800 (PST) Received: from [127.0.1.1] ([2a12:a305:4::402f]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-34e70c932casm12970405a91.0.2025.12.22.05.07.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Dec 2025 05:07:49 -0800 (PST) From: Guodong Xu Date: Mon, 22 Dec 2025 21:04:18 +0800 Subject: [PATCH v2 08/13] dt-bindings: riscv: Add descriptions for Za64rs, Ziccamoa, Ziccif, and Zicclsm Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20251222-k3-basic-dt-v2-8-3af3f3cd0f8a@riscstar.com> References: <20251222-k3-basic-dt-v2-0-3af3f3cd0f8a@riscstar.com> In-Reply-To: <20251222-k3-basic-dt-v2-0-3af3f3cd0f8a@riscstar.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Yixun Lan , Daniel Lezcano , Thomas Gleixner , Samuel Holland , Anup Patel , Greg Kroah-Hartman , Jiri Slaby , Lubomir Rintel , Yangyu Chen Cc: Paul Walmsley , Conor Dooley , Heinrich Schuchardt , Kevin Meng Zhang , Anup Patel , Andrew Jones , devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, spacemit@lists.linux.dev, linux-serial@vger.kernel.org, Guodong Xu X-Mailer: b4 0.14.2 Add descriptions for four extensions: Za64rs, Ziccamoa, Ziccif, and Zicclsm. These extensions are ratified in RISC-V Profiles Version 1.0 (commit b1d806605f87 "Updated to ratified state."). They are introduced as new extension names for existing features and regulate implementation details for RISC-V Profile compliance. According to RISC-V Profiles Version 1.0 and RVA23 Profiles Version 1.0, they are mandatory for the following profiles: - za64rs: Mandatory in RVA22U64, RVA23U64 - ziccamoa: Mandatory in RVA20U64, RVA22U64, RVA23U64 - ziccif: Mandatory in RVA20U64, RVA22U64, RVA23U64 - zicclsm: Mandatory in RVA20U64, RVA22U64, RVA23U64 Since Ziccamoa depends on the 'A' extension, add a schema check to enforce this dependency. Signed-off-by: Guodong Xu --- v2: New patch. --- .../devicetree/bindings/riscv/extensions.yaml | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/Documentation/devicetree/bindings/riscv/extensions.yaml b/Documentation/devicetree/bindings/riscv/extensions.yaml index 385e1deb23996d294e7662693f1257f910a6e129..a6b9d7e3edf86ecfb117ba72e295ef097bdc9831 100644 --- a/Documentation/devicetree/bindings/riscv/extensions.yaml +++ b/Documentation/devicetree/bindings/riscv/extensions.yaml @@ -237,6 +237,12 @@ properties: as ratified at commit 4a69197e5617 ("Update to ratified state") of riscv-svvptc. + - const: za64rs + description: + The standard Za64rs extension for reservation set size of at most + 64 bytes, as ratified in RISC-V Profiles Version 1.0, with commit + b1d806605f87 ("Updated to ratified state.") + - const: zaamo description: | The standard Zaamo extension for atomic memory operations as @@ -378,6 +384,27 @@ properties: in commit 64074bc ("Update version numbers for Zfh/Zfinx") of riscv-isa-manual. + - const: ziccamoa + description: + The standard Ziccamoa extension for main memory (cacheability and + coherence) must support all atomics in A, as ratified in RISC-V + Profiles Version 1.0, with commit b1d806605f87 ("Updated to + ratified state.") + + - const: ziccif + description: + The standard Ziccif extension for main memory (cacheability and + coherence) instruction fetch atomicity, as ratified in RISC-V + Profiles Version 1.0, with commit b1d806605f87 ("Updated to + ratified state.") + + - const: zicclsm + description: + The standard Zicclsm extension for main memory (cacheability and + coherence) must support misaligned loads and stores, as ratified + in RISC-V Profiles Version 1.0, with commit b1d806605f87 ("Updated + to ratified state.") + - const: ziccrse description: The standard Ziccrse extension which provides forward progress @@ -795,6 +822,13 @@ properties: then: contains: const: f + # Ziccamoa depends on A + - if: + contains: + const: ziccamoa + then: + contains: + const: a # Zvfbfmin depends on V or Zve32f - if: contains: -- 2.43.0