From mboxrd@z Thu Jan 1 00:00:00 1970 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 608C8C83F13 for ; Sat, 26 Aug 2023 11:58:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=y1bpq1qJuQ+Oaz4zoPRwVH7gr10c3Um6y4cJiqg8LE0=; b=WACY21duEsrlHTRxq7KxUpD7JW 6IO470X8CrAei8xjuzlVtwdQ2VYxnVMZsVgX8OmAEdyl0lbeU5m/ojiNtOlvdF51fkctLigq7OYL/ AA6YFzqC2ner749zqgcqzjFeuTpN5wRNe2MxpP3Zjfx9320calg6WIIHZject+MQd1RuztKVSEswY KNUsgL9GJLc80+/CLjOMaGe3DVR7mcFRIpzT2+IB4KkdMjyBjhnFlwHyX9d6wzFtinUP8S3W1zgZB qx0RH7fImppcH28WM6UY5xEwgVPHcJ7dDXAdDYItO3HKOap7zMVPVFKzus7E767+z2LuhSPEfoQaB QdV+JoCA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qZrv5-006rTx-2Q; Sat, 26 Aug 2023 11:57:35 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qZrv3-006rTa-1S; Sat, 26 Aug 2023 11:57:34 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id BB2866158B; Sat, 26 Aug 2023 11:57:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 810BDC433C8; Sat, 26 Aug 2023 11:57:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1693051052; bh=xpLEl94lz3bAHngyJDKUKnMgh36APQF/M1HRWRQ8NF4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DVINOEcU/sQCQXcrV+x89uUUvRQ/9nLb6jd5CdPohv0p6rgh7g1ItEFgMwmhPq8T4 YhLysA3OVcMDhILPzYZtzdZhhkAUmPZi9a8Kh1oJcWxrv2KClwXRE1S5hr3gnKoCpX kYnSXYzcvD0+2jXtINOWVAKIXdXdjrXr/tyatxpQS/ioUQXZj1+jX1+OtTlau7bThR VJ4Uz6rRHpiYUOCfQjQbUd8Oy+DK/N4aUEsgySDgUWO8TwzeIROApoBoJz/23xjuuT DQvY3xN7W1aooqvaQOqgM7Jpxt4MEOXbFiognf6eWqgetcNmiTlYv8FIZOZlCeHAw5 NJua2CsZEqKaA== Date: Sat, 26 Aug 2023 12:57:26 +0100 From: Conor Dooley To: Inochi Amaoto Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Paul Walmsley , Palmer Dabbelt , Albert Ou , Heiko Stuebner , Wei Fu , Pei Chen , Guo Ren , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] riscv: dts: allwinner: d1: Add PMU event node Message-ID: <20230826-cubical-publisher-2580c5991069@spud> References: <20230826-reverse-unroll-a2e0b2365dc1@spud> MIME-Version: 1.0 In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230826_045733_573321_84087009 X-CRM114-Status: GOOD ( 21.04 ) 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: , Content-Type: multipart/mixed; boundary="===============2627553831651490573==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============2627553831651490573== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="uKHK42U+Ycbmhh8k" Content-Disposition: inline --uKHK42U+Ycbmhh8k Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Aug 26, 2023 at 07:25:43PM +0800, Inochi Amaoto wrote: > >On Sat, Aug 26, 2023 at 04:38:53PM +0800, Inochi Amaoto wrote: > >> D1 has several pmu events supported by opensbi. > >> These events can be used by perf for profiling. > >> > >> Signed-off-by: Inochi Amaoto > > > >Could you please include a link to some documentation as to where these > >values came from? I know several people have had some trouble with > >understanding the pmu DT stuff & having some documentation would make > >this an in-tree end-to-end example. > The DT field of riscv,pmu for opensbi can be found on: > https://github.com/riscv-software-src/opensbi/blob/master/docs/pmu_suppor= t.md There's an actual dt-binding for this. > The value can be found in the R1S0 version of C906 documentation: > https://dl.linux-sunxi.org/D1/Xuantie_C906_R1S0_User_Manual.pdf >=20 > The meaning of T-HEAD events can be found in this patch: > https://lore.kernel.org/linux-perf-users/IA1PR20MB4953DD82D0116EC291C2177= 7BBE2A@IA1PR20MB4953.namprd20.prod.outlook.com >=20 > The patch above also provides documentation for T-HEAD events and a examp= le > that shows how to use perf with T-HEAD events. What I meant was can you provide links to this in the commit messages so that people have a way to find the documentation. --uKHK42U+Ycbmhh8k Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZOnopgAKCRB4tDGHoIJi 0mSxAQDtF05y6F1rX6ExpSo7biIc/hisr+JfS70x6WEEbFwzAAD+LU33kG3lv3Xg cDERdlj6Bvj0jstRNYumdBvHal7qpwg= =CD0N -----END PGP SIGNATURE----- --uKHK42U+Ycbmhh8k-- --===============2627553831651490573== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============2627553831651490573==--