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 618DBC021AA for ; Tue, 18 Feb 2025 22:21:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To: Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID: Subject:Cc: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=NT80czFRlgsRmZLfz5nJf6Qj6rL2POT5kxLPnjKcRDs=; b=o1G0LS5q2mknVBdMFEXAU/+u0S GxZdHuL6n2E38aUbKdY2nJap7ABLRrtXSpZKIouZcoreIatotNAYJzrL51nJxj2pTJgjWwklWFL7p 1YqRLRPYQwcYgCtWpUBoLx8Qucq+hfzjgeUgpD8NUHHsYLvIfI2QE3DlKHdSao13127dlhEF9EF1Z Lrsg9SuMfcAhB5GJn0rU4mzvGRDsHnbfZRFDzCIhyguDqlGicewAt3vx+Q2VpMFV+JkFNZILfSO9Y eGBycuPytPD6v9mho9ldg9WQfYRaHOqYWdSlzM+CLcGds8dWgxGN3yHOJzEy3BHFgg0+NOxSqhbO3 MuQsBJmQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tkVy3-0000000A7Ym-0Xsw; Tue, 18 Feb 2025 22:21:27 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tkVwa-0000000A7M8-1X9M for linux-arm-kernel@lists.infradead.org; Tue, 18 Feb 2025 22:19:57 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 6ED6F5C5FA4; Tue, 18 Feb 2025 22:19:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BDAD7C4CEE2; Tue, 18 Feb 2025 22:19:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1739917195; bh=dN3387dQRDuWKSMiY3P0CpgGHOeUf6kNncbWDYA/oXU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PpVgBoRRucN9ARBU+yevGINKADw77hy7369xhh5yOd0nB4ECUbic+alWS1gL67rBb 2t2IZSkQ/DfgE9Q5o0R3Vr4EcVTeHmNKOlKQW7dxX6n/iA9tYVy5bH3hWDFCM0/Ztp nEXa/D97EVpVpKrq6jBctBI9praI3fWhsJ1wwLxA2Sz8ojkC2RS4BMpqNxegvl9FIc Nzw9//1UXHPnbpgOrJNY1+Sh56gOcyl4ZSRLsEHk5r/lF9XbecYQ9VTW7lxiqSaGio A1FNUQ76X0nfR7ZodU311vxcxSOrBv1bYEOBwe/YwGMUytP1oruCXi9SVjPxGWviK1 9YVOK0Z2tQmCg== Date: Tue, 18 Feb 2025 14:19:53 -0800 From: Namhyung Kim To: James Clark Cc: Ian Rogers , Yangyu Chen , linux-perf-users@vger.kernel.org, John Garry , Will Deacon , Mike Leach , Leo Yan , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Adrian Hunter , Liang Kan , Yoshihiro Furudera , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] perf vendor events arm64: Add A720/A520 events/metrics Message-ID: References: <1b8b234f-6435-45cf-83e7-8e86c84f075f@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250218_141956_505752_EE1873C3 X-CRM114-Status: GOOD ( 28.30 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Feb 18, 2025 at 09:30:23AM +0000, James Clark wrote: > > > On 18/02/2025 12:41 am, Ian Rogers wrote: > > On Fri, Feb 14, 2025 at 2:02 AM James Clark wrote: > > > > > > > > > > > > On 14/02/2025 5:49 am, Yangyu Chen wrote: > > > > > > > > > > > > > On 14 Feb 2025, at 09:12, Namhyung Kim wrote: > > > > > > > > > > Hello, > > > > > > > > > > On Thu, Feb 13, 2025 at 11:11:01PM +0800, Yangyu Chen wrote: > > > > > > This patchset adds the perf JSON files for the Cortex-A720 and Cortex-A520 > > > > > > processors. Some events have been tested on Raxda Orion 6 with Cix P1 SoC > > > > > > (8xA720 + 4xA520) running mainline Kernel with ACPI mode. > > > > > > > > > > I'm curious how the name of PMUs look like. It is cortex_a720 (or a520)? > > > > > > > > The name of PMUs comes from Arm's documentation. I have included these > > > > links in each patch. > > > > > > > > > I remember there's a logic to check the length of hex digits at the end. > > > > > > > > > > > > > Could you provide more details about this? > > > > > > > > > Ian, are you ok with this? > > > > > > > > > > > I think they wouldn't be merged because they're core PMUs, so should be > > > fine? Even though they would otherwise be merged because they're more > > > than 3 hex digits. > > > > Do we know the PMU names? If they are cortex_a520 and cortex_a720 then > > It will be "armv9_cortex_a720" from this line: > > PMUV3_INIT_SIMPLE(armv9_cortex_a720) I see, thanks! > > > this comment at least reads a little stale: > > https://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools-next.git/tree/tools/perf/util/pmus.c?h=perf-tools-next#n76 > > ``` > > /* > > * There is a '_{num}' suffix. For decimal suffixes any length > > * will do, for hexadecimal ensure more than 2 hex digits so > > * that S390's cpum_cf PMU doesn't match. > > */ > > ``` > > James is right that core PMUs aren't put on the same list as uncore/other PMUs. Ok, then I guess we're good. Thanks, Namhyung