Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp2044504lqe; Tue, 9 Apr 2024 08:05:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVNYbpEdEcXm2cdwq5u7+3E0DcTAOWJJYA93iPXIA+UFULIFji4jkSVtptjdjr/TH8s6q0XWC496EPCKAqfJ8cEK9KtkfwPITFYhod1JQ== X-Google-Smtp-Source: AGHT+IFnT9o9pN2Hpg6+m7JEEyPhUNOCOIiOZ4Y0LZWrlWUu+TuaZp2mC6w359P90i+e4rBAvfAk X-Received: by 2002:a50:9b56:0:b0:56e:3109:5c7f with SMTP id a22-20020a509b56000000b0056e31095c7fmr10241681edj.26.1712675141097; Tue, 09 Apr 2024 08:05:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712675141; cv=pass; d=google.com; s=arc-20160816; b=IcchbzTDzsu6Rl0kf2nd0nAiBITUgW0R19KPniJQdtyrPRK7s/Akweh/13l62KXIWu s8RI0V+DL+K2m5t1pH5sDNTuATqP9zC4lkLKb7IM2EYlvhbl2KHAwtUHR49qtx5Poko5 cjJqJigFuSoavEFfwjtpdpptoZCjM2kfpxYC0rKyoLuwi9SZy4eJAkT1rbsHSyfIZ6vK x0aMT7D6gM3AsmmlLernczlz0cwqXbavR3tUvhY3mrLiMeHOS7l3lBLJ/kOXZxImFIwl ZZWGg5GC4UCNCB2C3QeETfMHDVxb6aw9XRac0wIVCb2tcbVdoveXqyA+P8q7v4pKc3MW rgsA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Ek5s5rmiyDQejPO+LHf17DG4IgGz8rCI4LLQ0aHzfNQ=; fh=8xPt9Wvgs1bAFSb7hyvXuTa5J372eUPHj6F+VppsE14=; b=ioPYxGorDsGetvBVziD50zmS4hovrLLoIdiD6VQxJZ8zf6ZNf3cfT8X90lJPFIrqe3 DDdb7n9HNp+UVPT4QlZwAIZorgLoVZdKJAbw/aZxYLiUXj3G0jZr070tVatQ3FOtZ7pk AFv2Sj3Q6ek8m6Bx/OHDJTEWIfFhoFhOiWApEnLd2UPTw6hbSxGkqmOeKQ782/m/Z6UQ fz3NF9jNV3ojWMvPAVe++D/dIIiEehEvgchacv8oZgDuhyNPnifSsrcLt4CSBT1yNaCU egnh+gaHAJAmegAEbI9D5PLIvlQb+bKK2Gka7SQ+e95iJ4cTlIEqgs3BT40FKRXCJqAO f85A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=obPXcHZr; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-137155-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137155-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id v9-20020a056402348900b00567e1287325si4860040edc.445.2024.04.09.08.05.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 08:05:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-137155-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=obPXcHZr; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-137155-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137155-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 am.mirrors.kernel.org (Postfix) with ESMTPS id D69A61F27733 for ; Tue, 9 Apr 2024 15:04:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 85D60130E2E; Tue, 9 Apr 2024 15:03:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="obPXcHZr" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9EA1E1311A0; Tue, 9 Apr 2024 15:03:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712675019; cv=none; b=JrTElioHnXljvn7U9tJAxmQgvGjmRTw3IqTn56OiUJF4ECeY1NegPlMf7Pre6njNlGW05wO9eDKqn11noOuM8aP4f657KTWbhGZ5abB5ew61nC3HjAnitudUUYcNeEzY5SUB2OUA6yTtOaxhKFTyT5JMADbPmyLnSCBdUGaKuFA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712675019; c=relaxed/simple; bh=m+H+w378Sr6HEqYhv2540iRxgWMuF296nGm682Ps7S4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=VDhTVLNmwfQESVzj9+CebLJIgLYN5VlxhZbDkDleUA/mX+q97ms0cEGtbUAvIGQAuqWgrPf/PJ0Bka1Vu7eZQKIH5qdHsm+NIGvafMlgOsHAv/hPYaOGkoegrfuxsC7NZH4pe5QnrKF/lxsHg5o+YknUa///aL9Hyus4CWX6Vlk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=obPXcHZr; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C08BAC433C7; Tue, 9 Apr 2024 15:03:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712675019; bh=m+H+w378Sr6HEqYhv2540iRxgWMuF296nGm682Ps7S4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=obPXcHZrskluMa4NU4zR6hyOUW6yg9wkgtvhiK1C1xzCihA+aWVZaHizaG8r5H5h6 83HyPuJ7U2EXKxxbxHWXHTZ3O2hhMvPXMwc7E53xGT1bCvTi2hW24caQgA0/+9Kq37 ThZVynd+PN/jdw+FbYCtGhfvkmeU2USeeja7ZNYwWcjsT2iw8krkYZ/QHCaSvBA9+z Hrd9MznNbHJg+ih4vrvoM6HneFpmZm8JPzjxWajwCuDoRQrfk0VvK1TFZfu2JLVfOP jGWdy0xxUFOwAvPgaW7UBh7mqEqoO8vd4Myc6oD5IiKh2GIj1ODxqevGDr3hK54j2e XiukDYTxb3flQ== Date: Tue, 9 Apr 2024 16:03:34 +0100 From: Conor Dooley To: Samuel Holland Cc: Will Deacon , Mark Rutland , Eric Lin , Palmer Dabbelt , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Walmsley , linux-riscv@lists.infradead.org, Rob Herring , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v1 1/6] dt-bindings: cache: Document the sifive,perfmon-counters property Message-ID: <20240409-underrate-armless-697047fd61cc@spud> References: <20240216000837.1868917-1-samuel.holland@sifive.com> <20240216000837.1868917-2-samuel.holland@sifive.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="nDzQsaP24507Oliz" Content-Disposition: inline In-Reply-To: <20240216000837.1868917-2-samuel.holland@sifive.com> --nDzQsaP24507Oliz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 15, 2024 at 04:08:13PM -0800, Samuel Holland wrote: > The SiFive Composable Cache controller contains an optional PMU with a > configurable number of event counters. Document a property which > describes the number of available counters. >=20 > Signed-off-by: Samuel Holland > --- >=20 > Documentation/devicetree/bindings/cache/sifive,ccache0.yaml | 5 +++++ > 1 file changed, 5 insertions(+) >=20 > diff --git a/Documentation/devicetree/bindings/cache/sifive,ccache0.yaml = b/Documentation/devicetree/bindings/cache/sifive,ccache0.yaml > index 7e8cebe21584..100eda4345de 100644 > --- a/Documentation/devicetree/bindings/cache/sifive,ccache0.yaml > +++ b/Documentation/devicetree/bindings/cache/sifive,ccache0.yaml > @@ -81,6 +81,11 @@ properties: > The reference to the reserved-memory for the L2 Loosely Integrated= Memory region. > The reserved memory node should be defined as per the bindings in = reserved-memory.txt. > =20 > + sifive,perfmon-counters: > + $ref: /schemas/types.yaml#/definitions/uint32 > + default: 0 > + description: Number of PMU counter registers I think this should be restricted to devices that actually have it, given we've already gone pretty hard in this binding with specific requirements. > + > allOf: > - $ref: /schemas/cache-controller.yaml# > =20 > --=20 > 2.43.0 >=20 --nDzQsaP24507Oliz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZhVYxgAKCRB4tDGHoIJi 0mzBAQDysCqijpDedJMkSHubXyNjqiZS55GKu1YasR4ei55rswD+MW0xgiNKPVjO XNXWQPiUaaqF25hlCEW4n/5lW/MwtwQ= =9dlT -----END PGP SIGNATURE----- --nDzQsaP24507Oliz--