aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/trigger/stm32-timer-trigger.c
diff options
context:
space:
mode:
authorCatalin Marinas <[email protected]>2025-06-25 11:34:32 +0000
committerCatalin Marinas <[email protected]>2025-06-30 16:42:03 +0000
commit3eb06f6ce3af65df4e9b3d8fc1d711fbfe7673b3 (patch)
tree06d3c165354ba6502e4b8d606616c2790a0efbce /drivers/iio/trigger/stm32-timer-trigger.c
parentLinux 6.16-rc1 (diff)
downloadkernel-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/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions