Searched refs:ARM64_NCAPS (Results 1 - 10 of 10) sorted by relevance
/kernel/linux/linux-6.6/arch/arm64/kernel/ |
H A D | alternative.c | 33 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 D | cpufeature.c | 108 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 D | cpufeature.h | 397 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 D | lse.h | 19 extern struct static_key_false cpu_hwcap_keys[ARM64_NCAPS];
|
H A D | cpucaps.h | 73 #define ARM64_NCAPS 62 macro
|
H A D | alternative-macros.h | 7 #define ARM64_CB_PATCH ARM64_NCAPS
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
H A D | alternative.c | 26 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 D | cpufeature.c | 101 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 D | alternative-macros.h | 18 #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 D | cpufeature.h | 425 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