Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Ilkka Koskinen and committed by
Namhyung Kim
c0b60ce4 7b172b92

+6 -2
+3 -1
tools/perf/pmu-events/arch/arm64/ampere/ampereone/memory.json
··· 1 1 [ 2 2 { 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 -" 4 6 }, 5 7 { 6 8 "ArchStdEvent": "MEM_ACCESS_RD"
+3 -1
tools/perf/pmu-events/arch/arm64/ampere/ampereonex/memory.json
··· 1 1 [ 2 2 { 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 -" 4 6 }, 5 7 { 6 8 "ArchStdEvent": "MEM_ACCESS_RD"