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 6A1E2C83F17 for ; Sat, 26 Jul 2025 22:37:00 +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-Type: 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=D1VRpWm+3u3w9qScZPldzrhhJok5xFtiDlF1PRrM2vA=; b=1ASFQJaUh2UbNHJKRd+00qfKRE fdTRg3vsoDWyJcfolWOLq0UVNa1D0pCssrx8WOpfZ8KSuX1O9UcKTJcUX/fyOlCf/2JGfamAVqbeh P3HoQQjwTaVfEHTJ126oNtiwrnsEmSxITZAHgiuJxAiUGB6WPEv435C8vSYiNzN6bzyRNcHzNzHyp s/uK9CPQwWlviN4gUHNatXWEKAGpgIE5HTHyH7n4jgWDBF6G246tIJHl85+pp5ZhwSoBlS9FAsguI I63umq7wTHg0dA1GrAhVm5rPCHAoij56jS6p8/fC52Xu3p5wFmkrid5UnwAxWOSXZBkbxThcu6E3M TdukegSQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1ufnVc-0000000C0ij-1SZn; Sat, 26 Jul 2025 22:36:52 +0000 Received: from nyc.source.kernel.org ([2604:1380:45d1:ec00::3]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1ufnT4-0000000C0Ui-1cG4; Sat, 26 Jul 2025 22:34:15 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 1459BA541F1; Sat, 26 Jul 2025 22:34:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 136AEC4CEED; Sat, 26 Jul 2025 22:34:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1753569252; bh=+JkP6YLaYa2vzgasG3+moYkph76KIl00QE4grj3zeKY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=EHtqa4ZfMRcCGPD1A9CfkJMxGQ48cbIPl6O9ovypOSAD2qO0pGbNNtq/vk5OKppIS 3lsKxR5Te6lajBqZ7eqHXr7t/mqOt26vEoETn/kAw1wO60E0vnk8S3drnTzvMTJQXD hFlynfXAjC+kSKjpXsNI589I6Ssw3F9ODceebOcz9YXI3igJt7cyk0ZgtIwjrNZVk0 PgnSn/rXF6UNtHofbaKrBMUQlFDHxu/4o+1umqZAsOzn7NhtHd+3v3YcAnylauSJ8s FQFKigEguga0CTNYDCuaEUKdfoGqM35fIf45DuPbvFf905dxiaECX+AgwMMGqiFeh1 QtbIURiLw1KYg== Date: Sat, 26 Jul 2025 15:34:09 -0700 From: Namhyung Kim To: "Falcon, Thomas" Cc: "linux-actions@lists.infradead.org" , "alexander.shishkin@linux.intel.com" , "Biggers, Caleb" , "Hunter, Adrian" , "linux-kernel@vger.kernel.org" , "linux-perf-users@vger.kernel.org" , "mingo@redhat.com" , "irogers@google.com" , "kan.liang@linux.intel.com" , "mark.rutland@arm.com" , "peterz@infradead.org" , "Wang, Weilin" , "mani@kernel.org" , "acme@kernel.org" , "afaerber@suse.de" , "jolsa@kernel.org" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH v1 00/19] Intel TMA 5.1 metrics and event updates Message-ID: References: <20250719034515.2000467-1-irogers@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250726_153414_551916_1393FB2C X-CRM114-Status: GOOD ( 10.07 ) 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, Jul 22, 2025 at 06:05:38PM -0700, Namhyung Kim wrote: > On Tue, Jul 22, 2025 at 06:14:30PM +0000, Falcon, Thomas wrote: > > On Fri, 2025-07-18 at 20:44 -0700, Ian Rogers wrote: > > > Update events from: > > > v1.31 -> v1.33 for alderlake > > > v1.09 -> v1.12 for arrowlake > > > v1.14 -> v1.16 for emeraldrapids > > > v1.10 -> v1.12 for graniterpaids > > > v1.14 -> v1.17 for lunarlake > > > v1.14 -> v1.16 for meteorlake > > > v1.28 -> v1.30 for sapphirerapids > > > > > > Update TMA 5.0 to 5.1 removing the slots event workaround as the patch series: > > > https://lore.kernel.org/lkml/20250719030517.1990983-1-irogers@google.com/ > > > is assumed. > > So I'll merge this series after the above patchset. Now I'm seeing this on my AMD machine. Found metric 'tma_info_system_cpu_utilization' metric expr cpu_atom@CPU_CLK_UNHALTED.REF_TSC@ / msr@tsc\,cpu\=cpu_atom@ for tma_info_system_cpu_utilization metric expr tma_info_system_cpus_utilized / #num_cpus_online for tma_info_system_cpu_utilization metric expr cpu_core@CPU_CLK_UNHALTED.REF_TSC@ / msr@tsc\,cpu\=cpu_core@ for tma_info_system_cpus_utilized found event msr@tsc,cpu=cpu_core@ found event cpu_core@CPU_CLK_UNHALTED.REF_TSC@ Parsing metric events '{msr/tsc,cpu=cpu_core,metric-id=msr!3tsc!0cpu!2cpu_core!3/,cpu_core/CPU_CLK_UNHALTED.REF_TSC,metric-id=cpu_core!3CPU_CLK_UNHALTED.REF_TSC!3/}:W' event syntax error: '{msr/tsc,cpu=cpu_core,metric-id=msr!3tsc!0cpu!2cpu_core!..' \___ Bad event or PMU Unable to find PMU or event on a PMU of 'msr' event syntax error: '{msr/tsc,cpu=cpu_core,metric-id=msr!3tsc!0cpu!2cpu_core!..' \___ not a valid PMU or CPU number event syntax error: '{msr/tsc,cpu=cpu_core,metric-id=msr!3tsc!0cpu!2cpu_core!..' \___ not a valid PMU or CPU number event syntax error: '{msr/tsc,cpu=cpu_core,metric-id=msr!3tsc!0cpu!2cpu_core!..' \___ not a valid PMU or CPU number event syntax error: '{msr/tsc,cpu=cpu_core,metric-id=msr!3tsc!0cpu!2cpu_core!..' \___ not a valid PMU or CPU number Broken metric tma_info_system_cpu_utilization ---- end(-1) ---- 9.3: Parsing of PMU event table metrics : FAILED! parsing 'tma_info_mem_mix_memload_ratio': '1e3 * cpu_atom@MEM_UOPS_RETIRED.ALL_LOADS@ / cpu_atom@UOPS_RETIRED.ALL@' parsing 'tma_info_serialization_%_tpause_cycles': '100 * cpu_atom@SERIALIZATION.C01_MS_SCB@ / (5 * cpu_atom@CPU_CLK_UNHALTED.CORE@)' parsing 'tma_info_system_cpu_utilization': 'cpu_atom@CPU_CLK_UNHALTED.REF_TSC@ / msr@tsc\,cpu\=cpu_atom@' check_parse_fake failed ---- end(-1) ---- 9.4: Parsing of PMU event table metrics with fake PMUs : FAILED! Thanks, Namhyung