Home
last modified time | relevance | path

Searched refs:ARM64_NCAPS (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-6.6/arch/arm64/kernel/
H A Dalternative.c33 static DECLARE_BITMAP(applied_alternatives, ARM64_NCAPS);
42 if (WARN_ON(cpucap >= ARM64_NCAPS)) in alternative_is_applied()
192 cpucap_mask, ARM64_NCAPS); in __apply_alternatives()
194 system_cpucaps, ARM64_NCAPS); in __apply_alternatives()
204 DECLARE_BITMAP(all_capabilities, ARM64_NCAPS); in apply_alternatives_vdso()
206 bitmap_fill(all_capabilities, ARM64_NCAPS); in apply_alternatives_vdso()
239 DECLARE_BITMAP(remaining_capabilities, ARM64_NCAPS); in __apply_alternatives_multi_stop()
242 ARM64_NCAPS); in __apply_alternatives_multi_stop()
286 DECLARE_BITMAP(all_capabilities, ARM64_NCAPS); in apply_alternatives_module()
288 bitmap_fill(all_capabilities, ARM64_NCAPS); in apply_alternatives_module()
[all...]
H A Dcpufeature.c108 DECLARE_BITMAP(system_cpucaps, ARM64_NCAPS);
110 static struct arm64_cpu_capabilities const __ro_after_init *cpucap_ptrs[ARM64_NCAPS];
112 DECLARE_BITMAP(boot_cpucaps, ARM64_NCAPS);
140 pr_emerg("0x%*pb\n", ARM64_NCAPS, &system_cpucaps); in dump_cpu_features()
972 if (WARN(caps->capability >= ARM64_NCAPS, in init_cpucap_indirect_list_from_array()
2977 for (i = 0; i < ARM64_NCAPS; i++) { in update_cpu_capabilities()
3031 for (i = 0; i < ARM64_NCAPS; i++) { in enable_cpu_capabilities()
3078 for (i = 0; i < ARM64_NCAPS; i++) { in verify_local_cpu_caps()
3111 if (i < ARM64_NCAPS) { in verify_local_cpu_caps()
3277 if (!WARN_ON(preemptible()) && n < ARM64_NCAPS) { in this_cpu_has_cap()
[all...]
/kernel/linux/linux-5.10/arch/arm64/include/asm/
H A Dcpufeature.h397 extern DECLARE_BITMAP(cpu_hwcaps, ARM64_NCAPS);
398 extern struct static_key_false cpu_hwcap_keys[ARM64_NCAPS];
402 #define ARM64_NPATCHABLE (ARM64_NCAPS + 1)
406 for_each_set_bit(cap, cpu_hwcaps, ARM64_NCAPS)
429 if (num >= ARM64_NCAPS) in cpus_have_cap()
444 if (num >= ARM64_NCAPS) in __cpus_have_const_cap()
488 if (num >= ARM64_NCAPS) { in cpus_set_cap()
490 num, ARM64_NCAPS); in cpus_set_cap()
H A Dlse.h19 extern struct static_key_false cpu_hwcap_keys[ARM64_NCAPS];
H A Dcpucaps.h73 #define ARM64_NCAPS 62 macro
H A Dalternative-macros.h7 #define ARM64_CB_PATCH ARM64_NCAPS
/kernel/linux/linux-5.10/arch/arm64/kernel/
H A Dalternative.c26 static DECLARE_BITMAP(applied_alternatives, ARM64_NCAPS);
35 if (WARN_ON(cpufeature >= ARM64_NCAPS)) in alternative_is_applied()
189 feature_mask, ARM64_NCAPS); in __apply_alternatives()
191 cpu_hwcaps, ARM64_NCAPS); in __apply_alternatives()
H A Dcpufeature.c101 DECLARE_BITMAP(cpu_hwcaps, ARM64_NCAPS);
103 static struct arm64_cpu_capabilities const __ro_after_init *cpu_hwcaps_ptrs[ARM64_NCAPS];
132 pr_emerg("0x%*pb\n", ARM64_NCAPS, &cpu_hwcaps); in dump_cpu_features()
135 DEFINE_STATIC_KEY_ARRAY_FALSE(cpu_hwcap_keys, ARM64_NCAPS);
816 if (WARN(caps->capability >= ARM64_NCAPS, in init_cpu_hwcaps_indirect_list_from_array()
2394 for (i = 0; i < ARM64_NCAPS; i++) { in update_cpu_capabilities()
2447 for (i = 0; i < ARM64_NCAPS; i++) { in enable_cpu_capabilities()
2497 for (i = 0; i < ARM64_NCAPS; i++) { in verify_local_cpu_caps()
2530 if (i < ARM64_NCAPS) { in verify_local_cpu_caps()
2672 if (!WARN_ON(preemptible()) && n < ARM64_NCAPS) { in this_cpu_has_cap()
[all...]
/kernel/linux/linux-6.6/arch/arm64/include/asm/
H A Dalternative-macros.h18 #if ARM64_NCAPS >= ARM64_CB_BIT
229 compiletime_assert(cpucap < ARM64_NCAPS, in alternative_has_cap_likely()
230 "cpucap must be < ARM64_NCAPS"); in alternative_has_cap_likely()
247 compiletime_assert(cpucap < ARM64_NCAPS,
248 "cpucap must be < ARM64_NCAPS");
H A Dcpufeature.h425 extern DECLARE_BITMAP(system_cpucaps, ARM64_NCAPS);
427 extern DECLARE_BITMAP(boot_cpucaps, ARM64_NCAPS);
430 for_each_set_bit(cap, system_cpucaps, ARM64_NCAPS)
453 if (num >= ARM64_NCAPS) in cpus_have_cap()
468 if (num >= ARM64_NCAPS) in __cpus_have_const_cap()

Completed in 13 milliseconds