Re: [PATCH v5 7/7] dt-bindings: riscv: add Sxctr ISA extension description
From: Anup Patel
Date: Thu Nov 19 2026 - 10:38:24 EST
On Wed, Nov 18, 2026 at 3:21 PM Vikram Singh
<vikram.singh3@xxxxxxxxxxxxxxxx> wrote:
>
> Add the S[m|s]ctr ISA extension description.
>
> Co-developed-by: Rajnesh Kanwal <rajnesh.kanwal49@xxxxxxxxx>
> Signed-off-by: Rajnesh Kanwal <rajnesh.kanwal49@xxxxxxxxx>
> Signed-off-by: Vikram Singh <vikram.singh3@xxxxxxxxxxxxxxxx>
> Link: https://lore.kernel.org/r/20261106173942.3175069-8-vikram.singh3@xxxxxxxxxxxxxxxx
> Signed-off-by: Anup Patel <anup@xxxxxxxxxxxxxx>
As mentioned in PATCH1, drop the "Link:" and the subsequent
"Signed-off-by:" lines.
> ---
> .../devicetree/bindings/riscv/extensions.yaml | 29 +++++++++++++++++++
> 1 file changed, 29 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/riscv/extensions.yaml b/Documentation/devicetree/bindings/riscv/extensions.yaml
> index 79491ef8f86a..dde2f28cfda5 100644
> --- a/Documentation/devicetree/bindings/riscv/extensions.yaml
> +++ b/Documentation/devicetree/bindings/riscv/extensions.yaml
> @@ -202,6 +202,13 @@ properties:
> mechanism in M-mode as ratified in the 20240326 version of the
> privileged ISA specification.
>
> + - const: smctr
> + description: |
> + The standard Smctr supervisor-level extension for the machine mode
> + to enable recording limited branch history in a register-accessible
> + internal core storage as ratified at commit 9c87013 ("Merge pull
> + request #44 from riscv/issue-42-fix") of riscv-control-transfer-records.
> +
> - const: smmpm
> description: |
> The standard Smmpm extension for M-mode pointer masking as
> @@ -263,6 +270,13 @@ properties:
> mechanism in S-mode as ratified in the 20240326 version of the
> privileged ISA specification.
>
> + - const: ssctr
> + description: |
> + The standard Ssctr supervisor-level extension for recording limited
> + branch history in a register-accessible internal core storage as
> + ratified at commit 9c87013 ("Merge pull request #44 from
> + riscv/issue-42-fix") of riscv-control-transfer-records.
> +
> - const: ssnpm
> description: |
> The standard Ssnpm extension for next-mode pointer masking as
> @@ -1189,6 +1203,21 @@ properties:
> - contains:
> const: zicntr
>
> + # Smctr depends on Sscsrind
> + - if:
> + contains:
> + const: smctr
> + then:
> + contains:
> + const: sscsrind
> + # Ssctr depends on Sscsrind
> + - if:
> + contains:
> + const: ssctr
> + then:
> + contains:
> + const: sscsrind
> +
> allOf:
> # Zcf extension does not exist on rv64
> - if:
> --
> 2.43.0
>
Otherwise, LGTM.
Reviewed-by: Anup Patel <anup@xxxxxxxxxxxxxx>
Regards,
Anup