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>
This commit is contained in:
Ilkka Koskinen 2025-03-13 20:15:58 +00:00 committed by Namhyung Kim
parent 7b172b92c1
commit c0b60ce461
2 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,8 @@
[
{
"ArchStdEvent": "LD_RETIRED"
"ArchStdEvent": "LD_RETIRED",
"Errata": "Errata AC03_CPU_52",
"BriefDescription": "Instruction architecturally executed, condition code check pass, load. Impacted by errata -"
},
{
"ArchStdEvent": "MEM_ACCESS_RD"

View File

@ -1,6 +1,8 @@
[
{
"ArchStdEvent": "LD_RETIRED"
"ArchStdEvent": "LD_RETIRED",
"Errata": "Errata AC04_CPU_21",
"BriefDescription": "Instruction architecturally executed, condition code check pass, load. Impacted by errata -"
},
{
"ArchStdEvent": "MEM_ACCESS_RD"