Cortex-A510: 2457168: workaround for AMEVCNTR01 incrementing incorrectly
configname: CONFIG_ARM64_ERRATUM_2457168
Linux Kernel Configuration
└─>
Kernel Features
└─>
ARM errata workarounds via the alternatives framework
└─>
Cortex-A510: 2457168: workaround for AMEVCNTR01 incrementing incorrectly
This option adds the workaround for ARM Cortex-A510 erratum 2457168.
The AMU counter AMEVCNTR01 (constant counter) should increment at the same rate
as the system counter. On affected Cortex-A510 cores AMEVCNTR01 increments
incorrectly giving a significantly higher output value.
Work around this problem by keeping the reference values of affected counters
to 0 thus signaling an error case. This effect is the same to firmware disabling
affected counters, in which case 0 will be returned when reading the disabled
counters.
The AMU counter AMEVCNTR01 (constant counter) should increment at the same rate
as the system counter. On affected Cortex-A510 cores AMEVCNTR01 increments
incorrectly giving a significantly higher output value.
Work around this problem by keeping the reference values of affected counters
to 0 thus signaling an error case. This effect is the same to firmware disabling
affected counters, in which case 0 will be returned when reading the disabled
counters.
If unsure, say Y.