Patch "perf vendor events intel: Fix broadwellde tma_info_system_dram_bw_use metric" has been added to the 6.6-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    perf vendor events intel: Fix broadwellde tma_info_system_dram_bw_use metric

to the 6.6-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     perf-vendor-events-intel-fix-broadwellde-tma_info_sy.patch
and it can be found in the queue-6.6 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit bf195140360268ab43def2ee34bc7d0d619af602
Author: Ian Rogers <irogers@xxxxxxxxxx>
Date:   Mon Sep 25 20:10:34 2023 -0700

    perf vendor events intel: Fix broadwellde tma_info_system_dram_bw_use metric
    
    [ Upstream commit 3779416eed25a843364b940decee452620a1de4b ]
    
    Broadwell-de has a consumer core and server uncore. The uncore_arb PMU
    isn't present and the broadwellx style cbox PMU should be used
    instead. Fix the tma_info_system_dram_bw_use metric to use the server
    metric rather than client.
    
    The associated converter script fix is in:
    https://github.com/intel/perfmon/pull/111
    
    Fixes: 7d124303d620 ("perf vendor events intel: Update broadwell variant events/metrics")
    Signed-off-by: Ian Rogers <irogers@xxxxxxxxxx>
    Reviewed-by: Kan Liang <kan.liang@xxxxxxxxxxxxxxx>
    Cc: Caleb Biggers <caleb.biggers@xxxxxxxxx>
    Cc: Perry Taylor <perry.taylor@xxxxxxxxx>
    Link: https://lore.kernel.org/r/20230926031034.1201145-1-irogers@xxxxxxxxxx
    Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/tools/perf/pmu-events/arch/x86/broadwellde/bdwde-metrics.json b/tools/perf/pmu-events/arch/x86/broadwellde/bdwde-metrics.json
index 8fc62b8f667d8..d0ef46c9bb612 100644
--- a/tools/perf/pmu-events/arch/x86/broadwellde/bdwde-metrics.json
+++ b/tools/perf/pmu-events/arch/x86/broadwellde/bdwde-metrics.json
@@ -652,7 +652,7 @@
     },
     {
         "BriefDescription": "Average external Memory Bandwidth Use for reads and writes [GB / sec]",
-        "MetricExpr": "64 * (arb@event\\=0x81\\,umask\\=0x1@ + arb@event\\=0x84\\,umask\\=0x1@) / 1e6 / duration_time / 1e3",
+        "MetricExpr": "64 * (UNC_M_CAS_COUNT.RD + UNC_M_CAS_COUNT.WR) / 1e9 / duration_time",
         "MetricGroup": "HPC;Mem;MemoryBW;SoC;tma_issueBW",
         "MetricName": "tma_info_system_dram_bw_use",
         "PublicDescription": "Average external Memory Bandwidth Use for reads and writes [GB / sec]. Related metrics: tma_fb_full, tma_mem_bandwidth, tma_sq_full"



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux