diff options
| author | Catalin Marinas <catalin.marinas@arm.com> | 2026-10-10 01:19:45 +0800 |
|---|---|---|
| committer | Catalin Marinas <catalin.marinas@arm.com> | 2026-10-12 14:33:53 +0100 |
| commit | cea68e7489a05cda0173eccf000260ede74410e3 (patch) | |
| tree | eac5f62b489eec20283339ab05b4dc0f76ca66cb /tools/perf/scripts/python | |
| parent | 93f51579e7df248780214094418f205253383cc5 (diff) | |
arm64: cpufeature: Add ARM64_CPUCAP_SOC_ERRATUM for SoC-level errata
Add a new capability type for SoC-level (not CPU-level) errata. Unlike
CPU errata which need to be checked on every CPU, SoC errata are probed
once on the boot CPU and the result applies to all CPUs. Secondary
and late CPUs skip the matches() check but still get cpu_enable() called.
This avoids redundant probing on secondary and late CPUs for errata
that are SoC-wide properties, not per-CPU.
Convert ARM64_ERRATUM_4311569 from ARM64_CPUCAP_SYSTEM_FEATURE to
ARM64_CPUCAP_SOC_ERRATUM since it is a SoC-level property already
determined at boot. This changes its scope from SCOPE_SYSTEM to
SCOPE_BOOT_CPU, so the workaround is now enabled before the secondary
CPUs are brought up. This is safe as the erratum is enabled via an
early_param, parsed before the boot CPU capabilities are detected.
Co-developed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
