From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E1EAB606A31E for ; Wed, 25 Nov 2026 08:41:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=SGR8HpwT; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=fBGhuC3x DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Unsubscribe-Post: List-Owner; bh=yq62kjbFDtxAK3raX9EKcggR3VldyMhTYSizs/nAmv0=; b=SGR8HpwTKgQAD9 f4tzarfJG+gtFOanxiYZ6h4ZSp4mObwiaQjED7xMNmhGkWfyG+3k6kGkMKvCjBugleX+XUtIVTtor ermNsGu/6zrP7O0zpSKJXWYAOqAlm7za8yCpiIZnditf+YrwrJcve2K6MjA5vQrxr+fD8TsnAalKS jzrlGzBkR79B4QDntbnjJIuUMTzjfmfFUU8W2pkjb9wA94AXeyGuUkRqGcWCuEWZoEbthYwPu51E+ oIk/C95ST/LdosWVscG7Q/9Avqj4tm9+KWVYpVjiIipc4TAYRiG4P47C01VhGGq3OalOqGEms1jQs JTchJUiPz5aWE0MCOPFA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xW8Ya-000000097FZ-2nW0; Wed, 25 Nov 2026 08:40:49 +0000 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xW8YM-00000009713-3wID; Wed, 25 Nov 2026 08:40:38 +0000 Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6AP68TDL2629335; Wed, 25 Nov 2026 08:40:01 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=yq62kjbFDtx AK3raX9EKcggR3VldyMhTYSizs/nAmv0=; b=fBGhuC3xTnMRrieabBbSgyCyIhZ HtP4a6Nutj7kSprsE7HXLFOeKu501ftE9uIScvZ7aT1z3AGG5czq2YttQ6oMp4YX rdQJyY4yLMnfBL4pbkx/NlTBTTMFbTIQxUKjJ8JkreIQOGfixI+hbMaXUfVaBWA1 ctB2ENN6x4wOe6ggMma6KYUrQzSjeNw2EQQHHQLAhTIHH/s98WVgFRhrrBZ0kq95 JyjC1UynXSGyzt+fTX4tb1C7GO2joTHnSclMw+ypEV2b1V9gRy0qWLhlak9YKfbY AhOxE4Djc2NZ1nvmbpcTFsVM6iVL7xJxpNZvqK1ec2k57voFIB2s6gEeBHA== Received: from apblrppmta01.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4j5eydb5uv-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 25 Nov 2026 08:40:00 +0000 (GMT) Received: from pps.filterd (apblrppmta01.qualcomm.com [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (8.18.1.11/8.18.1.11) with ESMTP id 6AP8dwGH075779; Wed, 25 Nov 2026 08:39:58 GMT Received: from hu-devc-blr-u24-a.qualcomm.com (hu-vikrsi-blr.qualcomm.com [10.190.111.249]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTPS id 6AP8dv08075771 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 25 Nov 2026 08:39:57 +0000 (GMT) Received: by hu-devc-blr-u24-a.qualcomm.com (Postfix, from userid 4853235) id 20455248A5; Wed, 25 Nov 2026 14:09:57 +0530 (+0530) From: Vikram Singh To: peterz@infradead.org, mingo@redhat.com, acme@kernel.org, namhyung@kernel.org, mark.rutland@arm.com, alexander.shishkin@linux.intel.com, jolsa@kernel.org, irogers@google.com, adrian.hunter@intel.com, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, alex@ghiti.fr, atishp@rivosinc.com, anup.patel@oss.qualcomm.com, will@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, beeman@rivosinc.com Cc: Vikram Singh , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Conor Dooley , devicetree@vger.kernel.org, Rajnesh Kanwal , Conor Dooley Subject: [PATCH v6 7/7] dt-bindings: riscv: add Sxctr ISA extension description Date: Wed, 25 Nov 2026 14:09:42 +0530 Message-ID: <20261125083942.3695072-8-vikram.singh3@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20261125083942.3695072-1-vikram.singh3@oss.qualcomm.com> References: <20261125083942.3695072-1-vikram.singh3@oss.qualcomm.com> X-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-Reinject: loops=2 maxloops=12 X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Spam-Info: AW1haW4tMjYxMTI1MDAzNCBTYWx0ZWRfX/4c+l/UfkmaU klsl1Um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version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-11-25_02,2026-11-23_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 adultscore=0 lowpriorityscore=0 suspectscore=0 clxscore=1011 spamscore=0 priorityscore=1501 bulkscore=0 malwarescore=0 impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611250034 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261125_004035_730400_BAEFE0D5 X-CRM114-Status: GOOD ( 10.74 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-16.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Add the S[m|s]ctr ISA extension description. Co-developed-by: Rajnesh Kanwal Signed-off-by: Rajnesh Kanwal Signed-off-by: Vikram Singh Acked-by: Conor Dooley --- .../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