Home
last modified time | relevance | path

Searched refs:elf_hwcap (Results 1 – 25 of 43) sorted by relevance

12

/linux-6.12.1/arch/s390/kernel/
Dprocessor.c30 unsigned long __read_mostly elf_hwcap; variable
164 if (hwcap_str[i] && (elf_hwcap & (1UL << i))) in show_cpu_summary()
183 elf_hwcap |= HWCAP_ESAN3; in setup_hwcaps()
186 elf_hwcap |= HWCAP_ZARCH; in setup_hwcaps()
190 elf_hwcap |= HWCAP_STFLE; in setup_hwcaps()
194 elf_hwcap |= HWCAP_MSA; in setup_hwcaps()
198 elf_hwcap |= HWCAP_LDISP; in setup_hwcaps()
201 elf_hwcap |= HWCAP_EIMM; in setup_hwcaps()
205 elf_hwcap |= HWCAP_ETF3EH; in setup_hwcaps()
209 elf_hwcap |= HWCAP_DFP; in setup_hwcaps()
[all …]
Dcpufeature.c38 return !!(elf_hwcap & BIT(feature->num)); in cpu_have_feature()
/linux-6.12.1/arch/loongarch/kernel/
Dcpu-probe.c24 unsigned int elf_hwcap __read_mostly;
25 EXPORT_SYMBOL_GPL(elf_hwcap);
96 elf_hwcap = HWCAP_LOONGARCH_CPUCFG; in cpu_probe_common()
120 elf_hwcap |= HWCAP_LOONGARCH_UAL; in cpu_probe_common()
124 elf_hwcap |= HWCAP_LOONGARCH_CRC32; in cpu_probe_common()
130 elf_hwcap |= HWCAP_LOONGARCH_LAM; in cpu_probe_common()
134 elf_hwcap |= HWCAP_LOONGARCH_FPU; in cpu_probe_common()
139 elf_hwcap |= HWCAP_LOONGARCH_LSX; in cpu_probe_common()
145 elf_hwcap |= HWCAP_LOONGARCH_LASX; in cpu_probe_common()
150 elf_hwcap |= HWCAP_LOONGARCH_COMPLEX; in cpu_probe_common()
[all …]
/linux-6.12.1/arch/arm/kernel/
Delf.c20 if (!(elf_hwcap & HWCAP_THUMB)) in elf_check_arch()
30 if ((eflags & EF_ARM_APCS_26) && !(elf_hwcap & HWCAP_26BIT)) in elf_check_arch()
36 if (flt_fmt == EF_ARM_VFP_FLOAT && !(elf_hwcap & HWCAP_VFP)) in elf_check_arch()
71 if (elf_hwcap & HWCAP_IWMMXT && in elf_set_personality()
Dsetup.c100 unsigned int elf_hwcap __read_mostly;
101 EXPORT_SYMBOL(elf_hwcap);
420 if (!(elf_hwcap & mask)) in patch_aeabi_idiv()
454 elf_hwcap |= HWCAP_IDIVA; in cpuid_init_hwcaps()
456 elf_hwcap |= HWCAP_IDIVT; in cpuid_init_hwcaps()
461 elf_hwcap |= HWCAP_LPAE; in cpuid_init_hwcaps()
507 elf_hwcap &= ~HWCAP_TLS; in elf_hwcap_fixup()
523 elf_hwcap &= ~HWCAP_SWP; in elf_hwcap_fixup()
727 elf_hwcap = list->elf_hwcap; in setup_processor()
733 elf_hwcap &= ~(HWCAP_THUMB | HWCAP_IDIVT); in setup_processor()
[all …]
Dthumbee.c64 elf_hwcap |= HWCAP_THUMBEE; in thumbee_init()
/linux-6.12.1/arch/riscv/kernel/
Dcpufeature.c31 unsigned long elf_hwcap __read_mostly;
703 if (elf_hwcap) in riscv_fill_hwcap_from_isa_string()
704 elf_hwcap &= this_hwcap; in riscv_fill_hwcap_from_isa_string()
706 elf_hwcap = this_hwcap; in riscv_fill_hwcap_from_isa_string()
813 if (elf_hwcap) in riscv_fill_hwcap_from_ext_list()
814 elf_hwcap &= this_hwcap; in riscv_fill_hwcap_from_ext_list()
816 elf_hwcap = this_hwcap; in riscv_fill_hwcap_from_ext_list()
873 if ((elf_hwcap & COMPAT_HWCAP_ISA_F) && !(elf_hwcap & COMPAT_HWCAP_ISA_D)) { in riscv_fill_hwcap()
875 elf_hwcap &= ~COMPAT_HWCAP_ISA_F; in riscv_fill_hwcap()
885 if (elf_hwcap & COMPAT_HWCAP_ISA_V) { in riscv_fill_hwcap()
[all …]
/linux-6.12.1/arch/arm/vfp/
Dvfpmodule.c935 elf_hwcap |= HWCAP_NEON; in vfp_init()
944 elf_hwcap |= HWCAP_VFPv3; in vfp_init()
952 elf_hwcap |= HWCAP_VFPv3D16; in vfp_init()
954 elf_hwcap |= HWCAP_VFPD32; in vfp_init()
958 elf_hwcap |= HWCAP_VFPv4; in vfp_init()
960 elf_hwcap |= HWCAP_ASIMDHP; in vfp_init()
962 elf_hwcap |= HWCAP_FPHP; in vfp_init()
971 elf_hwcap |= HWCAP_ASIMDDP; in vfp_init()
977 elf_hwcap |= HWCAP_ASIMDFHM; in vfp_init()
983 elf_hwcap |= HWCAP_ASIMDBF16; in vfp_init()
[all …]
/linux-6.12.1/arch/arm/include/asm/
Dhwcap.h12 #define ELF_HWCAP (elf_hwcap)
14 extern unsigned int elf_hwcap, elf_hwcap2;
Darch_timer.h137 elf_hwcap |= HWCAP_EVTSTRM; in arch_timer_set_evtstrm_feature()
142 return elf_hwcap & HWCAP_EVTSTRM; in arch_timer_have_evtstrm_feature()
Dtls.h27 ldr_va \tmp1, elf_hwcap
56 #define has_tls_reg (elf_hwcap & HWCAP_TLS)
Dptrace.h71 if (elf_hwcap & HWCAP_26BIT && mode == USR26_MODE) in valid_user_regs()
79 if (!(elf_hwcap & HWCAP_26BIT)) in valid_user_regs()
Dvfpmacros.h41 ldr \tmp, =elf_hwcap @ may not have MVFR regs
66 ldr \tmp, =elf_hwcap @ may not have MVFR regs
Dneon.h10 #define cpu_has_neon() (!!(elf_hwcap & HWCAP_NEON))
Dcpufeature.h32 return num < 32 ? elf_hwcap & BIT(num) : elf_hwcap2 & BIT(num - 32); in cpu_have_feature()
Dprocinfo.h34 unsigned int elf_hwcap; member
/linux-6.12.1/arch/mips/include/asm/
Dcpufeature.h13 #define MAX_CPU_FEATURES (8 * sizeof(elf_hwcap))
19 return elf_hwcap & (1UL << num); in cpu_have_feature()
/linux-6.12.1/arch/loongarch/include/asm/
Dcpufeature.h15 #define MAX_CPU_FEATURES (8 * sizeof(elf_hwcap))
21 return elf_hwcap & (1UL << num); in cpu_have_feature()
Delf.h277 #define ELF_HWCAP (elf_hwcap)
278 extern unsigned int elf_hwcap;
/linux-6.12.1/arch/arm/mach-imx/
Dcpu-imx5.c78 (elf_hwcap & HWCAP_NEON)) { in mx51_neon_fixup()
79 elf_hwcap &= ~HWCAP_NEON; in mx51_neon_fixup()
/linux-6.12.1/arch/mips/kernel/
Dcpu-probe.c37 unsigned int elf_hwcap __read_mostly;
38 EXPORT_SYMBOL_GPL(elf_hwcap);
670 elf_hwcap |= HWCAP_MIPS_CRC32; in decode_config5()
1944 elf_hwcap |= HWCAP_MIPS_R6; in cpu_probe()
1950 elf_hwcap |= HWCAP_MIPS_MSA; in cpu_probe()
1954 elf_hwcap |= HWCAP_MIPS_MIPS16; in cpu_probe()
1957 elf_hwcap |= HWCAP_MIPS_MDMX; in cpu_probe()
1960 elf_hwcap |= HWCAP_MIPS_MIPS3D; in cpu_probe()
1963 elf_hwcap |= HWCAP_MIPS_SMARTMIPS; in cpu_probe()
1966 elf_hwcap |= HWCAP_MIPS_DSP; in cpu_probe()
[all …]
Dcpu-r3k-probe.c29 unsigned int elf_hwcap __read_mostly;
30 EXPORT_SYMBOL_GPL(elf_hwcap);
/linux-6.12.1/arch/arm/crypto/
Dcurve25519-glue.c117 if (elf_hwcap & HWCAP_NEON) { in arm_curve25519_init()
127 if (IS_REACHABLE(CONFIG_CRYPTO_KPP) && elf_hwcap & HWCAP_NEON) in arm_curve25519_exit()
/linux-6.12.1/arch/s390/include/asm/
Delf.h245 extern unsigned long elf_hwcap;
246 #define ELF_HWCAP (elf_hwcap)
/linux-6.12.1/arch/arm/mach-pxa/
Dpm.c31 if (elf_hwcap & HWCAP_IWMMXT) in pxa_pm_enter()

12