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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C6445C4167B for ; Wed, 6 Dec 2023 03:17:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230152AbjLFDRQ (ORCPT ); Tue, 5 Dec 2023 22:17:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229521AbjLFDRO (ORCPT ); Tue, 5 Dec 2023 22:17:14 -0500 Received: from Atcsqr.andestech.com (60-248-80-70.hinet-ip.hinet.net [60.248.80.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 326291AA; Tue, 5 Dec 2023 19:17:19 -0800 (PST) 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 CC: Guo Ren , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH v4 09/13] dt-bindings: riscv: Add T-Head PMU extension description Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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