Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp1443530rdb; Fri, 16 Feb 2024 17:01:56 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWAYTn2QQ/ISk59+eqdp7v/AZIXFnm5QOb7DuXUxLKxSEDqqzomqJP4lWZicVckakl+BgMTxAOHp2wnAdy1qZxhrJE8+3+zIMhj+zgs/A== X-Google-Smtp-Source: AGHT+IGuKco0jggm6pM/rDsa9uo+Xk6W9NUZ2kfieCqnoeIPzWZwlQoF6kvcl02RKnolNWAImrdE X-Received: by 2002:ac8:4792:0:b0:42d:cff8:4409 with SMTP id k18-20020ac84792000000b0042dcff84409mr5522999qtq.4.1708131716747; Fri, 16 Feb 2024 17:01:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708131716; cv=pass; d=google.com; s=arc-20160816; b=kdzSgxwvGg+NqtlETTwDfHCwjXCwRnDZVnouFltefPQx3dSQtWIFDJYt8CHMzR8WJh j6z0EMRBE8dlvrE1Hh+b8+imYz8CzIEHr6Dy4qIwpivPgSOTN8pTfHY1v3+FUPaT8cV/ iiPMXuqfuOm6AUe/XLbbRR7LTwQYQcu/DD6f4aPUd3h1Fi0uZa/nmX2dLol97VFMc39I gG2MIqyXfOECJxa/U6QCt3ijKj4OVPLLIwZHgdLVX4tYY1zYXga65wsXlldKd/jNHOQ9 el+UqPnpxP+bQ4Ggf6NxrcKOajf/SA40+7ff5GgeG7TqDgqsBLm1SxP5SJ/dxsb8EIpK lJoA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=jA2bwMTLdR68IYWhAHQk0vem/FIvLYvJUSgd6oUDROA=; fh=VCn6lt55QOKjzv0Hbz5VO3vbW0BxeXx0oGBGk4MoX4I=; b=ut4PzkDLY4Vc7fyKTbY6AeuWkg1cJyfiOUrbNhIJxuKlwkIwBSTC9HAI4rU1qXHuy/ +Bw9mnLJB77KRaSJDL0eIzGxJX+vDN7/Ha9Ju0AGZ42QbP81J+SeFXR90Hyrj75Wzx1k gHrWX7L9lymVEr4nWlEqhbegRlO8wc0ezEmZponduy2hA3w+Gj8i0Cjf9jvc/XJyR/fN QpN/ItVUfvbalFFtRyDKtX1F5VjvoIKOU6G86g9+eBBq47cCyPLBRLH9xLrUbtR3W8L7 Zsnv1XnQI0vvCpcB3s9W0qiEaIeNLlRcVf8srsK1v2bWXKOhSVzC6Y6M/AEdMp0KaV7C HYfg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=bCl3uOfV; arc=pass (i=1 spf=pass spfdomain=rivosinc.com dkim=pass dkdomain=rivosinc-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-69601-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69601-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id j13-20020ac8404d000000b0042c4534b298si984215qtl.263.2024.02.16.17.01.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 17:01:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-69601-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=bCl3uOfV; arc=pass (i=1 spf=pass spfdomain=rivosinc.com dkim=pass dkdomain=rivosinc-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-69601-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69601-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 80DC61C20D67 for ; Sat, 17 Feb 2024 01:01:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E6489210F3; Sat, 17 Feb 2024 00:58:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=rivosinc-com.20230601.gappssmtp.com header.i=@rivosinc-com.20230601.gappssmtp.com header.b="bCl3uOfV" Received: from mail-io1-f49.google.com (mail-io1-f49.google.com [209.85.166.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7CDA420B03 for ; Sat, 17 Feb 2024 00:58:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708131523; cv=none; b=bqPZZ6R7Vex5QwCh9zD5T13SmoAakXxuq5rDXH320vF0OyWpps1JHokMHBFwYW4c/q3+mMfC5x66l5+zF0Xf5VXR7XQJ5rd/isxIrvxiCKBTroSGV244Cf4+dVJs5sMd+bodnimy6eyi1FBrNjKK9plS/ocR4bz6sVtaKX5Hs5E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708131523; c=relaxed/simple; bh=bv/FYmkztJnwsY2iW6Bp2G7/4vfUAi73vHt5Pq3FWHo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=KmJ4fkg3umFv3F3oS4E2E4p6OOSQsmWNxeuL3oGOMuFCieV/cKPWsx6Or87x/kexATUWuZ/lM9C/PDWzX0aYT3/cITpG+/2F5KA9j+nEX9ASs8Dm7muT7rOOnl4VYoJEOjWNOs3sebmii0TJJnEnOL4lnzpsvNHmWDoYD5P06RQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rivosinc.com; spf=pass smtp.mailfrom=rivosinc.com; dkim=pass (2048-bit key) header.d=rivosinc-com.20230601.gappssmtp.com header.i=@rivosinc-com.20230601.gappssmtp.com header.b=bCl3uOfV; arc=none smtp.client-ip=209.85.166.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rivosinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rivosinc.com Received: by mail-io1-f49.google.com with SMTP id ca18e2360f4ac-7c40863de70so65077739f.0 for ; Fri, 16 Feb 2024 16:58:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1708131520; x=1708736320; darn=vger.kernel.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=jA2bwMTLdR68IYWhAHQk0vem/FIvLYvJUSgd6oUDROA=; b=bCl3uOfVV496vzz46fQ0TikB5r01tMiO7gRsNhHvbY4pQ9W6hGfXwMlcbfPIKuqOut Ui+SYKp0nopFJ277DEbYuqOyXEiNq0r92OFfc0wVNmUtlcjxpBPwOe7WTIhvbmb1p9We EaQQSmbc/uNb4EY+3HUa2Rv6zdfYXkzgv+UpQIZHGDxrR1nz4Fj+FRV6MsB4mVfSGd8L gbfL5O/cAoJ0fnGh8x01qUJK49Of6AG1anwve9tAodeUGGaNNoAXmiglB4I+Up/3aqx3 KRQMygnqvcEUAG/hwLNH0NCiFPZ2jBD1E7ziP83lc/OjHz2j8GqN5EDYh3t52V6KOLMo xdow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708131520; x=1708736320; 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=jA2bwMTLdR68IYWhAHQk0vem/FIvLYvJUSgd6oUDROA=; b=bEIv6ece/6YioUTmFM+JnUR1uHRXIM/3RO67JuL21bbXvmdzyZMHP4nPvtKDgjtC5D n4zgt4ljgdatFJ/yngEdC46xb4flmAouPufS8WhxU3SCh9FIOiLPbNnan4dALIsBPQnq PED7T6zshUeA0+TosBGAC1Rhzu7RuwJykAklRUTiDMLU3sDvYgnOpaRrtR8y6gZOwG4O RVvedgRzskfNmW/C+GH5XV7TV578OFbysKykBhNZqBOFog2NEn5tOFwI/J4W4PWNbpXN AecEXgRrleT3f3UEMmTZJL6RWdITPa15CdqrDKWf6wRlY1Q8kHZ+TwkrVF8x58zSGpnI 1hcQ== X-Gm-Message-State: AOJu0YwMfciCVYJqU7CRaCi+YPV+KsOEvMPaGsG5vXUdkxlBXlFfRiJG IgzYCCf7HkIRA8mXWk+ChyBenute9Xs3dkZEaYCSyFWJBODMLvy3Pu5kxHOe4au2zHBEk43fPkC + X-Received: by 2002:a5e:c10c:0:b0:7c7:2e71:bb74 with SMTP id v12-20020a5ec10c000000b007c72e71bb74mr626708iol.4.1708131520123; Fri, 16 Feb 2024 16:58:40 -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.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 16:58:39 -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?q?Cl=C3=A9ment=20L=C3=A9ger?= , 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 10/20] dt-bindings: riscv: add Smcntrpmf ISA extension description Date: Fri, 16 Feb 2024 16:57:28 -0800 Message-Id: <20240217005738.3744121-11-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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add the description for Smcntrpmf ISA extension Signed-off-by: Atish Patra --- Documentation/devicetree/bindings/riscv/extensions.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/riscv/extensions.yaml b/Documentation/devicetree/bindings/riscv/extensions.yaml index 15adeb60441b..149ecf2a8af3 100644 --- a/Documentation/devicetree/bindings/riscv/extensions.yaml +++ b/Documentation/devicetree/bindings/riscv/extensions.yaml @@ -135,6 +135,13 @@ properties: directlyi accessible in the supervisor mode. This extension depend on Sscsrind, Zihpm, Zicntr extensions. + - const: smcntrpmf + description: | + The standard Smcntrpmf supervisor-level extension for the machine mode + to enable privilege mode filtering for cycle and instret counters. + The Ssccfg extension depends on this as *cfg CSRs are available only + if smcntrpmf is present. + - const: smstateen description: | The standard Smstateen extension for controlling access to CSRs -- 2.34.1