[PATCH v2 0/3] arm64: errata: Update AMU workarounds

From: Beata Michalska

Date: Thu Nov 12 2026 - 17:40:22 EST


Hi All,

This short series updates errata for AMU core & const counters.
The last patch in the series tries to optimize a bit the paired
readings of both counters, so that the workaround checks do not
skew the results. It is also intentionally the last one, as it
will not apply on older stable kernels.

---
v2:
- Reorganised the amu_read_core_const_ctrs as suggested by Chris
- Rephrased the comments to be more accurate

Beata Michalska (3):
arm64: errata: Extend the workaround for broken AMEVCNTR01 counter
arm64: errata: Add Cortex-A715/A720 AMU core counter workaround
arm64: topology: Reduce the skew for AMU feedback counter sampling

Documentation/arch/arm64/silicon-errata.rst | 12 ++++++
arch/arm64/Kconfig | 44 +++++++++++++++++++--
arch/arm64/kernel/cpu_errata.c | 29 ++++++++++++++
arch/arm64/kernel/cpufeature.c | 3 +-
arch/arm64/kernel/topology.c | 43 ++++++++++++--------
arch/arm64/tools/cpucaps | 1 +
6 files changed, 111 insertions(+), 21 deletions(-)

--
2.43.0