]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf vendor events amd: Update Zen 5 data cache fill events
authorSandipan Das <sandipan.das@amd.com>
Fri, 18 Oct 2024 09:31:05 +0000 (15:01 +0530)
committerNamhyung Kim <namhyung@kernel.org>
Sat, 19 Oct 2024 16:41:51 +0000 (09:41 -0700)
commit46610ba41ef10b9570c5f5b12bde2f2eabb25bb5
treeac815940df91cc2e6b23e266d3c7cfb5aaa27d04
parent17aedce6e0ff80d5e210b7a773738877336f1ca5
perf vendor events amd: Update Zen 5 data cache fill events

For events that count data cache fills, some combinations of the unit
mask bits are useful for counting fills from local caches, DRAM or any
far sources. However, named events currently exist for PMCx044 (Any Data
Cache Fills) only. Add similar events for the following base events.
  * PMCx043 (Demand Data Cache Fills)
  * PMCx059 (Software Prefetch Data Cache Fills)
  * PMCx05A (Hardware Prefetch Data Cache Fills)

While at it, remove "ls_any_fills_from_sys.all_dram_io" since it is a
duplicate of "ls_any_fills_from_sys.dram_io_all".

Event descriptions can be found in Section 2.1.16.5.2 "Load/Store (LS)
Events" of the Processor Programming Reference (PPR) for AMD Family 1Ah
Model 02h Revision C1 Processors document available at the link below.

Link: https://bugzilla.kernel.org/attachment.cgi?id=307010
Signed-off-by: Sandipan Das <sandipan.das@amd.com>
Reviewed-by: Ian Rogers <irogers@google.com>
Cc: ananth.narayan@amd.com
Cc: ravi.bangoria@amd.com
Cc: eranian@google.com
Link: https://lore.kernel.org/r/e036e3c9fb962c939fa06c855b68e532ee609e01.1729242778.git.sandipan.das@amd.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/pmu-events/arch/x86/amdzen5/load-store.json