From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; dkim=none 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 E8A3B170B; Wed, 29 Nov 2023 01:36:23 -0800 (PST) Received: from mail.andestech.com (ATCPCS16.andestech.com [10.0.1.222]) by Atcsqr.andestech.com with ESMTP id 3AT9Ya14074351; Wed, 29 Nov 2023 17:34:36 +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, 29 Nov 2023 17:34:33 +0800 Date: Wed, 29 Nov 2023 17:34:30 +0800 From: Yu-Chien Peter Lin To: Conor Dooley CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH v4 11/13] riscv: dts: allwinner: Add T-Head PMU extension Message-ID: References: <20231122121235.827122-1-peterlin@andestech.com> <20231122121235.827122-12-peterlin@andestech.com> <20231123-coping-revenue-be284a351c9d@wendy> Precedence: bulk X-Mailing-List: linux-perf-users@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20231123-coping-revenue-be284a351c9d@wendy> User-Agent: Mutt/2.2.10 (2023-03-25) X-DNSRBL: X-SPAM-SOURCE-CHECK: pass X-MAIL:Atcsqr.andestech.com 3AT9Ya14074351 Hi Conor, On Thu, Nov 23, 2023 at 02:58:55PM +0000, Conor Dooley wrote: > On Wed, Nov 22, 2023 at 08:12:33PM +0800, Yu Chien Peter Lin wrote: > > xtheadpmu stands for T-Head Performance Monitor Unit extension. > > Based on the added T-Head PMU ISA string, the SBI PMU driver > > will make use of the non-standard irq source. > > Allwinner aren't the only ones using T-Head CPUs that the previous > m*id pmu detection code would have matched on. I think the first three > files below will also need to be updated: > > rg -l "thead,c[0-9]*\b[^-]" arch/riscv/boot/dts/ > arch/riscv/boot/dts/sophgo/sg2042-cpus.dtsi > arch/riscv/boot/dts/sophgo/cv1800b.dtsi > arch/riscv/boot/dts/thead/th1520.dtsi > arch/riscv/boot/dts/allwinner/sun20i-d1s.dtsi That's really helpful, I'll add these .dtsi files in the patchset v5. Thanks, Peter Lin > Cheers, > Conor.