From patchwork Sat Feb 17 00:57:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Atish Kumar Patra X-Patchwork-Id: 1900412 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=V1+Fxi4F; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=rivosinc-com.20230601.gappssmtp.com header.i=@rivosinc-com.20230601.gappssmtp.com header.a=rsa-sha256 header.s=20230601 header.b=QnuxqFRn; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=kvm-riscv-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TcBtG52PSz23j9 for ; Sat, 17 Feb 2024 13:03:50 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=fu+WOiGRgdnKS5Z1tyB4S1RijqlfHqhc6YxQC6cBrrM=; b=V1+Fxi4F4IHBJY a9XdA8vB9YvycVJokfkdAn7WC9xF+DankaG2tW0+HZnAR0Q83LloNTeF8Li6/axB2quP4vYeyQ3Ks MFWdev6upghon0vPvzP3rDDObsm7c853vP/7ZeR6xnGl8576IBIDpO4PYo+q6/WFp6n8BOuhs97Eo evehz5GxGcRbi8GbzCvq9b5iHCmD1SxQxYF8h4nmra/A+CZr7DSCOyYmOgolquEB3MpJRa4UWGTPF +xwnGgxw0L/v0MZvbeK1isnIIC24roIvVdLyc7jwDUrbjURRXXx8N2ZzsMJGUfPb5xEons7nrDy/D 3KGW1sOSGBq2TijZGNfg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rbA3R-00000004S9O-112j; Sat, 17 Feb 2024 02:03:49 +0000 Received: from mail-io1-xd34.google.com ([2607:f8b0:4864:20::d34]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rb92K-00000004I8M-0pIe for kvm-riscv@lists.infradead.org; Sat, 17 Feb 2024 00:58:41 +0000 Received: by mail-io1-xd34.google.com with SMTP id ca18e2360f4ac-7c7229e85b5so35603939f.0 for ; Fri, 16 Feb 2024 16:58:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1708131515; x=1708736315; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=zM1FhW7Qr3v0FtC5FiOLqFulLhlj/jL3zhy6p8GYU3U=; b=QnuxqFRnTaO7quft0T86pdal1XMc0Hju7hwM3XS/56Ydpc/wWJbki63TiGClUr8fGO 7/qAOMSDITXzflGKZ9DaPSdyHi76A5pplEMrmOBSp/HbEuo/qABhIGaBwI16pDoYCvxt DzGXilzRQalj/zcWoE1EXIJ5nrm0WxafJT1/6t/PgX6KjjX5HHDgtbORiYGKaUfinwtp n7FSVrWVhXU7jqFI1HyKiCUyf55E22eAoejyIfpdyxshWj47/i2GMekbFvtwDKlLh+EP VCFo300smPZUcOeIFT4NWzXIReNfBy+dwEYejSaQAU80zNkVwKRqxwcILujFOnKRCw96 ATag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708131515; x=1708736315; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zM1FhW7Qr3v0FtC5FiOLqFulLhlj/jL3zhy6p8GYU3U=; b=xMsvWBbdqr7ld4eg9gdk4m2Om8izl0eKJrVw3XmPrCaNVo4A3YOaTEl/G2U//wWyuR jGj04Y7bFuCmXoK1nVheAHRPjY+ByrE5VWzAQcZgmUfxzYt5J8zuRpqygpGejmbeJjDc Tg5STzyXYIk/XfmUjDyO6cBgBvUUbw86iIv8ONPsBH2c2SEO/X8D6XhD6rmj7KFgLgiK jNNZOADXERNgToFFdpjMBfuq0Yyngl6OXXk2B7b2yy7JHpXjv5WTSCsZ9BYEb3svf39m ENozY1eakIl9kWzQv4ORx5Vb1F43V9ypSKu0Ux/7WulxVRBlbU5iGDiOD0vqqiCxhqXo VlzA== X-Forwarded-Encrypted: i=1; AJvYcCWhM+KQClPU7MHbRbHdtwj8XubkH2cfFq9GS2cmH9WfWGU8Cm93jUdDb4Y/KDKk/oRSnhjcOWDqO9RGDOriSqf4gHaCG9i4pqAGAuRuKA== X-Gm-Message-State: AOJu0Ywib4EUpKOTTuskfsO+hJsn4SU/La4p8Vyt57Wt+MMPQO8rl4fL Kvk+CKyTCyIh7Y7Q9majGoDeKBFiC/SafNU8BRR5O8JHoKq0B+hdqXg+U9Tm4gE= X-Google-Smtp-Source: AGHT+IG/18cu0XQrzjjkqrWO02cvxzc2sKclTHZn6KgjzARvIp50etYjTOykyTJQBV988xbbQes5Kw== X-Received: by 2002:a6b:7018:0:b0:7c4:2254:8e59 with SMTP id l24-20020a6b7018000000b007c422548e59mr6880303ioc.5.1708131514686; Fri, 16 Feb 2024 16:58:34 -0800 (PST) Received: from atishp.ba.rivosinc.com ([64.71.180.162]) by smtp.gmail.com with ESMTPSA id d188-20020a6336c5000000b005dc89957e06sm487655pga.71.2024.02.16.16.58.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:58:34 -0800 (PST) From: Atish Patra To: linux-kernel@vger.kernel.org Cc: Atish Patra , Adrian Hunter , Alexander Shishkin , Alexandre Ghiti , Andrew Jones , Anup Patel , Arnaldo Carvalho de Melo , Atish Patra , Christian Brauner , =?utf-8?b?Q2zDqW1lbnQgTMOpZ2Vy?= , Conor Dooley , devicetree@vger.kernel.org, Evan Green , Guo Ren , Heiko Stuebner , Ian Rogers , Ingo Molnar , James Clark , Jing Zhang , Jiri Olsa , Ji Sheng Teoh , John Garry , Jonathan Corbet , Kan Liang , Krzysztof Kozlowski , kvm-riscv@lists.infradead.org, kvm@vger.kernel.org, Ley Foon Tan , linux-doc@vger.kernel.org, linux-perf-users@vger.kernel.org, linux-riscv@lists.infradead.org, Mark Rutland , Namhyung Kim , Palmer Dabbelt , Paul Walmsley , Peter Zijlstra , Rob Herring , Samuel Holland , Weilin Wang , Will Deacon , kaiwenxue1@gmail.com, Yang Jihong Subject: [PATCH RFC 08/20] dt-bindings: riscv: add Ssccfg ISA extension description Date: Fri, 16 Feb 2024 16:57:26 -0800 Message-Id: <20240217005738.3744121-9-atishp@rivosinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240217005738.3744121-1-atishp@rivosinc.com> References: <20240217005738.3744121-1-atishp@rivosinc.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240216_165836_700812_5E0BE79D X-CRM114-Status: GOOD ( 11.40 ) X-Spam-Score: -0.0 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Add description for the Ssccfg extension. Signed-off-by: Atish Patra --- .../devicetree/bindings/riscv/extensions.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Documentation/devicetree/bindings/riscv/extensions.yaml b/Documentation/devicetree/bindings/riscv/extensions.yaml index 77a9f867e36b..15adeb60441b 100644 --- a/Documentation/devicetree/bi [...] Content analysis details: (-0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:d34 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.0 T_SCC_BODY_TEXT_LINE No description available. X-BeenThere: kvm-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "kvm-riscv" Errors-To: kvm-riscv-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Add description for the Ssccfg extension. Signed-off-by: Atish Patra --- .../devicetree/bindings/riscv/extensions.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Documentation/devicetree/bindings/riscv/extensions.yaml b/Documentation/devicetree/bindings/riscv/extensions.yaml index 77a9f867e36b..15adeb60441b 100644 --- a/Documentation/devicetree/bindings/riscv/extensions.yaml +++ b/Documentation/devicetree/bindings/riscv/extensions.yaml @@ -128,6 +128,13 @@ properties: changes to interrupts as frozen at commit ccbddab ("Merge pull request #42 from riscv/jhauser-2023-RC4") of riscv-aia. + - const: smcdeleg + description: | + The standard Smcdeleg supervisor-level extension for the machine mode + to delegate the hpmcounters to supvervisor mode so that they are + directlyi accessible in the supervisor mode. This extension depend + on Sscsrind, Zihpm, Zicntr extensions. + - const: smstateen description: | The standard Smstateen extension for controlling access to CSRs @@ -154,6 +161,12 @@ properties: interrupt architecture for supervisor-mode-visible csr and behavioural changes to interrupts as frozen at commit ccbddab ("Merge pull request #42 from riscv/jhauser-2023-RC4") of riscv-aia. + - const: ssccfg + description: | + The standard Ssccfg supervisor-level extension for configuring + the delegated hpmcounters to be accessible directly in supervisor + mode. This extension depend on Sscsrind, Smcdeleg, Zihpm, Zicntr + extensions. - const: sscofpmf description: |