lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aIVX4RH7llNKQ4Xn@google.com>
Date: Sat, 26 Jul 2025 15:34:09 -0700
From: Namhyung Kim <namhyung@...nel.org>
To: "Falcon, Thomas" <thomas.falcon@...el.com>
Cc: "linux-actions@...ts.infradead.org" <linux-actions@...ts.infradead.org>,
	"alexander.shishkin@...ux.intel.com" <alexander.shishkin@...ux.intel.com>,
	"Biggers, Caleb" <caleb.biggers@...el.com>,
	"Hunter, Adrian" <adrian.hunter@...el.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"linux-perf-users@...r.kernel.org" <linux-perf-users@...r.kernel.org>,
	"mingo@...hat.com" <mingo@...hat.com>,
	"irogers@...gle.com" <irogers@...gle.com>,
	"kan.liang@...ux.intel.com" <kan.liang@...ux.intel.com>,
	"mark.rutland@....com" <mark.rutland@....com>,
	"peterz@...radead.org" <peterz@...radead.org>,
	"Wang, Weilin" <weilin.wang@...el.com>,
	"mani@...nel.org" <mani@...nel.org>,
	"acme@...nel.org" <acme@...nel.org>,
	"afaerber@...e.de" <afaerber@...e.de>,
	"jolsa@...nel.org" <jolsa@...nel.org>,
	"linux-arm-kernel@...ts.infradead.org" <linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH v1 00/19] Intel TMA 5.1 metrics and event updates

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@..._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@..._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@..._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@..._UOPS_RETIRED.ALL_LOADS@ / cpu_atom@...S_RETIRED.ALL@'
  parsing 'tma_info_serialization_%_tpause_cycles': '100 * cpu_atom@...IALIZATION.C01_MS_SCB@ / (5 * cpu_atom@..._CLK_UNHALTED.CORE@)'
  parsing 'tma_info_system_cpu_utilization': 'cpu_atom@..._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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ