Home
last modified time | relevance | path

Searched refs:boot_cpu_data (Results 1 – 180 of 180) sorted by relevance

/linux-4.4.14/arch/sh/kernel/cpu/sh4/
Dprobe.c38 boot_cpu_data.icache.way_incr = (1 << 13); in cpu_probe()
39 boot_cpu_data.icache.entry_shift = 5; in cpu_probe()
40 boot_cpu_data.icache.sets = 256; in cpu_probe()
41 boot_cpu_data.icache.ways = 1; in cpu_probe()
42 boot_cpu_data.icache.linesz = L1_CACHE_BYTES; in cpu_probe()
47 boot_cpu_data.dcache.way_incr = (1 << 14); in cpu_probe()
48 boot_cpu_data.dcache.entry_shift = 5; in cpu_probe()
49 boot_cpu_data.dcache.sets = 512; in cpu_probe()
50 boot_cpu_data.dcache.ways = 1; in cpu_probe()
51 boot_cpu_data.dcache.linesz = L1_CACHE_BYTES; in cpu_probe()
[all …]
Dperf_event.c261 if (!(boot_cpu_data.flags & CPU_HAS_PERF_COUNTER)) { in sh7750_pmu_init()
/linux-4.4.14/arch/sh/kernel/cpu/sh2a/
Dprobe.c18 boot_cpu_data.family = CPU_FAMILY_SH2A; in cpu_probe()
21 boot_cpu_data.flags |= CPU_HAS_OP32; in cpu_probe()
24 boot_cpu_data.type = CPU_SH7201; in cpu_probe()
25 boot_cpu_data.flags |= CPU_HAS_FPU; in cpu_probe()
27 boot_cpu_data.type = CPU_SH7203; in cpu_probe()
28 boot_cpu_data.flags |= CPU_HAS_FPU; in cpu_probe()
30 boot_cpu_data.type = CPU_SH7263; in cpu_probe()
31 boot_cpu_data.flags |= CPU_HAS_FPU; in cpu_probe()
33 boot_cpu_data.type = CPU_SH7264; in cpu_probe()
34 boot_cpu_data.flags |= CPU_HAS_FPU; in cpu_probe()
[all …]
/linux-4.4.14/arch/sh/kernel/cpu/sh3/
Dprobe.c53 boot_cpu_data.dcache.ways = 4; in cpu_probe()
54 boot_cpu_data.dcache.entry_shift = 4; in cpu_probe()
55 boot_cpu_data.dcache.linesz = L1_CACHE_BYTES; in cpu_probe()
56 boot_cpu_data.dcache.flags = 0; in cpu_probe()
63 boot_cpu_data.dcache.way_incr = (1 << 11); in cpu_probe()
64 boot_cpu_data.dcache.entry_mask = 0x7f0; in cpu_probe()
65 boot_cpu_data.dcache.sets = 128; in cpu_probe()
66 boot_cpu_data.type = CPU_SH7708; in cpu_probe()
68 boot_cpu_data.flags |= CPU_HAS_MMU_PAGE_ASSOC; in cpu_probe()
70 boot_cpu_data.dcache.way_incr = (1 << 12); in cpu_probe()
[all …]
/linux-4.4.14/arch/parisc/kernel/
Dprocessor.c45 struct system_cpuinfo_parisc boot_cpu_data __read_mostly;
46 EXPORT_SYMBOL(boot_cpu_data);
107 if (boot_cpu_data.cpu_count > 0) { in processor_probe()
116 cpuid = boot_cpu_data.cpu_count; in processor_probe()
163 boot_cpu_data.cpu_count--; in processor_probe()
173 boot_cpu_data.cpu_count++; in processor_probe()
244 memset(&boot_cpu_data, 0, sizeof(boot_cpu_data)); in collect_boot_cpu_data()
246 boot_cpu_data.cpu_hz = 100 * PAGE0->mem_10msec; /* Hz of this PARISC */ in collect_boot_cpu_data()
249 #define p ((unsigned long *)&boot_cpu_data.pdc.model) in collect_boot_cpu_data()
250 if (pdc_model_info(&boot_cpu_data.pdc.model) == PDC_OK) in collect_boot_cpu_data()
[all …]
Dperf.c508 if (boot_cpu_data.cpu_type == pcxu || in perf_init()
509 boot_cpu_data.cpu_type == pcxu_) { in perf_init()
511 } else if (boot_cpu_data.cpu_type == pcxw || in perf_init()
512 boot_cpu_data.cpu_type == pcxw_ || in perf_init()
513 boot_cpu_data.cpu_type == pcxw2 || in perf_init()
514 boot_cpu_data.cpu_type == mako || in perf_init()
515 boot_cpu_data.cpu_type == mako2) { in perf_init()
517 if (boot_cpu_data.cpu_type == pcxw2 || in perf_init()
518 boot_cpu_data.cpu_type == mako || in perf_init()
519 boot_cpu_data.cpu_type == mako2) in perf_init()
Dsetup.c91 switch (boot_cpu_data.cpu_type) { in dma_ops_init()
217 switch (boot_cpu_data.cpu_type) { in parisc_proc_mkdir()
336 boot_cpu_data.cpu_name, in parisc_init()
337 boot_cpu_data.cpu_hz / 1000000, in parisc_init()
338 boot_cpu_data.cpu_hz % 1000000 ); in parisc_init()
Dcache.c228 if ((boot_cpu_data.pdc.capabilities & PDC_MODEL_NVA_MASK) == in parisc_cache_init()
242 switch (boot_cpu_data.cpu_type) { in disable_sr_hashing()
Dfirmware.c796 #define IS_SPROCKETS() (strlen(boot_cpu_data.pdc.sys_model_name) == 14 && \ in pdc_get_initiator()
797 strncmp(boot_cpu_data.pdc.sys_model_name, "9000/785", 8) == 0) in pdc_get_initiator()
Dtraps.c353 if (boot_cpu_data.cpu_type >= pcxu) { in transfer_pim_to_trap_frame()
/linux-4.4.14/arch/sh/kernel/cpu/sh5/
Dprobe.c32 boot_cpu_data.type = CPU_SH5_103; in cpu_probe()
35 boot_cpu_data.type = CPU_SH5_101; in cpu_probe()
37 boot_cpu_data.family = CPU_FAMILY_SH5; in cpu_probe()
42 boot_cpu_data.icache.ways = 4; in cpu_probe()
43 boot_cpu_data.icache.sets = 256; in cpu_probe()
44 boot_cpu_data.icache.linesz = L1_CACHE_BYTES; in cpu_probe()
45 boot_cpu_data.icache.way_incr = (1 << 13); in cpu_probe()
46 boot_cpu_data.icache.entry_shift = 5; in cpu_probe()
47 boot_cpu_data.icache.way_size = boot_cpu_data.icache.sets * in cpu_probe()
48 boot_cpu_data.icache.linesz; in cpu_probe()
[all …]
/linux-4.4.14/arch/sh/mm/
Dcache.c62 if (boot_cpu_data.dcache.n_aliases && page_mapped(page) && in copy_to_user_page()
69 if (boot_cpu_data.dcache.n_aliases) in copy_to_user_page()
81 if (boot_cpu_data.dcache.n_aliases && page_mapped(page) && in copy_from_user_page()
88 if (boot_cpu_data.dcache.n_aliases) in copy_from_user_page()
100 if (boot_cpu_data.dcache.n_aliases && page_mapped(from) && in copy_user_highpage()
140 if (!boot_cpu_data.dcache.n_aliases) in __update_cache()
156 if (boot_cpu_data.dcache.n_aliases && page_mapped(page) && in __flush_anon_page()
177 if (boot_cpu_data.dcache.n_aliases == 0) in flush_cache_mm()
185 if (boot_cpu_data.dcache.n_aliases == 0) in flush_cache_dup_mm()
254 boot_cpu_data.icache.ways, in emit_cache_params()
[all …]
Dcache-shx3.c27 if (boot_cpu_data.dcache.n_aliases || boot_cpu_data.icache.n_aliases) { in shx3_cache_init()
30 boot_cpu_data.icache.n_aliases = 0; in shx3_cache_init()
31 boot_cpu_data.dcache.n_aliases = 0; in shx3_cache_init()
Dcache-sh4.c77 n = boot_cpu_data.icache.n_aliases; in sh4_flush_icache_range()
97 if ((boot_cpu_data.flags & CPU_HAS_P2_FLUSH_BUG) || in flush_cache_one()
293 if (boot_cpu_data.dcache.n_aliases == 0) in sh4_flush_cache_range()
326 dcache = &boot_cpu_data.dcache; in __flush_cache_one()
/linux-4.4.14/arch/sh/kernel/cpu/sh2/
Dprobe.c19 boot_cpu_data.type = CPU_SH7619; in cpu_probe()
20 boot_cpu_data.dcache.ways = 4; in cpu_probe()
21 boot_cpu_data.dcache.way_incr = (1<<12); in cpu_probe()
22 boot_cpu_data.dcache.sets = 256; in cpu_probe()
23 boot_cpu_data.dcache.entry_shift = 4; in cpu_probe()
24 boot_cpu_data.dcache.linesz = L1_CACHE_BYTES; in cpu_probe()
25 boot_cpu_data.dcache.flags = 0; in cpu_probe()
30 boot_cpu_data.dcache.flags |= SH_CACHE_COMBINED; in cpu_probe()
31 boot_cpu_data.icache = boot_cpu_data.dcache; in cpu_probe()
32 boot_cpu_data.family = CPU_FAMILY_SH2; in cpu_probe()
/linux-4.4.14/arch/avr32/kernel/
Dcpu.c274 boot_cpu_data.arch_type = arch_id; in setup_processor()
275 boot_cpu_data.cpu_type = cpu_id; in setup_processor()
276 boot_cpu_data.arch_revision = arch_rev; in setup_processor()
277 boot_cpu_data.cpu_revision = cpu_rev; in setup_processor()
278 boot_cpu_data.tlb_config = mmu_type; in setup_processor()
279 boot_cpu_data.device_id = device_id; in setup_processor()
283 boot_cpu_data.icache.ways = 1 << SYSREG_BFEXT(IASS, config1); in setup_processor()
284 boot_cpu_data.icache.sets = 1 << SYSREG_BFEXT(ISET, config1); in setup_processor()
285 boot_cpu_data.icache.linesz = 1 << (tmp + 1); in setup_processor()
289 boot_cpu_data.dcache.ways = 1 << SYSREG_BFEXT(DASS, config1); in setup_processor()
[all …]
Dsetup.c38 struct avr32_cpuinfo boot_cpu_data = { variable
41 EXPORT_SYMBOL(boot_cpu_data);
590 boot_cpu_data.clk = cpu_clk; in setup_arch()
591 boot_cpu_data.loops_per_jiffy = cpu_hz * 4; in setup_arch()
Dtime.c137 counter_hz = clk_get_rate(boot_cpu_data.clk); in time_init()
/linux-4.4.14/arch/x86/include/asm/
Dgeode.h19 return ((boot_cpu_data.x86_vendor == X86_VENDOR_NSC) && in is_geode_gx()
20 (boot_cpu_data.x86 == 5) && in is_geode_gx()
21 (boot_cpu_data.x86_model == 5)); in is_geode_gx()
26 return ((boot_cpu_data.x86_vendor == X86_VENDOR_AMD) && in is_geode_lx()
27 (boot_cpu_data.x86 == 5) && in is_geode_lx()
28 (boot_cpu_data.x86_model == 10)); in is_geode_lx()
Dacpi.h92 if (boot_cpu_data.x86 == 0x0F && in acpi_processor_cstate_check()
93 boot_cpu_data.x86_vendor == X86_VENDOR_AMD && in acpi_processor_cstate_check()
94 boot_cpu_data.x86_model <= 0x05 && in acpi_processor_cstate_check()
95 boot_cpu_data.x86_mask < 0x0A) in acpi_processor_cstate_check()
Damd_nb.h104 if (boot_cpu_data.x86 == 0xf || boot_cpu_data.x86 == 0x10 || in amd_gart_present()
105 (boot_cpu_data.x86 == 0x15 && boot_cpu_data.x86_model < 0x10)) in amd_gart_present()
Dcpufeature.h343 cpu_has(&boot_cpu_data, bit))
345 #define boot_cpu_has(bit) cpu_has(&boot_cpu_data, bit)
350 clear_cpu_cap(&boot_cpu_data, bit); \
354 set_cpu_cap(&boot_cpu_data, bit); \
600 #define boot_cpu_has_bug(bit) cpu_has_bug(&boot_cpu_data, (bit))
606 #define CPU_FEATURE_TYPEVAL boot_cpu_data.x86_vendor, boot_cpu_data.x86, \
607 boot_cpu_data.x86_model
Dprocessor.h155 extern struct cpuinfo_x86 boot_cpu_data;
166 #define cpu_info boot_cpu_data
167 #define cpu_data(cpu) boot_cpu_data
172 #define cache_line_size() (boot_cpu_data.x86_cache_alignment)
587 : "rm" (boot_cpu_data.cpuid_level), "ri" (0), "0" (1) in sync_core()
630 if (boot_cpu_data.x86 < 6) in get_debugctlmsr()
641 if (boot_cpu_data.x86 < 6) in update_debugctlmsr()
Dfb.h14 if (boot_cpu_data.x86 > 3) in fb_pgprotect()
Dvirtext.h88 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD) { in cpu_has_svm()
Dpmem.h80 u16 x86_clflush_size = boot_cpu_data.x86_clflush_size; in __arch_wb_cache_pmem()
Dptrace.h228 #define arch_has_block_step() (boot_cpu_data.x86 >= 6)
Delf.h259 #define ELF_HWCAP (boot_cpu_data.x86_capability[0])
Dpgtable.h13 ((boot_cpu_data.x86 > 3) \
/linux-4.4.14/arch/x86/kernel/cpu/
Dperfctr-watchdog.c47 switch (boot_cpu_data.x86_vendor) { in nmi_perfctr_msr_to_bit()
53 if (cpu_has(&boot_cpu_data, X86_FEATURE_ARCH_PERFMON)) in nmi_perfctr_msr_to_bit()
56 switch (boot_cpu_data.x86) { in nmi_perfctr_msr_to_bit()
75 switch (boot_cpu_data.x86_vendor) { in nmi_evntsel_msr_to_bit()
81 if (cpu_has(&boot_cpu_data, X86_FEATURE_ARCH_PERFMON)) in nmi_evntsel_msr_to_bit()
84 switch (boot_cpu_data.x86) { in nmi_evntsel_msr_to_bit()
Dbugs.c25 print_cpu_info(&boot_cpu_data); in check_bugs()
35 if (boot_cpu_data.x86 < 4) in check_bugs()
39 '0' + (boot_cpu_data.x86 > 6 ? 6 : boot_cpu_data.x86); in check_bugs()
Dperf_event_intel_cstate.c135 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL || in test_core()
136 boot_cpu_data.x86 != 6) in test_core()
139 switch (boot_cpu_data.x86_model) { in test_core()
262 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL || in test_pkg()
263 boot_cpu_data.x86 != 6) in test_pkg()
266 switch (boot_cpu_data.x86_model) { in test_pkg()
601 switch (boot_cpu_data.x86_model) { in cstate_init()
Dperf_event_p6.c236 if (boot_cpu_data.x86_mask < 9) { in p6_pmu_rdpmc_quirk()
250 switch (boot_cpu_data.x86_model) { in p6_pmu_init()
271 pr_cont("unsupported p6 CPU model %d ", boot_cpu_data.x86_model); in p6_pmu_init()
Dperf_event_msr.c20 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL || in test_intel()
21 boot_cpu_data.x86 != 6) in test_intel()
24 switch (boot_cpu_data.x86_model) { in test_intel()
Dcommon.c790 early_identify_cpu(&boot_cpu_data); in early_cpu_init()
852 if (c != &boot_cpu_data) { in x86_init_cache_qos()
853 boot_cpu_data.x86_cache_max_rmid = in x86_init_cache_qos()
854 min(boot_cpu_data.x86_cache_max_rmid, in x86_init_cache_qos()
965 if (c != &boot_cpu_data) { in identify_cpu()
968 boot_cpu_data.x86_capability[i] &= c->x86_capability[i]; in identify_cpu()
972 c->x86_capability[i] |= boot_cpu_data.x86_capability[i]; in identify_cpu()
1022 identify_cpu(&boot_cpu_data); in identify_boot_cpu()
1028 cpu_detect_tlb(&boot_cpu_data); in identify_boot_cpu()
1033 BUG_ON(c == &boot_cpu_data); in identify_secondary_cpu()
[all …]
Dperf_event_amd.c372 if (boot_cpu_data.x86_max_cores < 2) in amd_pmu_cpu_prepare()
391 if (boot_cpu_data.x86_max_cores < 2) in amd_pmu_cpu_starting()
417 if (boot_cpu_data.x86_max_cores < 2) in amd_pmu_cpu_dead()
658 switch (boot_cpu_data.x86) { in amd_core_pmu_init()
687 if (boot_cpu_data.x86 < 6) in amd_pmu_init()
Dbugs_64.c19 print_cpu_info(&boot_cpu_data); in check_bugs()
Dmatch.c34 struct cpuinfo_x86 *c = &boot_cpu_data; in x86_match_cpu()
Dintel.c175 if (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL && in ppro_with_ram_bug()
176 boot_cpu_data.x86 == 6 && in ppro_with_ram_bug()
177 boot_cpu_data.x86_model == 1 && in ppro_with_ram_bug()
178 boot_cpu_data.x86_mask < 8) { in ppro_with_ram_bug()
Dhypervisor.c76 init_hypervisor(&boot_cpu_data); in init_hypervisor_platform()
Damd.c35 WARN_ONCE((boot_cpu_data.x86 != 0xf), in rdmsrl_amd_safe()
52 WARN_ONCE((boot_cpu_data.x86 != 0xf), in wrmsrl_amd_safe()
628 if (c == &boot_cpu_data) in init_amd_gh()
Dperf_event_intel_uncore_snbep.c886 if (snbep_uncore_cbox.num_boxes > boot_cpu_data.x86_max_cores) in snbep_uncore_cpu_init()
887 snbep_uncore_cbox.num_boxes = boot_cpu_data.x86_max_cores; in snbep_uncore_cpu_init()
1488 if (ivbep_uncore_cbox.num_boxes > boot_cpu_data.x86_max_cores) in ivbep_uncore_cpu_init()
1489 ivbep_uncore_cbox.num_boxes = boot_cpu_data.x86_max_cores; in ivbep_uncore_cpu_init()
2043 if (hswep_uncore_cbox.num_boxes > boot_cpu_data.x86_max_cores) in hswep_uncore_cpu_init()
2044 hswep_uncore_cbox.num_boxes = boot_cpu_data.x86_max_cores; in hswep_uncore_cpu_init()
2391 if (bdx_uncore_cbox.num_boxes > boot_cpu_data.x86_max_cores) in bdx_uncore_cpu_init()
2392 bdx_uncore_cbox.num_boxes = boot_cpu_data.x86_max_cores; in bdx_uncore_cpu_init()
Dperf_event_intel_uncore_snb.c170 if (snb_uncore_cbox.num_boxes > boot_cpu_data.x86_max_cores) in snb_uncore_cpu_init()
171 snb_uncore_cbox.num_boxes = boot_cpu_data.x86_max_cores; in snb_uncore_cpu_init()
Dperf_event_p4.c735 if (boot_cpu_data.x86_model != 3 && in p4_event_match_cpu_model()
736 boot_cpu_data.x86_model != 4 && in p4_event_match_cpu_model()
737 boot_cpu_data.x86_model != 6) in p4_event_match_cpu_model()
1350 boot_cpu_data.x86_model); in p4_pmu_init()
Dperf_event_intel_lbr.c1014 if (boot_cpu_data.x86_model == 28 in intel_pmu_lbr_init_atom()
1015 && boot_cpu_data.x86_mask < 10) { in intel_pmu_lbr_init_atom()
Dperf_event_intel_uncore_nhmex.c1213 if (boot_cpu_data.x86_model == 46) in nhmex_uncore_cpu_init()
1217 if (nhmex_uncore_cbox.num_boxes > boot_cpu_data.x86_max_cores) in nhmex_uncore_cpu_init()
1218 nhmex_uncore_cbox.num_boxes = boot_cpu_data.x86_max_cores; in nhmex_uncore_cpu_init()
Dperf_event_intel_cqm.c1324 cqm_l3_scale = boot_cpu_data.x86_cache_occ_scale; in intel_cqm_init()
1358 boot_cpu_data.x86_cache_size * 1024 / (cqm_max_rmid + 1); in intel_cqm_init()
Dintel_cacheinfo.c311 if (boot_cpu_data.x86 == 0x15) { in amd_calc_l3_indices()
593 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) { in cpuid4_cache_lookup_regs()
Dperf_event_intel_uncore.c959 switch (boot_cpu_data.x86_model) { in uncore_pci_init()
1261 switch (boot_cpu_data.x86_model) { in uncore_cpu_init()
1360 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) in intel_uncore_init()
Dperf_event_intel.c3238 if (!cpu_has(&boot_cpu_data, X86_FEATURE_ARCH_PERFMON)) { in intel_pmu_init()
3239 switch (boot_cpu_data.x86) { in intel_pmu_init()
3295 switch (boot_cpu_data.x86_model) { in intel_pmu_init()
3420 if (boot_cpu_data.x86_model == 45) in intel_pmu_init()
3458 if (boot_cpu_data.x86_model == 62) in intel_pmu_init()
Dperf_event_amd_uncore.c523 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD) in amd_uncore_init()
Dperf_event_intel_ds.c152 int model = boot_cpu_data.x86_model; in load_latency_data()
153 int fam = boot_cpu_data.x86; in load_latency_data()
Dperf_event_intel_rapl.c721 switch (boot_cpu_data.x86_model) { in rapl_pmu_init()
Dperf_event_amd_ibs.c842 if (boot_cpu_data.x86 == 0x10) in ibs_eilvt_setup()
Dperf_event_intel_pt.c1133 if (!test_cpu_cap(&boot_cpu_data, X86_FEATURE_INTEL_PT)) in pt_init()
Dperf_event.c1684 switch (boot_cpu_data.x86_vendor) { in init_hw_perf_events()
/linux-4.4.14/arch/avr32/mm/
Dcache.c28 linesz = boot_cpu_data.dcache.linesz; in invalidate_dcache_region()
56 linesz = boot_cpu_data.dcache.linesz; in clean_dcache_region()
69 linesz = boot_cpu_data.dcache.linesz; in flush_dcache_region()
82 linesz = boot_cpu_data.icache.linesz; in invalidate_icache_region()
94 linesz = boot_cpu_data.dcache.linesz; in __flush_icache_range()
110 linesz = boot_cpu_data.dcache.linesz; in flush_icache_range()
/linux-4.4.14/arch/x86/kernel/
Damd_nb.c105 if (boot_cpu_data.x86 == 0x10 && in amd_cache_northbridges()
106 boot_cpu_data.x86_model >= 0x8 && in amd_cache_northbridges()
107 (boot_cpu_data.x86_model > 0x9 || in amd_cache_northbridges()
108 boot_cpu_data.x86_mask >= 0x1)) in amd_cache_northbridges()
111 if (boot_cpu_data.x86 == 0x15) in amd_cache_northbridges()
115 if (boot_cpu_data.x86 == 0x15) in amd_cache_northbridges()
144 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD) in amd_get_mmconfig_range()
148 if (boot_cpu_data.x86 < 0x10) in amd_get_mmconfig_range()
Dalternative.c210 switch (boot_cpu_data.x86_vendor) { in arch_init_ideal_nops()
217 if (boot_cpu_data.x86 == 6 && in arch_init_ideal_nops()
218 boot_cpu_data.x86_model >= 0x0f && in arch_init_ideal_nops()
219 boot_cpu_data.x86_model != 0x1c && in arch_init_ideal_nops()
220 boot_cpu_data.x86_model != 0x26 && in arch_init_ideal_nops()
221 boot_cpu_data.x86_model != 0x27 && in arch_init_ideal_nops()
222 boot_cpu_data.x86_model < 0x30) { in arch_init_ideal_nops()
236 if (boot_cpu_data.x86 > 0xf) { in arch_init_ideal_nops()
547 clear_cpu_cap(&boot_cpu_data, X86_FEATURE_UP); in alternatives_enable_smp()
Dtsc_msr.c89 cpu_index = match_cpu(boot_cpu_data.x86, boot_cpu_data.x86_model); in try_msr_calibrate_tsc()
Dsetup.c179 struct cpuinfo_x86 boot_cpu_data __read_mostly = {
182 EXPORT_SYMBOL(boot_cpu_data);
203 struct cpuinfo_x86 boot_cpu_data __read_mostly = {
206 EXPORT_SYMBOL(boot_cpu_data);
862 memcpy(&boot_cpu_data, &new_cpu_data, sizeof(new_cpu_data)); in setup_arch()
936 iomem_resource.end = (1ULL << boot_cpu_data.x86_phys_bits) - 1; in setup_arch()
1172 if (boot_cpu_data.cpuid_level >= 0) { in setup_arch()
Dsmpboot.c259 *c = boot_cpu_data; in smp_store_boot_cpu_info()
271 *c = boot_cpu_data; in smp_store_cpu_info()
375 bool has_mp = has_smt || boot_cpu_data.x86_max_cores > 1; in set_cpu_sibling_map()
529 if (((boot_cpu_data.x86_vendor == X86_VENDOR_INTEL) && (boot_cpu_data.x86 == 6)) || in smp_quirk_init_udelay()
530 ((boot_cpu_data.x86_vendor == X86_VENDOR_AMD) && (boot_cpu_data.x86 >= 0xF))) { in smp_quirk_init_udelay()
Dmpparse.c409 processor.cpufeature = (boot_cpu_data.x86 << 8) | in construct_default_ISA_mptable()
410 (boot_cpu_data.x86_model << 4) | boot_cpu_data.x86_mask; in construct_default_ISA_mptable()
411 processor.featureflag = boot_cpu_data.x86_capability[0]; in construct_default_ISA_mptable()
Dtsc.c923 lpj = &boot_cpu_data.loops_per_jiffy; in time_cpufreq_notifier()
1065 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) { in unsynchronized_tsc()
Dkvm.c521 if (boot_cpu_data.cpuid_level < 0) in __kvm_cpuid_base()
/linux-4.4.14/drivers/hwmon/
Dk10temp.c81 if (boot_cpu_data.x86 == 0x15 && boot_cpu_data.x86_model == 0x60) { in show_temp()
155 if (boot_cpu_data.x86 != 0x10) in has_erratum_319()
181 return boot_cpu_data.x86_model < 4 || in has_erratum_319()
182 (boot_cpu_data.x86_model == 4 && boot_cpu_data.x86_mask <= 2); in has_erratum_319()
Dfam15h_power.c78 if (boot_cpu_data.x86 == 0x15 && boot_cpu_data.x86_model >= 0x60) { in show_power()
123 struct cpuinfo_x86 *c = &boot_cpu_data; in fam15h_power_init_attrs()
Dk8temp.c189 model = boot_cpu_data.x86_model; in k8temp_probe()
190 stepping = boot_cpu_data.x86_mask; in k8temp_probe()
/linux-4.4.14/drivers/mtd/nand/
Dcs553x_nand.c268 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD && in is_geode()
269 boot_cpu_data.x86 == 5 && in is_geode()
270 boot_cpu_data.x86_model == 10) in is_geode()
273 if ((boot_cpu_data.x86_vendor == X86_VENDOR_NSC || in is_geode()
274 boot_cpu_data.x86_vendor == X86_VENDOR_CYRIX) && in is_geode()
275 boot_cpu_data.x86 == 5 && in is_geode()
276 boot_cpu_data.x86_model == 5) in is_geode()
/linux-4.4.14/arch/x86/platform/intel-mid/
Dintel-mid.c116 if (boot_cpu_data.x86 != 6) { in intel_mid_arch_setup()
118 boot_cpu_data.x86, boot_cpu_data.x86_model); in intel_mid_arch_setup()
123 switch (boot_cpu_data.x86_model) { in intel_mid_arch_setup()
Dmfld.c53 set_cpu_cap(&boot_cpu_data, X86_FEATURE_TSC_RELIABLE); in mfld_calibrate_tsc()
Dmrfl.c82 set_cpu_cap(&boot_cpu_data, X86_FEATURE_TSC_RELIABLE); in tangier_calibrate_tsc()
/linux-4.4.14/arch/x86/kernel/cpu/mtrr/
Dmain.c319 (boot_cpu_data.x86_phys_bits - PAGE_SHIFT)) { in mtrr_add_page()
699 if (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL && in mtrr_bp_init()
700 boot_cpu_data.x86 == 0xF && in mtrr_bp_init()
701 boot_cpu_data.x86_model == 0x3 && in mtrr_bp_init()
702 (boot_cpu_data.x86_mask == 0x3 || in mtrr_bp_init()
703 boot_cpu_data.x86_mask == 0x4)) in mtrr_bp_init()
708 } else if (boot_cpu_data.x86_vendor == X86_VENDOR_CENTAUR && in mtrr_bp_init()
709 boot_cpu_data.x86 == 6) { in mtrr_bp_init()
719 switch (boot_cpu_data.x86_vendor) { in mtrr_bp_init()
Dgeneric.c52 if (!((boot_cpu_data.x86_vendor == X86_VENDOR_AMD) && in k8_check_syscfg_dram_mod_en()
53 (boot_cpu_data.x86 >= 0x0f))) in k8_check_syscfg_dram_mod_en()
857 if (is_cpu(INTEL) && boot_cpu_data.x86 == 6 && in generic_validate_add_page()
858 boot_cpu_data.x86_model == 1 && in generic_validate_add_page()
859 boot_cpu_data.x86_mask <= 7) { in generic_validate_add_page()
Dcleanup.c829 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD) in amd_special_default_mtrr()
831 if (boot_cpu_data.x86 < 0xf) in amd_special_default_mtrr()
Dif.c437 struct cpuinfo_x86 *c = &boot_cpu_data; in mtrr_if_init()
/linux-4.4.14/arch/um/include/asm/
Dprocessor-generic.h99 extern struct cpuinfo_um boot_cpu_data;
101 #define cpu_data (&boot_cpu_data)
102 #define current_cpu_data boot_cpu_data
/linux-4.4.14/arch/m32r/include/asm/
Dprocessor.h44 extern struct cpuinfo_m32r boot_cpu_data;
50 #define cpu_data (&boot_cpu_data)
51 #define current_cpu_data boot_cpu_data
/linux-4.4.14/arch/mn10300/include/asm/
Dprocessor.h55 extern struct mn10300_cpuinfo boot_cpu_data;
64 #define cpu_data &boot_cpu_data
65 #define current_cpu_data boot_cpu_data
/linux-4.4.14/drivers/cpufreq/
Dat32ap-cpufreq.c38 loops_per_jiffy_ref = boot_cpu_data.loops_per_jiffy; in at32_set_target()
42 boot_cpu_data.loops_per_jiffy = cpufreq_scale( in at32_set_target()
46 boot_cpu_data.loops_per_jiffy = cpufreq_scale( in at32_set_target()
Dacpi-cpufreq.c93 switch (boot_cpu_data.x86_vendor) { in boost_state()
112 switch (boot_cpu_data.x86_vendor) { in boost_set_msrs()
225 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) in extract_msr()
740 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD && in acpi_cpufreq_cpu_init()
741 boot_cpu_data.x86 == 0xf) { in acpi_cpufreq_cpu_init()
Dcpufreq_ondemand.c63 if (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL && in should_io_be_busy()
64 boot_cpu_data.x86 == 6 && in should_io_be_busy()
65 boot_cpu_data.x86_model >= 15) in should_io_be_busy()
Damd_freq_sensitivity.c115 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD) in amd_freq_sensitivity_init()
Dspeedstep-lib.c174 struct cpuinfo_x86 *c = &boot_cpu_data; in pentium4_get_frequency()
De_powersaver.c411 if (!x86_match_cpu(eps_cpu_id) || boot_cpu_data.x86_model < 10) in eps_init()
Dpowernow-k8.c1222 num_online_nodes(), boot_cpu_data.x86_model_id, supported_cpus); in powernowk8_init()
/linux-4.4.14/arch/arm64/kernel/
Dcpuinfo.c43 static struct cpuinfo_arm64 boot_cpu_data; variable
250 update_cpu_features(smp_processor_id(), info, &boot_cpu_data); in cpuinfo_store_cpu()
258 boot_cpu_data = *info; in cpuinfo_store_boot_cpu()
259 init_cpu_features(&boot_cpu_data); in cpuinfo_store_boot_cpu()
/linux-4.4.14/arch/parisc/include/asm/
Dprocessor.h115 extern struct system_cpuinfo_parisc boot_cpu_data;
118 #define CPU_HVERSION ((boot_cpu_data.hversion >> 4) & 0x0FFF)
320 return (boot_cpu_data.cpu_type == mako) || in parisc_requires_coherency()
321 (boot_cpu_data.cpu_type == mako2); in parisc_requires_coherency()
/linux-4.4.14/arch/x86/kernel/apic/
Dapic.c218 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD && in modern_apic()
219 boot_cpu_data.x86 >= 0xf) in modern_apic()
1107 if (modern_apic() || boot_cpu_data.x86_vendor == X86_VENDOR_AMD) in sync_Arb_IDs()
1148 if ((boot_cpu_data.x86_vendor == X86_VENDOR_INTEL) && in init_bsp_APIC()
1149 (boot_cpu_data.x86 == 15)) in init_bsp_APIC()
1648 set_cpu_cap(&boot_cpu_data, X86_FEATURE_APIC); in apic_verify()
1652 if (boot_cpu_data.x86 >= 6) { in apic_verify()
1674 if (boot_cpu_data.x86 >= 6) { in apic_force_enable()
1696 switch (boot_cpu_data.x86_vendor) { in detect_init_APIC()
1698 if ((boot_cpu_data.x86 == 6 && boot_cpu_data.x86_model > 1) || in detect_init_APIC()
[all …]
Dprobe_32.c158 switch (boot_cpu_data.x86_vendor) { in default_setup_apic_routing()
Dio_apic.c1594 if (!(boot_cpu_data.x86_vendor == X86_VENDOR_INTEL) in setup_ioapic_ids_from_mpc()
2424 if ((boot_cpu_data.x86_vendor == X86_VENDOR_INTEL) && in io_apic_unique_id()
/linux-4.4.14/arch/x86/crypto/
Dtwofish_glue_3way.c439 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) in is_blacklisted_cpu()
442 if (boot_cpu_data.x86 == 0x06 && in is_blacklisted_cpu()
443 (boot_cpu_data.x86_model == 0x1c || in is_blacklisted_cpu()
444 boot_cpu_data.x86_model == 0x26 || in is_blacklisted_cpu()
445 boot_cpu_data.x86_model == 0x36)) { in is_blacklisted_cpu()
458 if (boot_cpu_data.x86 == 0x0f) { in is_blacklisted_cpu()
Dblowfish_glue.c439 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) in is_blacklisted_cpu()
442 if (boot_cpu_data.x86 == 0x0f) { in is_blacklisted_cpu()
Ddes3_ede_glue.c466 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) in is_blacklisted_cpu()
469 if (boot_cpu_data.x86 == 0x0f) { in is_blacklisted_cpu()
Dcamellia_glue.c1685 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) in is_blacklisted_cpu()
1688 if (boot_cpu_data.x86 == 0x0f) { in is_blacklisted_cpu()
/linux-4.4.14/arch/sh/kernel/cpu/
Dfpu.c10 if ((boot_cpu_data.flags & CPU_HAS_FPU) && tsk == current) in init_fpu()
25 if (boot_cpu_data.flags & CPU_HAS_FPU) { in init_fpu()
/linux-4.4.14/arch/mips/kernel/
Dptrace.c93 mask = boot_cpu_data.fpu_msk31; in ptrace_setfcr31()
168 __put_user(boot_cpu_data.fpu_id, data + 65); in ptrace_getfpregs()
205 if (!cpu_has_watch || boot_cpu_data.watch_reg_use_cnt == 0) in ptrace_get_watch_regs()
219 __put_user(boot_cpu_data.watch_reg_use_cnt, in ptrace_get_watch_regs()
221 for (i = 0; i < boot_cpu_data.watch_reg_use_cnt; i++) { in ptrace_get_watch_regs()
226 __put_user(boot_cpu_data.watch_reg_masks[i], in ptrace_get_watch_regs()
246 if (!cpu_has_watch || boot_cpu_data.watch_reg_use_cnt == 0) in ptrace_set_watch_regs()
251 for (i = 0; i < boot_cpu_data.watch_reg_use_cnt; i++) { in ptrace_set_watch_regs()
270 for (i = 0; i < boot_cpu_data.watch_reg_use_cnt; i++) { in ptrace_set_watch_regs()
742 tmp = boot_cpu_data.fpu_id; in arch_ptrace()
Dptrace32.c132 tmp = boot_cpu_data.fpu_id; in compat_arch_ptrace()
Dcpu-probe.c157 cpu_set_nofpu_opts(&boot_cpu_data); in fpu_disable()
/linux-4.4.14/drivers/edac/
Dmce_amd.c413 bool k8 = (boot_cpu_data.x86 == 0xf && (m->status & BIT_64(58))); in decode_mc1_mce()
564 if (boot_cpu_data.x86 >= 0x14) { in decode_mc3_mce()
590 struct cpuinfo_x86 *c = &boot_cpu_data; in decode_mc4_mce()
625 if (boot_cpu_data.x86 == 0x15 || boot_cpu_data.x86 == 0x16) in decode_mc4_mce()
648 struct cpuinfo_x86 *c = &boot_cpu_data; in decode_mc5_mce()
836 struct cpuinfo_x86 *c = &boot_cpu_data; in mce_amd_init()
Damd64_edac.h195 #define dct_ganging_enabled(pvt) ((boot_cpu_data.x86 == 0x10) && ((pvt)->dct_sel_lo & BIT(4)))
361 if (boot_cpu_data.x86 == 0xf) in get_dram_base()
371 if (boot_cpu_data.x86 == 0xf) in get_dram_limit()
Damd64_edac.c2717 pvt->ext_model = boot_cpu_data.x86_model >> 4; in per_family_init()
2718 pvt->stepping = boot_cpu_data.x86_mask; in per_family_init()
2719 pvt->model = boot_cpu_data.x86_model; in per_family_init()
2720 pvt->fam = boot_cpu_data.x86; in per_family_init()
/linux-4.4.14/arch/m32r/kernel/
Dsetup.c46 struct cpuinfo_m32r boot_cpu_data; variable
230 boot_cpu_data.cpu_clock = M32R_CPUCLK; in setup_arch()
231 boot_cpu_data.bus_clock = M32R_BUSCLK; in setup_arch()
232 boot_cpu_data.timer_divide = M32R_TIMER_DIVIDE; in setup_arch()
Dtime.c179 bus_clock = boot_cpu_data.bus_clock; in time_init()
180 divide = boot_cpu_data.timer_divide; in time_init()
Dm32r_ksyms.c20 EXPORT_SYMBOL(boot_cpu_data);
Dsmpboot.c550 *ci = boot_cpu_data; in smp_store_cpu_info()
/linux-4.4.14/drivers/gpu/drm/
Ddrm_cache.c47 const int size = boot_cpu_data.x86_clflush_size; in drm_clflush_page()
133 const int size = boot_cpu_data.x86_clflush_size; in drm_clflush_virt_range()
/linux-4.4.14/arch/avr32/include/asm/
Dprocessor.h84 extern struct avr32_cpuinfo boot_cpu_data;
87 #define current_cpu_data boot_cpu_data
Dbugs.h12 boot_cpu_data.loops_per_jiffy = loops_per_jiffy; in check_bugs()
/linux-4.4.14/arch/x86/xen/
Dpmu.c70 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) { in xen_pmu_arch_init()
72 switch (boot_cpu_data.x86) { in xen_pmu_arch_init()
287 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) { in pmu_msr_read()
310 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) { in pmu_msr_write()
381 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) in xen_read_pmc()
/linux-4.4.14/arch/x86/mm/
Dphysaddr.h6 return !(addr >> boot_cpu_data.x86_phys_bits); in phys_addr_valid()
Damdtopology.c180 bits = boot_cpu_data.x86_coreid_bits; in amd_numa_init()
Dinit_32.c728 boot_cpu_data.wp_works_ok = do_test_wp_bit(); in test_wp_bit()
731 if (!boot_cpu_data.wp_works_ok) { in test_wp_bit()
821 if (boot_cpu_data.wp_works_ok < 0) in mem_init()
Dmpx.c741 virt_space = (1ULL << boot_cpu_data.x86_virt_bits); in bd_entry_virt_space()
828 addr &= ((1UL << boot_cpu_data.x86_virt_bits) - 1); in mpx_get_bd_entry_offset()
Dfault.c530 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD in is_errata93()
531 || boot_cpu_data.x86 != 0xf) in is_errata93()
Dpageattr.c132 unsigned long clflush_mask = boot_cpu_data.x86_clflush_size - 1; in clflush_cache_range()
139 p < vend; p += boot_cpu_data.x86_clflush_size) in clflush_cache_range()
156 if (cache && boot_cpu_data.x86 >= 4) in __cpa_flush_all()
Dpat.c243 struct cpuinfo_x86 *c = &boot_cpu_data; in pat_init()
/linux-4.4.14/drivers/idle/
Dintel_idle.c943 if (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL && in intel_idle_probe()
944 boot_cpu_data.x86 == 6) in intel_idle_probe()
946 boot_cpu_data.x86, boot_cpu_data.x86_model); in intel_idle_probe()
950 if (boot_cpu_data.cpuid_level < CPUID_MWAIT_LEAF) in intel_idle_probe()
971 " model 0x%X\n", boot_cpu_data.x86_model); in intel_idle_probe()
1074 switch (boot_cpu_data.x86_model) { in intel_idle_state_table_update()
/linux-4.4.14/arch/x86/kernel/fpu/
Dbugs.c58 set_cpu_bug(&boot_cpu_data, X86_BUG_FDIV); in check_fpu()
Dxstate.c622 if (boot_cpu_data.cpuid_level < XSTATE_CPUID) { in fpu__init_system_xstate()
/linux-4.4.14/drivers/acpi/
Dprocessor_perflib.c295 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD) in amd_fixup_frequency()
298 if ((boot_cpu_data.x86 == 0x10 && boot_cpu_data.x86_model < 10) in amd_fixup_frequency()
299 || boot_cpu_data.x86 == 0x11) { in amd_fixup_frequency()
310 if (boot_cpu_data.x86 == 0x10) in amd_fixup_frequency()
Dacpi_pad.c50 if (boot_cpu_data.cpuid_level < CPUID_MWAIT_LEAF) in power_saving_mwait_init()
70 switch (boot_cpu_data.x86_vendor) { in power_saving_mwait_init()
Dprocessor_idle.c236 switch (boot_cpu_data.x86_vendor) { in tsc_check_state()
/linux-4.4.14/arch/parisc/lib/
Ddelay.c71 __cr16_delay(usecs * ((unsigned long)boot_cpu_data.cpu_hz / 1000000UL)); in __udelay()
/linux-4.4.14/arch/x86/pci/
Damd_bus.c138 if (boot_cpu_data.x86 > 0x11) in early_root_info_init()
391 if (boot_cpu_data.x86 < 0x10) in pci_io_ecs_init()
412 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD) in amd_postcore_init()
Di386.c437 else if (pat_enabled() || boot_cpu_data.x86 > 3) in pci_mmap_page_range()
Dcommon.c500 struct cpuinfo_x86 *c = &boot_cpu_data; in pcibios_set_cache_line_size()
/linux-4.4.14/arch/x86/oprofile/
Dnmi_int.c581 __u8 cpu_model = boot_cpu_data.x86_model; in p4_init()
635 __u8 cpu_model = boot_cpu_data.x86_model; in ppro_init()
697 __u8 vendor = boot_cpu_data.x86_vendor; in op_nmi_init()
698 __u8 family = boot_cpu_data.x86; in op_nmi_init()
Dop_model_amd.c516 if (boot_cpu_data.x86 == 0x15) { in op_amd_init()
Dop_model_p4.c434 if (boot_cpu_data.x86_model >= 0x3) { in p4_fill_in_addresses()
/linux-4.4.14/arch/sh/kernel/
Dprocess.c70 if (boot_cpu_data.flags & CPU_HAS_FPU) in init_thread_xstate()
Dsignal_32.c80 if (!(boot_cpu_data.flags & CPU_HAS_FPU)) in restore_sigcontext_fpu()
93 if (!(boot_cpu_data.flags & CPU_HAS_FPU)) in save_sigcontext_fpu()
133 if (boot_cpu_data.flags & CPU_HAS_FPU) { in restore_sigcontext()
Dptrace_32.c197 if ((boot_cpu_data.flags & CPU_HAS_FPU)) in fpregs_get()
218 if ((boot_cpu_data.flags & CPU_HAS_FPU)) in fpregs_set()
Dsmp.c52 memcpy(c, &boot_cpu_data, sizeof(struct sh_cpuinfo)); in smp_store_cpu_info()
/linux-4.4.14/arch/mips/include/asm/
Dcpu-info.h99 #define boot_cpu_data cpu_data[0] macro
Delf.h308 current->thread.fpu.fcr31 = boot_cpu_data.fpu_csr31; \
370 current->thread.fpu.fcr31 = boot_cpu_data.fpu_csr31; \
/linux-4.4.14/drivers/infiniband/hw/qib/
Dqib_wc_x86_64.c149 return boot_cpu_data.x86_vendor != X86_VENDOR_AMD; in qib_unordered_wc()
/linux-4.4.14/arch/sh/include/asm/
Dcacheflush.h63 if (boot_cpu_data.dcache.n_aliases && PageAnon(page)) in flush_anon_page()
Dprocessor.h94 #define boot_cpu_data cpu_data[0] macro
Delf.h124 #define ELF_HWCAP (boot_cpu_data.flags)
/linux-4.4.14/arch/x86/kernel/cpu/microcode/
Damd.c343 unsigned int bsp = boot_cpu_data.cpu_index; in get_bsp_sig()
867 if (cpu_data(cpu).cpu_index == boot_cpu_data.cpu_index) { in load_microcode_amd()
904 if (!refresh_fw || c->cpu_index != boot_cpu_data.cpu_index) in request_microcode_amd()
953 struct cpuinfo_x86 *c = &boot_cpu_data; in init_amd_microcode()
Dcore.c187 struct cpuinfo_x86 *c = &boot_cpu_data; in save_microcode_in_initrd()
630 struct cpuinfo_x86 *c = &boot_cpu_data; in microcode_init()
Dintel.c1046 struct cpuinfo_x86 *c = &boot_cpu_data; in init_intel_microcode()
/linux-4.4.14/drivers/thermal/
Dintel_powerclamp.c188 if (boot_cpu_data.cpuid_level < CPUID_MWAIT_LEAF) in find_target_mwait()
712 boot_cpu_data.x86, boot_cpu_data.x86_model); in powerclamp_probe()
/linux-4.4.14/arch/x86/kernel/acpi/
Dcstate.c168 struct cpuinfo_x86 *c = &boot_cpu_data; in ffh_cstate_init()
/linux-4.4.14/drivers/lguest/x86/
Dcore.c611 clear_cpu_cap(&boot_cpu_data, X86_FEATURE_PGE); in lguest_arch_host_init()
622 set_cpu_cap(&boot_cpu_data, X86_FEATURE_PGE); in lguest_arch_host_fini()
/linux-4.4.14/drivers/platform/x86/
Dintel_ips.c1374 if (!(boot_cpu_data.x86 == 6 && boot_cpu_data.x86_model == 37)) { in ips_detect_cpu()
1390 if (strstr(boot_cpu_data.x86_model_id, "CPU M")) in ips_detect_cpu()
1392 else if (strstr(boot_cpu_data.x86_model_id, "CPU L")) in ips_detect_cpu()
1394 else if (strstr(boot_cpu_data.x86_model_id, "CPU U")) in ips_detect_cpu()
/linux-4.4.14/arch/sh/kernel/cpu/sh4a/
Dperf_event.c295 if (!(boot_cpu_data.flags & CPU_HAS_PERF_COUNTER)) { in sh4a_pmu_init()
/linux-4.4.14/drivers/iommu/
Damd_iommu_init.c1000 if ((boot_cpu_data.x86 != 0x15) || in amd_iommu_erratum_746_workaround()
1001 (boot_cpu_data.x86_model < 0x10) || in amd_iommu_erratum_746_workaround()
1002 (boot_cpu_data.x86_model > 0x1f)) in amd_iommu_erratum_746_workaround()
1032 if ((boot_cpu_data.x86 != 0x15) || in amd_iommu_ats_write_check_workaround()
1033 (boot_cpu_data.x86_model < 0x30) || in amd_iommu_ats_write_check_workaround()
1034 (boot_cpu_data.x86_model > 0x3f)) in amd_iommu_ats_write_check_workaround()
/linux-4.4.14/arch/m32r/boot/
Dsetup.S22 #define CPU_PARAMS boot_cpu_data
/linux-4.4.14/arch/mn10300/kernel/
Dsetup.c36 struct mn10300_cpuinfo boot_cpu_data; variable
Dsmp.c729 *ci = boot_cpu_data; in smp_store_cpu_info()
/linux-4.4.14/drivers/crypto/ccp/
Dccp-dev.c590 struct cpuinfo_x86 *cpuinfo = &boot_cpu_data; in ccp_mod_init()
639 struct cpuinfo_x86 *cpuinfo = &boot_cpu_data; in ccp_mod_exit()
/linux-4.4.14/arch/parisc/math-emu/
Dfpudispatch.c176 if (boot_cpu_data.cpu_type == pcxs) in parisc_linux_get_fpu_type()
178 else if (boot_cpu_data.cpu_type == pcxt || in parisc_linux_get_fpu_type()
179 boot_cpu_data.cpu_type == pcxt_) in parisc_linux_get_fpu_type()
181 else if (boot_cpu_data.cpu_type >= pcxu) in parisc_linux_get_fpu_type()
/linux-4.4.14/drivers/char/
Dds1302.c303 baur=(boot_cpu_data.bus_clock/(2*1000*1000)); in ds1302_probe()
/linux-4.4.14/arch/um/kernel/
Dum_arch.c48 struct cpuinfo_um boot_cpu_data = { variable
/linux-4.4.14/drivers/tty/serial/
Dm32r_sio.c141 sbaud = (boot_cpu_data.bus_clock / (baud * 4))-1; in sio_set_baud_rate()
185 i = boot_cpu_data.bus_clock / (baud * 16); in sio_set_baud_rate()
186 j = (boot_cpu_data.bus_clock - (i * baud * 16)) / baud; in sio_set_baud_rate()
/linux-4.4.14/arch/x86/kvm/
Dcpuid.c248 *word &= boot_cpu_data.x86_capability[wordnum]; in cpuid_mask()
571 entry->edx &= boot_cpu_data.x86_power; in __do_cpuid_ent()
641 return boot_cpu_data.x86_vendor == X86_VENDOR_CENTAUR; in is_centaur_cpu()
Dmmu.c3764 boot_cpu_data.x86_phys_bits, in reset_shadow_zero_bits_mask()
3787 boot_cpu_data.x86_phys_bits, in reset_tdp_shadow_zero_bits_mask()
3792 boot_cpu_data.x86_phys_bits, in reset_tdp_shadow_zero_bits_mask()
3806 boot_cpu_data.x86_phys_bits, execonly); in reset_ept_shadow_zero_bits_mask()
Dsvm.c613 if (osvw_len == 0 && boot_cpu_data.x86 == 0x10) in svm_init_osvw()
690 if (cpu_has(&boot_cpu_data, X86_FEATURE_OSVW)) { in svm_hardware_enable()
Dvmx.c3287 if (cpu_has_load_perf_global_ctrl && boot_cpu_data.x86 == 0x6) { in setup_vmcs_config()
3288 switch (boot_cpu_data.x86_model) { in setup_vmcs_config()
Dx86.c5696 int maxphyaddr = boot_cpu_data.x86_phys_bits; in kvm_set_mmio_spte_mask()
/linux-4.4.14/arch/x86/kernel/cpu/mcheck/
Dmce_intel.c85 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) in cmci_supported()
Dmce.c133 m->cpuvendor = boot_cpu_data.x86_vendor; in mce_setup()
522 struct cpuinfo_x86 *c = &boot_cpu_data; in memory_error()
2081 if (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL) in vendor_disable_error_reporting()
2310 if (!mce_available(&boot_cpu_data)) in mce_device_create()
2466 if (!mce_available(&boot_cpu_data)) { in mcheck_init_device()
Dmce-severity.c279 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) in mcheck_vendor_init_severity()
Dtherm_throt.c468 if (intel_thermal_supported(&boot_cpu_data)) in mcheck_intel_therm_init()
/linux-4.4.14/drivers/parisc/
Dsba_iommu.c1131 if ( ((boot_cpu_data.pdc.cpuid >> 5) & 0x7f) != 0x13 in sba_alloc_pdir()
1132 || (boot_cpu_data.pdc.versions > 0x202) in sba_alloc_pdir()
1133 || (boot_cpu_data.pdc.capabilities & 0x08L) ) in sba_alloc_pdir()
1751 ioc_needs_fdc = boot_cpu_data.pdc.capabilities & PDC_MODEL_IOPDIR_FDC; in sba_common_init()
Dled.c472 if (boot_cpu_data.cpu_type >= pcxl2) { in led_work_func()
Dlba_pci.c628 if (boot_cpu_data.cpu_type < mako) in extend_lmmio_len()
/linux-4.4.14/drivers/media/platform/
Darv.c62 extern struct cpuinfo_m32r boot_cpu_data;
853 freq = (boot_cpu_data.bus_clock / 1000000); in ar_init_module()
/linux-4.4.14/drivers/parport/
Dparport_gsc.c365 if (boot_cpu_data.cpu_type > pcxt && !pdc_add_valid(port+4)) { in parport_init_chip()
/linux-4.4.14/arch/x86/ras/
Dmce_amd_inj.c206 struct cpuinfo_x86 *c = &boot_cpu_data; in get_nbc_for_node()
/linux-4.4.14/arch/mips/kvm/
Dmips.c580 v = boot_cpu_data.fpu_id; in kvm_mips_get_reg()
609 v = boot_cpu_data.msa_id; in kvm_mips_get_reg()
1097 r = cpu_has_msa && !(boot_cpu_data.msa_id & MSA_IR_WRPF); in kvm_vm_ioctl_check_extension()
/linux-4.4.14/drivers/powercap/
Dintel_rapl.c1520 boot_cpu_data.x86, boot_cpu_data.x86_model); in rapl_init()
/linux-4.4.14/drivers/gpu/drm/ttm/
Dttm_bo_util.c490 else if (boot_cpu_data.x86 > 3) in ttm_io_prot()
/linux-4.4.14/arch/mips/math-emu/
Dcp1emu.c894 value = boot_cpu_data.fpu_id; in cop1_cfc()
926 mask = boot_cpu_data.fpu_msk31; in cop1_ctc()
/linux-4.4.14/drivers/net/ethernet/dec/tulip/
Dwinbond-840.c898 if (boot_cpu_data.x86 <= 4) { in init_registers()
/linux-4.4.14/drivers/net/ethernet/
Dfealnx.c872 if (boot_cpu_data.x86 <= 4) in netdev_open()
/linux-4.4.14/drivers/scsi/
Ddpt_i2o.c1935 switch (boot_cpu_data.x86) { in adpt_i386_info()
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_gem.c966 & (boot_cpu_data.x86_clflush_size - 1)); in i915_gem_shmem_pwrite()