From patchwork Tue Jan 28 04:59:45 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Atish Kumar Patra X-Patchwork-Id: 13952017 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 326D6C0218D for ; Tue, 28 Jan 2025 05:06:54 +0000 (UTC) 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:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=/3d11Vb185MzE7T3v4uIyT+JXKKpmn0Bb8O6L8LI7W0=; b=4goJa/jvSfQwZ6BU3stxXbLB7a SuFqMJ9Ikbtn7o+Zwn6yjCWcKIDaKiPbx8IXz3kEtygpITTRRIfzcMSZ5DX130Fc/j8PwjfJjLzxI xnjOBsC4qbHf7ihxCPju9qzDQm0pZd2nJATJ/73RmFt8h+jgp9mEq9gpB2Qh/B+mgBh7i/WBIMDUv IZDiJ7Rl/odzAVP591U4iaocTFzPHE288vfoXR8d6CxJ9NZGEthuECfkwrenvGRiP5UfHCEq2MZAC gXF3zlCVGBi9DOaxv4c9VHxbQFeOmRrfznjmgUPEAd6zd6mvsLVy4X4/f6wPe8Eqe7OnM0DgQv0Ao h74aet+Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tcdo8-000000046a1-0Go6; Tue, 28 Jan 2025 05:06:40 +0000 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tcdhc-000000044NW-3NPK for linux-arm-kernel@lists.infradead.org; Tue, 28 Jan 2025 04:59:59 +0000 Received: by mail-pj1-x1034.google.com with SMTP id 98e67ed59e1d1-2efe25558ddso6900170a91.2 for ; Mon, 27 Jan 2025 20:59:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1738040396; x=1738645196; darn=lists.infradead.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=/3d11Vb185MzE7T3v4uIyT+JXKKpmn0Bb8O6L8LI7W0=; b=liNXcdMCg449+fRei2z9lNi7q5lNTvJxVO65Iz6hPf/KPCFrLR+DeLAWTaOlCDA9lg 2QtmqR9aEnTiaW6NVmS5jsbIKeHP+MjTomkJwkodgt/EiUmXD43KUUQl4Gk8CUeALa3+ BiOgrM2DzhW0tSgsFyN6agr+zLYc6MFhjGaAq34rAgACtSJyOsdo1IPADGwl3sHWjeOA b7U4TH2/UxyM5QDOAAiVfTm+M9AebnEcSaWnAsndT15guTEUhzn51YDhfkTKaGkOI4wY NBq+mifRsDVW+XObCUQrpI9UBChlGhs8yp3RR/ncInw4N7bWiVj91Z7DIM+Eaotzl4Ce a+LQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738040396; x=1738645196; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/3d11Vb185MzE7T3v4uIyT+JXKKpmn0Bb8O6L8LI7W0=; b=QBFIf0HbJOJvvMMz4YzF7ldSHMnmpYt2RBY3Su50YFlaivdT5Y9bbO8cIen7mgM6oj Tp7A33u0iJfVLuYpt4Jtxz6/Kb9cpYJz3nkF6yqxbdcLfFLaYooXyKlUqBtFOIa/2T0t EIahYVWk+qhu4X/KrfN8jrYcAMVTgbtRO+t4tRSVClsiSW9ywXpv1cxhkoczRmrgic/8 PtgV9krh51u7rUurks2bkYQr5NULWm3Ogike6TN+yUq4N93n63uEbOh9XS5txNHDRgRQ fqKz+ZRDD+u6eEkigdvICCMpbup/Ofuz1McPhTwCPvmclX3r7tBCwaiWcEHhaa/AOFPZ E0qg== X-Forwarded-Encrypted: i=1; AJvYcCXFStuwdAAjlOEqI1w4M7/ybXIC6neGyQ7OOG4A9TDygBGCvM8O9+KOhVx7Da8+j9wawS9NqaprX5pGwtw7RTYG@lists.infradead.org X-Gm-Message-State: AOJu0YwIZGA/zUYDquvpettpf838C8QzVTSDv8Ys6hZ4XmRyAQYOGxCt cZUHNIqOXK7HACV1TDhWRgA+sLqj/c3HXyG/Dqa2UxMZLem2Jz6NomlPE53+SmY= X-Gm-Gg: ASbGnctzGwNm1R5y7Fmyqjf0OBHwBf6OZJ1FaTjmEPH5k0XJtzwZZAAx6/4w9eU9Mbr PmYPg097h6URIKCUqtRwzJB3BUJIt4dTl2035qcFCSZ/5A5oJv4SqhF8uVeuD4TZMiiyVypDj6Z 4LriTFjBtixrrGdYBkKMgLT5wi8QZ0dOnT2RQKnefhnHVKMrqzp+qMo7T1ktANzw361H6b9Sh/m /uiziByFoLMxMM/54rZ9Gr52dUxGP/RXwlHmWGUMv+UtIluShUliYBnb4Z8945mC9kmx9QpyeP6 dF1v6HikTLlS3oF1iHq2fvClOBke X-Google-Smtp-Source: AGHT+IGKJLoG1w7HBodanThehp9jcOrQlRY8JCeFJh3f5TphJqozkTpJC2i92zo0GQX5LVcI8mvvTg== X-Received: by 2002:a17:90b:5448:b0:2ea:5dea:eb0a with SMTP id 98e67ed59e1d1-2f782c4d75cmr60425683a91.4.1738040395871; Mon, 27 Jan 2025 20:59:55 -0800 (PST) Received: from atishp.ba.rivosinc.com ([64.71.180.162]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2f7ffa5a7f7sm8212776a91.11.2025.01.27.20.59.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2025 20:59:55 -0800 (PST) From: Atish Patra Date: Mon, 27 Jan 2025 20:59:45 -0800 Subject: [PATCH v3 04/21] dt-bindings: riscv: add Sxcsrind ISA extension description MIME-Version: 1.0 Message-Id: <20250127-counter_delegation-v3-4-64894d7e16d5@rivosinc.com> References: <20250127-counter_delegation-v3-0-64894d7e16d5@rivosinc.com> In-Reply-To: <20250127-counter_delegation-v3-0-64894d7e16d5@rivosinc.com> To: Paul Walmsley , Palmer Dabbelt , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Anup Patel , Atish Patra , Will Deacon , Mark Rutland , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Alexander Shishkin , Jiri Olsa , Ian Rogers , Adrian Hunter , weilin.wang@intel.com Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Conor Dooley , devicetree@vger.kernel.org, kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-perf-users@vger.kernel.org, Atish Patra X-Mailer: b4 0.15-dev-13183 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250127_205956_891131_BC36AC10 X-CRM114-Status: GOOD ( 10.88 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the S[m|s]csrind ISA extension description. Signed-off-by: Atish Patra Acked-by: Conor Dooley --- Documentation/devicetree/bindings/riscv/extensions.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Documentation/devicetree/bindings/riscv/extensions.yaml b/Documentation/devicetree/bindings/riscv/extensions.yaml index 9c7dd7e75e0c..f47d829545db 100644 --- a/Documentation/devicetree/bindings/riscv/extensions.yaml +++ b/Documentation/devicetree/bindings/riscv/extensions.yaml @@ -146,6 +146,22 @@ 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: smcsrind + description: | + The standard Smcsrind supervisor-level extension extends the + indirect CSR access mechanism defined by the Smaia extension. This + extension allows other ISA extension to use indirect CSR access + mechanism in M-mode as ratified in the 20240326 version of the + privileged ISA specification. + + - const: sscsrind + description: | + The standard Sscsrind supervisor-level extension extends the + indirect CSR access mechanism defined by the Ssaia extension. This + extension allows other ISA extension to use indirect CSR access + mechanism in S-mode as ratified in the 20240326 version of the + privileged ISA specification. + - const: ssaia description: | The standard Ssaia supervisor-level extension for the advanced