/linux-4.1.27/arch/x86/include/asm/ |
D | cpufeature.h | 338 #define boot_cpu_has(bit) cpu_has(&boot_cpu_data, bit) macro 351 #define cpu_has_fpu boot_cpu_has(X86_FEATURE_FPU) 352 #define cpu_has_de boot_cpu_has(X86_FEATURE_DE) 353 #define cpu_has_pse boot_cpu_has(X86_FEATURE_PSE) 354 #define cpu_has_tsc boot_cpu_has(X86_FEATURE_TSC) 355 #define cpu_has_pge boot_cpu_has(X86_FEATURE_PGE) 356 #define cpu_has_apic boot_cpu_has(X86_FEATURE_APIC) 357 #define cpu_has_sep boot_cpu_has(X86_FEATURE_SEP) 358 #define cpu_has_mtrr boot_cpu_has(X86_FEATURE_MTRR) 359 #define cpu_has_mmx boot_cpu_has(X86_FEATURE_MMX) [all …]
|
D | xsave.h | 82 if (boot_cpu_has(X86_FEATURE_XSAVES)) in xsave_state_booting() 109 if (boot_cpu_has(X86_FEATURE_XSAVES)) in xrstor_state_booting()
|
D | apic.h | 450 if (APIC_XAPIC(ver) || boot_cpu_has(X86_FEATURE_EXTD_APICID)) in default_get_apic_id()
|
/linux-4.1.27/arch/x86/vdso/ |
D | vdso32-setup.c | 53 #define vdso32_sysenter() (boot_cpu_has(X86_FEATURE_SYSENTER32)) 54 #define vdso32_syscall() (boot_cpu_has(X86_FEATURE_SYSCALL32)) 58 #define vdso32_sysenter() (boot_cpu_has(X86_FEATURE_SEP))
|
/linux-4.1.27/lib/raid6/ |
D | sse1.c | 37 return boot_cpu_has(X86_FEATURE_MMX) && in raid6_have_sse1_or_mmxext() 38 (boot_cpu_has(X86_FEATURE_XMM) || in raid6_have_sse1_or_mmxext() 39 boot_cpu_has(X86_FEATURE_MMXEXT)); in raid6_have_sse1_or_mmxext()
|
D | recov_ssse3.c | 17 return boot_cpu_has(X86_FEATURE_XMM) && in raid6_has_ssse3() 18 boot_cpu_has(X86_FEATURE_XMM2) && in raid6_has_ssse3() 19 boot_cpu_has(X86_FEATURE_SSSE3); in raid6_has_ssse3()
|
D | sse2.c | 32 return boot_cpu_has(X86_FEATURE_MMX) && in raid6_have_sse2() 33 boot_cpu_has(X86_FEATURE_FXSR) && in raid6_have_sse2() 34 boot_cpu_has(X86_FEATURE_XMM) && in raid6_have_sse2() 35 boot_cpu_has(X86_FEATURE_XMM2); in raid6_have_sse2()
|
D | recov_avx2.c | 18 return boot_cpu_has(X86_FEATURE_AVX2) && in raid6_has_avx2() 19 boot_cpu_has(X86_FEATURE_AVX); in raid6_has_avx2()
|
D | avx2.c | 36 return boot_cpu_has(X86_FEATURE_AVX2) && boot_cpu_has(X86_FEATURE_AVX); in raid6_have_avx2()
|
D | x86.h | 52 static inline int boot_cpu_has(int flag) in boot_cpu_has() function
|
D | mmx.c | 34 return boot_cpu_has(X86_FEATURE_MMX); in raid6_have_mmx()
|
/linux-4.1.27/arch/x86/crypto/ |
D | sha1_ssse3_glue.c | 144 if (avx_usable() && cpu_has_avx2 && boot_cpu_has(X86_FEATURE_BMI1) && in avx2_usable() 145 boot_cpu_has(X86_FEATURE_BMI2)) in avx2_usable()
|
D | sha256_ssse3_glue.c | 161 if (boot_cpu_has(X86_FEATURE_AVX2) && boot_cpu_has(X86_FEATURE_BMI2)) in sha256_ssse3_mod_init()
|
D | sha512_ssse3_glue.c | 160 if (boot_cpu_has(X86_FEATURE_AVX2)) in sha512_ssse3_mod_init()
|
D | aesni-intel_glue.c | 1587 if (boot_cpu_has(X86_FEATURE_AVX2)) { in aesni_init() 1594 if (boot_cpu_has(X86_FEATURE_AVX)) { in aesni_init()
|
/linux-4.1.27/arch/x86/kernel/ |
D | tsc.c | 938 if (boot_cpu_has(X86_FEATURE_CONSTANT_TSC)) in cpufreq_tsc() 1020 if (boot_cpu_has(X86_FEATURE_TSC_RELIABLE)) in check_system_tsc_reliable() 1038 if (boot_cpu_has(X86_FEATURE_CONSTANT_TSC)) in unsynchronized_tsc() 1144 if (boot_cpu_has(X86_FEATURE_NONSTOP_TSC_S3)) in init_tsc_clocksource() 1151 if (boot_cpu_has(X86_FEATURE_TSC_RELIABLE)) { in init_tsc_clocksource()
|
D | alternative.c | 220 } else if (boot_cpu_has(X86_FEATURE_NOPL)) { in arch_init_ideal_nops() 234 if (boot_cpu_has(X86_FEATURE_K8)) in arch_init_ideal_nops() 236 else if (boot_cpu_has(X86_FEATURE_K7)) in arch_init_ideal_nops() 373 if (!boot_cpu_has(a->cpuid)) { in apply_alternatives()
|
D | machine_kexec_32.c | 252 boot_cpu_has(X86_FEATURE_PAE), in machine_kexec()
|
D | process.c | 396 if (!boot_cpu_has(X86_FEATURE_NONSTOP_TSC)) in amd_e400_idle()
|
D | hpet.c | 582 if (boot_cpu_has(X86_FEATURE_ARAT)) in hpet_msi_capability_lookup() 937 if (boot_cpu_has(X86_FEATURE_ARAT)) in hpet_late_init()
|
/linux-4.1.27/arch/x86/kernel/cpu/mcheck/ |
D | mce-inject.c | 217 if (!boot_cpu_has(X86_FEATURE_MCE) || !boot_cpu_has(X86_FEATURE_MCA)) in mce_write()
|
/linux-4.1.27/lib/ |
D | atomic64_test.c | 160 boot_cpu_has(X86_FEATURE_CX8) ? "with" : "without", in test_atomic64() 161 boot_cpu_has(X86_FEATURE_XMM) ? "with" : "without"); in test_atomic64()
|
/linux-4.1.27/drivers/thermal/ |
D | intel_powerclamp.c | 711 if (!boot_cpu_has(X86_FEATURE_NONSTOP_TSC) || in powerclamp_probe() 712 !boot_cpu_has(X86_FEATURE_CONSTANT_TSC) || in powerclamp_probe() 713 !boot_cpu_has(X86_FEATURE_MWAIT) || in powerclamp_probe() 714 !boot_cpu_has(X86_FEATURE_ARAT)) in powerclamp_probe()
|
/linux-4.1.27/drivers/lguest/x86/ |
D | core.c | 264 if (boot_cpu_has(X86_FEATURE_SEP)) in lguest_arch_run_guest() 282 if (boot_cpu_has(X86_FEATURE_SEP)) in lguest_arch_run_guest() 681 if (boot_cpu_has(X86_FEATURE_CONSTANT_TSC) && !check_tsc_unstable()) in lguest_arch_init_hypercalls()
|
/linux-4.1.27/arch/x86/mm/ |
D | pat.c | 663 !(boot_cpu_has(X86_FEATURE_MTRR) || in phys_mem_access_prot_allowed() 664 boot_cpu_has(X86_FEATURE_K6_MTRR) || in phys_mem_access_prot_allowed() 665 boot_cpu_has(X86_FEATURE_CYRIX_ARR) || in phys_mem_access_prot_allowed() 666 boot_cpu_has(X86_FEATURE_CENTAUR_MCR)) && in phys_mem_access_prot_allowed()
|
/linux-4.1.27/arch/x86/kernel/cpu/ |
D | mshyperv.c | 79 if (!boot_cpu_has(X86_FEATURE_HYPERVISOR)) in ms_hyperv_platform()
|
D | perf_event_intel_ds.c | 1073 if (!boot_cpu_has(X86_FEATURE_DTES64)) in intel_ds_init() 1076 x86_pmu.bts = boot_cpu_has(X86_FEATURE_BTS); in intel_ds_init() 1077 x86_pmu.pebs = boot_cpu_has(X86_FEATURE_PEBS); in intel_ds_init()
|
D | common.c | 1013 if (!boot_cpu_has(X86_FEATURE_SEP)) in enable_sep_cpu() 1511 return boot_cpu_has(bit); in __static_cpu_has_safe()
|
D | perf_event_intel_bts.c | 517 if (!boot_cpu_has(X86_FEATURE_DTES64) || !x86_pmu.bts) in bts_init()
|
D | perf_event_amd_ibs.c | 691 if (!boot_cpu_has(X86_FEATURE_IBS)) in __get_ibs_caps()
|
D | perf_event_intel.c | 2423 if (!boot_cpu_has(X86_FEATURE_RTM) && !boot_cpu_has(X86_FEATURE_HLE)) in hsw_hw_config() 3038 if (boot_cpu_has(X86_FEATURE_PDCM)) { in intel_pmu_init()
|
D | intel_cacheinfo.c | 269 if (boot_cpu_has(X86_FEATURE_AMD_DCM)) { in amd_cpuid4()
|
D | perf_event.c | 265 boot_cpu_has(X86_FEATURE_HYPERVISOR) ? KERN_INFO : KERN_ERR, in check_hw_exists()
|
/linux-4.1.27/arch/x86/platform/intel-mid/ |
D | intel-mid.c | 95 if (!boot_cpu_has(X86_FEATURE_ARAT)) in intel_mid_time_init()
|
/linux-4.1.27/drivers/acpi/ |
D | acpi_pad.c | 52 if (!boot_cpu_has(X86_FEATURE_MWAIT)) in power_saving_mwait_init() 81 if (!boot_cpu_has(X86_FEATURE_NONSTOP_TSC)) in power_saving_mwait_init()
|
D | processor_perflib.c | 464 if(boot_cpu_has(X86_FEATURE_EST)) in acpi_processor_get_performance_info()
|
D | processor_idle.c | 247 if (boot_cpu_has(X86_FEATURE_NONSTOP_TSC)) in tsc_check_state()
|
/linux-4.1.27/drivers/cpufreq/ |
D | p4-clockmod.c | 263 if (!x86_match_cpu(cpufreq_p4_id) || !boot_cpu_has(X86_FEATURE_ACPI)) in cpufreq_p4_init()
|
D | acpi-cpufreq.c | 900 if (boot_cpu_has(X86_FEATURE_CPB) || boot_cpu_has(X86_FEATURE_IDA)) { in acpi_cpufreq_boost_init()
|
/linux-4.1.27/arch/x86/power/ |
D | cpu.c | 210 if (boot_cpu_has(X86_FEATURE_SEP)) in __restore_processor_state()
|
/linux-4.1.27/drivers/powercap/ |
D | intel_rapl.c | 914 if (!boot_cpu_has(X86_FEATURE_PTS) || !boot_cpu_has(X86_FEATURE_PLN)) in package_power_limit_irq_save() 941 if (!boot_cpu_has(X86_FEATURE_PTS) || !boot_cpu_has(X86_FEATURE_PLN)) in package_power_limit_irq_restore()
|
/linux-4.1.27/arch/x86/kvm/ |
D | pmu.c | 509 (boot_cpu_has(X86_FEATURE_HLE) || boot_cpu_has(X86_FEATURE_RTM)) && in kvm_pmu_cpuid_update()
|
D | svm.c | 885 if (boot_cpu_has(X86_FEATURE_NX)) in svm_hardware_setup() 888 if (boot_cpu_has(X86_FEATURE_FXSR_OPT)) in svm_hardware_setup() 891 if (boot_cpu_has(X86_FEATURE_TSCRATEMSR)) { in svm_hardware_setup() 919 if (!boot_cpu_has(X86_FEATURE_NPT)) in svm_hardware_setup() 1008 if (!boot_cpu_has(X86_FEATURE_TSCRATEMSR)) { in svm_set_tsc_khz() 1192 if (boot_cpu_has(X86_FEATURE_PAUSEFILTER)) { in init_vmcb() 3026 if (!boot_cpu_has(X86_FEATURE_DECODEASSISTS)) in dr_interception() 3227 if (!boot_cpu_has(X86_FEATURE_LBRV)) { in svm_set_msr() 4103 if (boot_cpu_has(X86_FEATURE_NRIPS)) in svm_set_supported_cpuid()
|
D | x86.c | 5524 else if (!boot_cpu_has(X86_FEATURE_CONSTANT_TSC)) in tsc_khz_changed() 5648 if (!boot_cpu_has(X86_FEATURE_CONSTANT_TSC)) { in kvm_timer_init() 5853 if (!boot_cpu_has(X86_FEATURE_CONSTANT_TSC)) in kvm_arch_exit()
|
D | vmx.c | 1730 if (boot_cpu_has(X86_FEATURE_SMEP)) in update_transition_efer() 1858 if (boot_cpu_has(X86_FEATURE_MPX)) in vmx_save_host_state() 6100 if (boot_cpu_has(X86_FEATURE_NX)) in hardware_setup()
|
/linux-4.1.27/arch/x86/xen/ |
D | setup.c | 793 if (!boot_cpu_has(sysenter_feature)) in xen_enable_sysenter() 813 if (boot_cpu_has(X86_FEATURE_SYSCALL32)) { in xen_enable_syscall()
|
/linux-4.1.27/drivers/idle/ |
D | intel_idle.c | 888 if (boot_cpu_has(X86_FEATURE_ARAT)) /* Always Reliable APIC Timer */ in intel_idle_probe() 989 !boot_cpu_has(X86_FEATURE_NONSTOP_TSC)) in intel_idle_cpuidle_driver_init()
|
/linux-4.1.27/arch/x86/crypto/sha-mb/ |
D | sha1_mb.c | 866 if (!boot_cpu_has(X86_FEATURE_AVX2) || in sha1_mb_mod_init() 867 !boot_cpu_has(X86_FEATURE_BMI2)) in sha1_mb_mod_init()
|
/linux-4.1.27/arch/x86/kernel/apic/ |
D | vector.c | 623 if (boot_cpu_has(X86_FEATURE_EXTAPIC)) { in print_local_APIC()
|
D | apic.c | 327 else if (boot_cpu_has(X86_FEATURE_TSC_DEADLINE_TIMER)) in __setup_APIC_LVTT() 688 if (boot_cpu_has(X86_FEATURE_TSC_DEADLINE_TIMER)) { in calibrate_APIC_clock()
|
/linux-4.1.27/drivers/dma/ioat/ |
D | dca.c | 105 if (boot_cpu_has(X86_FEATURE_DCA)) in system_has_dca_enabled()
|
/linux-4.1.27/drivers/gpu/drm/gma500/ |
D | mmu.c | 482 if (boot_cpu_has(X86_FEATURE_CLFLUSH)) { in psb_mmu_driver_init()
|
/linux-4.1.27/sound/pci/ |
D | intel8x0.c | 2982 result = result || boot_cpu_has(X86_FEATURE_HYPERVISOR); in snd_intel8x0_inside_vm()
|