From patchwork Tue Jan 14 22:57:29 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Atish Patra X-Patchwork-Id: 13939643 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 DE7B9E77188 for ; Tue, 14 Jan 2025 23:04: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=+nuV14UWlVLpKqlK5QJyBaxP+s4wgcBZS80Qr+dhQF8=; b=aJ3LKGQmoXPEFHNUzdT/IUX7V9 kKSkYFwVNCjJBCHmFCyV9oUOWzBl+4DLic9akZQHphi7Ys41vWKycMN7MoEm3+jYIzMR940GQwI5C w/RFVCGhj0TipFzw/fZfRb/AL19DDYJUVFeJTzbsihPxc+H4mvvU/3QflAqgqzw8F01+f3KS2WimR F0nmG27/JfA+PZmldyQsiyDr7T0il7Ed4IBxfuN6y9QgdNrlUGMgMezbaB/t7gSyQJVfy2hYUpgTE oMl3uMymK+dJOyIf4dY1W+w7rZ28dQ8luRBds8pvmrwkjbrWEMTezDrHSxRWq0Vj72my0xLHLHQIn U+r41fQw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tXpxk-0000000A29a-05pL; Tue, 14 Jan 2025 23:04:44 +0000 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tXprc-00000009znC-3Yq4 for linux-arm-kernel@lists.infradead.org; Tue, 14 Jan 2025 22:58:26 +0000 Received: by mail-pl1-x62f.google.com with SMTP id d9443c01a7336-21649a7bcdcso104031535ad.1 for ; Tue, 14 Jan 2025 14:58:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1736895504; x=1737500304; 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=+nuV14UWlVLpKqlK5QJyBaxP+s4wgcBZS80Qr+dhQF8=; b=c1RaLdvo+aIWIlyDyFlBJcIouc2F0D+SyJHodeeL8yiv2CiyCpjZfpdXc0kJZ3PDBN EXUbKqPZPYBX1dC39CMM/D7YAdGdfIdscP+HdytM8LxAy1O5u0kAtrxNZ5DBkZDp4sCO 2L94r7FqD6AzhdkC4SheeImULxZuSDQALzsx0qy1d+epNrEzvIg1apGstT6C5ZROwW9K dDfeR2K9uSN0JSAp9rXzlQ/b4iuMJ429xRdCyvDS3OvCtlxq8SmMMwbftqI/ANGGo8hH BJvNDAecwoPYDRu3RyE3DojmUO5pJFxFFbc7pVJDrJ5gHZbipM4psVP6v4GlQDQ5Yvg8 B9Yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736895504; x=1737500304; 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=+nuV14UWlVLpKqlK5QJyBaxP+s4wgcBZS80Qr+dhQF8=; b=IK36Yiun/Bi0V/lFD5xx1we0YbNErKKL5w4ctBOABVkcjFCIdM9nz+xwvR1jpwwr8j 4bPg7suUlaD2fYDjdhOnjt3M9jXf9HF/tkOlQSf2liDHwZ6BPc6/rVr+m7xaHQ+9lPvS Cqj3BUUuk2HijJJ+6ZhJ+du+fndXpsHozx8Q+gtq88w/jTDCxXiEQRhS0SidTwNboS1o FTEGTNxXjhGZSt6VBKPqnN5yUlaun774aHOPNzQc0Pqfq/qTCojbEor6hUoFrzA5kc+Q IrSO1Im4hBL022NPyxDgxcXOdaiWh43uRk3c3sE1T/qJU6p1MclCh/QhcP0r9+ZgTUFF J8+w== X-Forwarded-Encrypted: i=1; AJvYcCW0tS4/jE6MgkX98lkAxb8pho5Ip2Vna/aC0qSRskw/DnM46uXasfZQJpvbRrjjkh0YVse1vYgRGHJ0NCb54lDl@lists.infradead.org X-Gm-Message-State: AOJu0YzumRNLFifVSvOPiPhHKrWsIbC2kpo63CJiMgelsDZzzhSf7Q1o NUfKK0fo+bPiquPLXjM2SN/L3toA0JiiW8rscWfDfuyziDCOsBRoP0v6Wcb0Zw0= X-Gm-Gg: ASbGnctEgId7E5qnI7EMxdwpHIb8M4nWOGD1bxky3NAcxSeyUuexg/R04iIQxOw0sd7 Gx0Hius12yKi3ZtV6OUV50YCfFZ5BH+gHqDs2qNxsBz8cVZbmTvNzsI1dmHegC8Sc59kUTwz4VA TmrObEJ0GFHGpOhI5njKXPw2S9Nu/1sVZ4Vb/mW8E8WD1ITH/I1ipn+tPpIMVBz+Fkfr6TA5pHi MYqD/ycU+9Mpr7XxPabimDDgK5bIT6Wb0DrQma7jMILQTLi3do+xloCEPaKBp5Ghxe88Q== X-Google-Smtp-Source: AGHT+IEV9xqrGE2EwbwN10kTDKoQE5y094MCv+vKIzLtISYj8DvmatP2DVPnEqTLBoPDrnLS9ZbWpg== X-Received: by 2002:a17:902:d2ca:b0:211:8404:a957 with SMTP id d9443c01a7336-21a83fc0619mr405796975ad.41.1736895504307; Tue, 14 Jan 2025 14:58:24 -0800 (PST) Received: from atishp.ba.rivosinc.com ([64.71.180.162]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21a9f10df7asm71746105ad.47.2025.01.14.14.58.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jan 2025 14:58:23 -0800 (PST) From: Atish Patra Date: Tue, 14 Jan 2025 14:57:29 -0800 Subject: [PATCH v2 04/21] dt-bindings: riscv: add Sxcsrind ISA extension description MIME-Version: 1.0 Message-Id: <20250114-counter_delegation-v2-4-8ba74cdb851b@rivosinc.com> References: <20250114-counter_delegation-v2-0-8ba74cdb851b@rivosinc.com> In-Reply-To: <20250114-counter_delegation-v2-0-8ba74cdb851b@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, Palmer Dabbelt , 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-20250114_145824_917590_8DE46B68 X-CRM114-Status: GOOD ( 10.75 ) 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 --- Documentation/devicetree/bindings/riscv/extensions.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Documentation/devicetree/bindings/riscv/extensions.yaml b/Documentation/devicetree/bindings/riscv/extensions.yaml index 9c7dd7e75e0c..0cfdaa4552a6 100644 --- a/Documentation/devicetree/bindings/riscv/extensions.yaml +++ b/Documentation/devicetree/bindings/riscv/extensions.yaml @@ -146,6 +146,20 @@ 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. + + - 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. + - const: ssaia description: | The standard Ssaia supervisor-level extension for the advanced