mirror of
https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-09-09 12:01:15 +08:00
perf vendor events amd: Fix Zen 5 MAB allocation events
[ Upstream commit76b2cf07a6] The unit masks for PMCx041 vary across different generations of Zen processors. Fix the Zen 5 events based on PMCx041 as they incorrectly use the same unit masks as that of Zen 4. Fixes:45c072f253("perf vendor events amd: Add Zen 5 core events") Reported-by: Suyash Mahar <smahar@meta.com> Reviewed-by: Ian Rogers <irogers@google.com> Signed-off-by: Sandipan Das <sandipan.das@amd.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Ananth Narayan <ananth.narayan@amd.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: James Clark <james.clark@linaro.org> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Ravi Bangoria <ravi.bangoria@amd.com> Cc: Sandipan Das <sandipan.das@amd.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Sasha Levin
parent
f7ed915c96
commit
73e1f48e51
@@ -70,19 +70,19 @@
|
||||
"EventName": "ls_mab_alloc.load_store_allocations",
|
||||
"EventCode": "0x41",
|
||||
"BriefDescription": "Miss Address Buffer (MAB) entries allocated by a Load-Store (LS) pipe for load-store allocations.",
|
||||
"UMask": "0x3f"
|
||||
"UMask": "0x07"
|
||||
},
|
||||
{
|
||||
"EventName": "ls_mab_alloc.hardware_prefetcher_allocations",
|
||||
"EventCode": "0x41",
|
||||
"BriefDescription": "Miss Address Buffer (MAB) entries allocated by a Load-Store (LS) pipe for hardware prefetcher allocations.",
|
||||
"UMask": "0x40"
|
||||
"UMask": "0x08"
|
||||
},
|
||||
{
|
||||
"EventName": "ls_mab_alloc.all_allocations",
|
||||
"EventCode": "0x41",
|
||||
"BriefDescription": "Miss Address Buffer (MAB) entries allocated by a Load-Store (LS) pipe for all types of allocations.",
|
||||
"UMask": "0x7f"
|
||||
"UMask": "0x0f"
|
||||
},
|
||||
{
|
||||
"EventName": "ls_dmnd_fills_from_sys.local_l2",
|
||||
|
||||
Reference in New Issue
Block a user