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 5E918C4167B for ; Wed, 6 Dec 2023 03:16:45 +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-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=yVF4x/z6gT3NjieviISlWP/4X1CZo17imJnR/Lymxko=; b=ZohhQ211rV15lw dgOc41MA+otCCC6Uuoy2Lh84GJIHKZhja3oXuqs0U4Rpbm2qy44zGwr5NDlHZWWRwIqkBMJELpKJm wdznHpJXnNgbK4/3btGTwqU0dAvlVdp7Cz5lQjcj3aPI5sS2e1rwpobyp1xIyAzBLPy8CdU8jYNXR IntkVpfp8ZiSwMoEJsX+RkL0Pm1J0BO4Edf02UJbEKONYQAiCT4idsjNqa2cMEu5TmPQC7w1AWUUY /2hzVSX66AEZKp6FA3c5Q68Ttq8yI1TjgNBGwwFZdlty+xvy5OxzEktcq1iz/RT/TSzMdLe7r0+Fj AI7gYKFkHXmlin3kJBaQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rAiOn-008wfX-2T; Wed, 06 Dec 2023 03:16:33 +0000 Received: from 60-248-80-70.hinet-ip.hinet.net ([60.248.80.70] helo=Atcsqr.andestech.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rAiOj-008wbh-13; Wed, 06 Dec 2023 03:16:31 +0000 Received: from mail.andestech.com (ATCPCS16.andestech.com [10.0.1.222]) by Atcsqr.andestech.com with ESMTP id 3B63EGaR027290; Wed, 6 Dec 2023 11:14:16 +0800 (+08) (envelope-from peterlin@andestech.com) Received: from APC323 (10.0.12.98) by ATCPCS16.andestech.com (10.0.1.222) with Microsoft SMTP Server id 14.3.498.0; Wed, 6 Dec 2023 11:14:12 +0800 Date: Wed, 6 Dec 2023 11:14:08 +0800 From: Yu-Chien Peter Lin To: Inochi Amaoto Subject: Re: [PATCH v4 09/13] dt-bindings: riscv: Add T-Head PMU extension description Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.2.10 (2023-03-25) X-Originating-IP: [10.0.12.98] X-DNSRBL: X-MAIL: Atcsqr.andestech.com 3B63EGaR027290 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231205_191629_819208_C7D35D7C X-CRM114-Status: GOOD ( 13.68 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, irogers@google.com, heiko@sntech.de, geert+renesas@glider.be, alexander.shishkin@linux.intel.com, paul.walmsley@sifive.com, linux-kernel@vger.kernel.org, conor.dooley@microchip.com, Guo Ren , krzysztof.kozlowski+dt@linaro.org, linux-riscv@lists.infradead.org, will@kernel.org, linux-renesas-soc@vger.kernel.org, tim609@andestech.com, samuel@sholland.org, anup@brainfault.org, dminus@andestech.com, magnus.damm@gmail.com, jernej.skrabec@gmail.com, peterz@infradead.org, wens@csie.org, mingo@redhat.com, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, ajones@ventanamicro.com, devicetree@vger.kernel.org, conor+dt@kernel.org, aou@eecs.berkeley.edu, andre.przywara@arm.com, locus84@andestech.com, acme@kernel.org, prabhakar.mahadev-lad.rj@bp.renesas.com, robh+dt@kernel.org, atishp@atishpatra.org, namhyung@kernel.org, tglx@linutronix.de, jszhang@kernel.org, ycliang@andestech.com, n.shubin@yadro.com, rdunlap@infradead.org, adrian.hunter@intel.com, conor@kernel.org, linux-perf-users@vger.kernel.org, evan@rivosinc.com, palmer@dabbelt.com, jolsa@kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On Fri, Dec 01, 2023 at 09:14:00AM +0800, Inochi Amaoto wrote: <...> > >> > >> Hi, Peter Lin: > >> > >> You can use the following two document to get all events: > >> https://github.com/T-head-Semi/openc906/tree/main/doc > >> https://github.com/T-head-Semi/openc910/tree/main/doc > >> > >> There are also some RTL code can describe these events: > >> https://github.com/T-head-Semi/openc910/blob/e0c4ad8ec7f8c70f649d826ebd6c949086453272/C910_RTL_FACTORY/gen_rtl/pmu/rtl/ct_hpcp_top.v#L1123 > >> https://github.com/T-head-Semi/openc906/blob/af5614d72de7e5a4b8609c427d2e20af1deb21c4/C906_RTL_FACTORY/gen_rtl/pmu/rtl/aq_hpcp_top.v#L543 > >> > >> The perf events json can also be used as document, this is already > >> applied (with more detailed explanation): > >> https://lore.kernel.org/all/IA1PR20MB495325FCF603BAA841E29281BBBAA@IA1PR20MB4953.namprd20.prod.outlook.com/ > > > >Thanks for reaching out! > >The updated description will be: > > > >- const: xtheadpmu > > description: > > The T-Head performance monitor extension for counter overflow, as ratified > > in commit bd9206 ("Initial commit") of Xuantie C906 user manual. > > https://github.com/T-head-Semi/openc906/tree/main/doc > > > >Is it OK with you? > > > > Please indicate chapter 12 and chapter 13.5 of the manual related to > the PMU. And changed openc906 manual to openc910 manual because it is > more updated. > > If modified: > > Reviewed-by: Inochi Amaoto Got it! Thanks for the information. Regards, Peter Lin _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv