Skip to content

Commit c0b60ce

Browse files
ilkka-koskinennamhyung
authored andcommitted
perf vendor events arm64: AmpereOne/AmpereOneX: Mark LD_RETIRED impacted by errata
Atomic instructions are both memory-reading and memory-writing instructions and so should be counted by both LD_RETIRED and ST_RETIRED performance monitoring events. However LD_RETIRED does not count atomic instructions. Signed-off-by: Ilkka Koskinen <ilkka@os.amperecomputing.com> Reviewed-by: James Clark <james.clark@linaro.org> Link: https://lore.kernel.org/r/20250313201559.11332-2-ilkka@os.amperecomputing.com Signed-off-by: Namhyung Kim <namhyung@kernel.org>
1 parent 7b172b9 commit c0b60ce

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

tools/perf/pmu-events/arch/arm64/ampere/ampereone/memory.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
[
22
{
3-
"ArchStdEvent": "LD_RETIRED"
3+
"ArchStdEvent": "LD_RETIRED",
4+
"Errata": "Errata AC03_CPU_52",
5+
"BriefDescription": "Instruction architecturally executed, condition code check pass, load. Impacted by errata -"
46
},
57
{
68
"ArchStdEvent": "MEM_ACCESS_RD"

tools/perf/pmu-events/arch/arm64/ampere/ampereonex/memory.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
[
22
{
3-
"ArchStdEvent": "LD_RETIRED"
3+
"ArchStdEvent": "LD_RETIRED",
4+
"Errata": "Errata AC04_CPU_21",
5+
"BriefDescription": "Instruction architecturally executed, condition code check pass, load. Impacted by errata -"
46
},
57
{
68
"ArchStdEvent": "MEM_ACCESS_RD"

0 commit comments

Comments
 (0)