[PATCH 1/3] perf vendor events arm64: fix swapped MetricGroup for Tegra410 L1 prefetcher metrics

Besar Wicaksono bwicaksono at nvidia.com
Thu May 14 08:51:02 PDT 2026



> -----Original Message-----
> From: Saurav Sachidanand <sauravsc at amazon.com>
> Sent: Monday, May 11, 2026 4:09 PM
> To: Arnaldo Carvalho de Melo <acme at kernel.org>
> Cc: Will Deacon <will at kernel.org>; Besar Wicaksono
> <bwicaksono at nvidia.com>; Ian Rogers <irogers at google.com>; Namhyung
> Kim <namhyung at kernel.org>; Leo Yan <leo.yan at linux.dev>; linux-perf-
> users at vger.kernel.org; linux-arm-kernel at lists.infradead.org; linux-
> kernel at vger.kernel.org; aghayev at amazon.com; juew at amazon.com; Saurav
> Sachidanand <sauravsc at amazon.com>
> Subject: [PATCH 1/3] perf vendor events arm64: fix swapped MetricGroup for
> Tegra410 L1 prefetcher metrics
> 
> External email: Use caution opening links or attachments
> 
> 
> The L1D prefetcher metrics (l1d_cache_rw_miss_ratio, l1d_demand_accesses,
> etc.) were incorrectly assigned to MetricGroup "L1I_Prefetcher_Effectiveness"
> and vice versa. This causes 'perf stat --metric-group
> L1D_Prefetcher_Effectiveness'
> to display L1I metrics, which is misleading.
> 
> Swap the MetricGroup assignments so L1D metrics are in the L1D group and
> L1I metrics are in the L1I group.
> 
> Fixes: 86ff690f45cc ("perf vendor events arm64: Add Tegra410 Olympus
> PMU events")
> Signed-off-by: Saurav Sachidanand <sauravsc at amazon.com>
> ---

Confirmed the L1I and L1D grouping was swapped by mistake.
Thanks for fixing it Saurav.

Reviewed-by: Besar Wicaksono <bwicaksono at nvidia.com>




More information about the linux-arm-kernel mailing list