[PATCH v3 0/2] arm64: errata: Share broken AMU constant-counter handling

From: Beata Michalska

Date: Tue Sep 29 2026 - 11:43:56 EST


This series factors out the existing Cortex-A510 erratum 2457168 AMU constant
counter workaround into a generic broken AMU constant-counter capability,
then wires Cortex-A725 erratum 3821522 into the same handling.

---
v3:
- splitted the commit and droped changes for cpucap_is_possible
---

Beata Michalska (2):
arm64: errata: Factor out broken AMU const counter cap
arm64: errata: Add Cortex-A725 erratum 3821522 workaround

Documentation/arch/arm64/silicon-errata.rst | 2 ++
arch/arm64/Kconfig | 30 +++++++++++++++++++++
arch/arm64/kernel/cpu_errata.c | 29 +++++++++++++++-----
arch/arm64/kernel/cpufeature.c | 2 +-
arch/arm64/kernel/topology.c | 16 ++++++-----
arch/arm64/tools/cpucaps | 2 +-
6 files changed, 66 insertions(+), 15 deletions(-)

--
2.43.0