From nobody Sun Feb 8 07:08:08 2026 Received: from mail-pj1-f44.google.com (mail-pj1-f44.google.com [209.85.216.44]) (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 573F32E2EEE for ; Mon, 22 Dec 2025 13:07:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766408871; cv=none; b=I0k7z4NFdKf2N0PFYjyG1XXRVoGSmlXwPHKy9j2t9MsmPHQyTWuNicLoUAjE7pCeLT5bRji+uNcN6JkeQvexUeAg2l7tqy0c8SbMeRJg2I86GRzprXzpYxzLxNRo4k6rziDwA9aCW88BDAZ7gnYXDsXHoKaxi1nbKnzIWR84mhc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766408871; c=relaxed/simple; bh=3kZeCfvxx+z0noG5RA6qsXjYWD8OFyn8YsNIengvbaE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=DJ4mp/VGAEtj1Ki0lwZJZSClwzgQwo0Iwvz9fHmtV4Qs7GLA54sJBoJhCEgqFl4O5NnIEABcyzZmIH+sQbVMSL2dBJrkovPXdi7PzOkKzcTGh4GjBag7RHZbPEfV2dio9Hn+eX9WAjq+QJJccmo1OdielfKbzRxqb4ZND3sL2Ak= 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.44 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-f44.google.com with SMTP id 98e67ed59e1d1-34c2f335681so3043968a91.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=iM+9pAn8M+ve6x0qgbJe2adLL6PXmoc1K+UtDDhjLLnhR9HkBeBdT/MtnmqBTXInYr r/86Suja+jm8mtnND6C5GbYhbR3Qum1vwSL7DLbjwZkw8DmOhVAitZJk6Me3kqoG2TDi FQzWtv0mkLAVXS19y9GDMwvgCoJmjXgmOUaWJPk0ENgCgoD1QVeWQHhYD6RyT1wgZ4V9 +VKHWoJu+s+5hfSSVRqf2ayJDSXYg7GYN/edc6CnZws0DFBSjtJQKWW4pzomW2CRhdvc nOdsVOetH4CraPbwAzb/7QFL0PihB5uJ/nAl9hrL1hXG2xnZh+A3SE2wgUx58RD9QxZf V+bQ== X-Forwarded-Encrypted: i=1; AJvYcCVISwTdhYmiu7cs1I5k9tRowT/nj3kAabuEWolHyuBcSxhswLAzhm7lIV2DVF2/8Yfb5l/RS/uyaJasHWI=@vger.kernel.org X-Gm-Message-State: AOJu0Yy4PPD1+IhTpYc+IenRVCN+bDilOPXBSjwssPDizf5PFpWSETAL poQNalVe/uzXQ/joEzjyqSto5Fogk0bwMQ4qIb+xUkOwRbl9TighvzJ4Hv7klvRmnrA= X-Gm-Gg: AY/fxX5er3fWHkIHt70UzI6gQXijGbJ8AxRAYfAg44MN0Sv/as0xfVBp8ChpbCNhIjL zZm3Yw6e7Fn7dVwW+lnokcJc83vu5I6AQ8QAqfZ1/oMf7iOJHbJyfxMu3+e8tHPzjoWYM+S0qhd ZufS+6/NzQe44dyoExspwGWfkUNZvbUI+uyl877w1O4e/P7fIwSciLBlecEP4vm557gikuVWYkR 1QDR4p7Yzox+3JMZw6l6CgeJ00qgws0/gLVZz4VhV4tZ0F/+RmRlNAFO8pmpVp7OI3b6XOWGkJQ CQEkoK0QehszP9Duv5spItSkLumborFudK34NgJDCFf8aggCGg+e6QSncWdw+yvzcJ161sMrDHD Hi/j/HYYesxXvyUb6+ETA8gRpb0eKuAWiozeUVGwZRwGEr55IktUU6NBOaafCEW+3pSlKZj4ZrW PtBloTLlFDhzoNJTueTmSXr/MoSYBMnfI= 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: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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/Docu= mentation/devicetree/bindings/riscv/extensions.yaml index 385e1deb23996d294e7662693f1257f910a6e129..a6b9d7e3edf86ecfb117ba72e29= 5ef097bdc9831 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. =20 + - const: za64rs + description: + The standard Za64rs extension for reservation set size of at m= ost + 64 bytes, as ratified in RISC-V Profiles Version 1.0, with com= mit + 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. =20 + - 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 a= nd + coherence) must support misaligned loads and stores, as ratifi= ed + in RISC-V Profiles Version 1.0, with commit b1d806605f87 ("Upd= ated + 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: --=20 2.43.0