diff options
| author | Catalin Marinas <[email protected]> | 2025-06-25 11:34:32 +0000 |
|---|---|---|
| committer | Catalin Marinas <[email protected]> | 2025-06-30 16:42:03 +0000 |
| commit | 3eb06f6ce3af65df4e9b3d8fc1d711fbfe7673b3 (patch) | |
| tree | 06d3c165354ba6502e4b8d606616c2790a0efbce /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | Linux 6.16-rc1 (diff) | |
| download | kernel-3eb06f6ce3af65df4e9b3d8fc1d711fbfe7673b3.tar.gz kernel-3eb06f6ce3af65df4e9b3d8fc1d711fbfe7673b3.zip | |
arm64: cpufeature: Introduce MATCH_ALL_EARLY_CPUS capability type
For system-wide capabilities, the kernel has the SCOPE_SYSTEM type. Such
capabilities are checked once the SMP boot has completed using the
sanitised ID registers. However, there is a need for a new capability
type similar in scope to the system one but with checking performed
locally on each CPU during boot (e.g. based on MIDR_EL1 which is not a
sanitised register).
Introduce ARM64_CPUCAP_MATCH_ALL_EARLY_CPUS which, together with
ARM64_CPUCAP_SCOPE_LOCAL_CPU, ensures that such capability is enabled
only if all early CPUs have it. For ease of use, define
ARM64_CPUCAP_EARLY_LOCAL_CPU_FEATURE which combines SCOPE_LOCAL_CPU,
PERMITTED_FOR_LATE_CPUS and MATCH_ALL_EARLY_CPUS.
Signed-off-by: MikoĊaj Lenczewski <[email protected]>
Reviewed-by: Suzuki K Poulose <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
