Home
last modified time | relevance | path

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

123456

/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 …]
/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 …]
/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 …]
/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 …]
/arch/sh/kernel/cpu/sh2/
Dprobe.c36 boot_cpu_data.type = CPU_SH7619; in cpu_probe()
37 boot_cpu_data.dcache.ways = 4; in cpu_probe()
38 boot_cpu_data.dcache.way_incr = (1<<12); in cpu_probe()
39 boot_cpu_data.dcache.sets = 256; in cpu_probe()
40 boot_cpu_data.dcache.entry_shift = 4; in cpu_probe()
41 boot_cpu_data.dcache.linesz = L1_CACHE_BYTES; in cpu_probe()
42 boot_cpu_data.dcache.flags = 0; in cpu_probe()
54 boot_cpu_data.type = CPU_J2; in cpu_probe()
59 boot_cpu_data.dcache.ways = 1; in cpu_probe()
60 boot_cpu_data.dcache.sets = 256; in cpu_probe()
[all …]
/arch/parisc/kernel/
Dprocessor.c46 struct system_cpuinfo_parisc boot_cpu_data __read_mostly;
47 EXPORT_SYMBOL(boot_cpu_data);
106 if (boot_cpu_data.cpu_count > 0) { in processor_probe()
115 cpuid = boot_cpu_data.cpu_count; in processor_probe()
164 boot_cpu_data.cpu_count--; in processor_probe()
174 boot_cpu_data.cpu_count++; in processor_probe()
243 memset(&boot_cpu_data, 0, sizeof(boot_cpu_data)); in collect_boot_cpu_data()
248 boot_cpu_data.cpu_hz = 100 * PAGE0->mem_10msec; /* Hz of this PARISC */ in collect_boot_cpu_data()
251 #define p ((unsigned long *)&boot_cpu_data.pdc.model) in collect_boot_cpu_data()
252 if (pdc_model_info(&boot_cpu_data.pdc.model) == PDC_OK) { in collect_boot_cpu_data()
[all …]
Dperf.c507 if (boot_cpu_data.cpu_type == pcxu || in perf_init()
508 boot_cpu_data.cpu_type == pcxu_) { in perf_init()
510 } else if (boot_cpu_data.cpu_type == pcxw || in perf_init()
511 boot_cpu_data.cpu_type == pcxw_ || in perf_init()
512 boot_cpu_data.cpu_type == pcxw2 || in perf_init()
513 boot_cpu_data.cpu_type == mako || in perf_init()
514 boot_cpu_data.cpu_type == mako2) { in perf_init()
516 if (boot_cpu_data.cpu_type == pcxw2 || in perf_init()
517 boot_cpu_data.cpu_type == mako || in perf_init()
518 boot_cpu_data.cpu_type == mako2) in perf_init()
Dsetup.c96 switch (boot_cpu_data.cpu_type) { in dma_ops_init()
229 switch (boot_cpu_data.cpu_type) { in parisc_proc_mkdir()
352 boot_cpu_data.cpu_name, in parisc_init()
353 boot_cpu_data.cpu_hz / 1000000, in parisc_init()
354 boot_cpu_data.cpu_hz % 1000000 ); in parisc_init()
/arch/sh/mm/
Dcache.c65 if (boot_cpu_data.dcache.n_aliases && page_mapcount(page) && in copy_to_user_page()
72 if (boot_cpu_data.dcache.n_aliases) in copy_to_user_page()
84 if (boot_cpu_data.dcache.n_aliases && page_mapcount(page) && in copy_from_user_page()
91 if (boot_cpu_data.dcache.n_aliases) in copy_from_user_page()
103 if (boot_cpu_data.dcache.n_aliases && page_mapcount(from) && in copy_user_highpage()
143 if (!boot_cpu_data.dcache.n_aliases) in __update_cache()
159 if (boot_cpu_data.dcache.n_aliases && page_mapcount(page) && in __flush_anon_page()
180 if (boot_cpu_data.dcache.n_aliases == 0) in flush_cache_mm()
188 if (boot_cpu_data.dcache.n_aliases == 0) in flush_cache_dup_mm()
261 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()
/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()
Dcpufeature.h129 #define boot_cpu_has(bit) cpu_has(&boot_cpu_data, bit)
137 set_cpu_cap(&boot_cpu_data, bit); \
184 [cap_byte] "m" (((const char *)boot_cpu_data.x86_capability)[bit >> 3]) in _static_cpu_has()
211 #define boot_cpu_has_bug(bit) cpu_has_bug(&boot_cpu_data, (bit))
212 #define boot_cpu_set_bug(bit) set_cpu_cap(&boot_cpu_data, (bit))
218 #define CPU_FEATURE_TYPEVAL boot_cpu_data.x86_vendor, boot_cpu_data.x86, \
219 boot_cpu_data.x86_model
Dacpi.h94 if (boot_cpu_data.x86 == 0x0F && in acpi_processor_cstate_check()
95 boot_cpu_data.x86_vendor == X86_VENDOR_AMD && in acpi_processor_cstate_check()
96 boot_cpu_data.x86_model <= 0x05 && in acpi_processor_cstate_check()
97 boot_cpu_data.x86_stepping < 0x0A) in acpi_processor_cstate_check()
Damd_nb.h107 if (boot_cpu_data.x86 == 0xf || boot_cpu_data.x86 == 0x10 || in amd_gart_present()
108 (boot_cpu_data.x86 == 0x15 && boot_cpu_data.x86_model < 0x10)) in amd_gart_present()
Dvirtext.h86 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD) { in cpu_has_svm()
92 if (boot_cpu_data.extended_cpuid_level < SVM_CPUID_FUNC) { in cpu_has_svm()
/arch/x86/kernel/cpu/
Dperfctr-watchdog.c48 switch (boot_cpu_data.x86_vendor) { in nmi_perfctr_msr_to_bit()
54 if (cpu_has(&boot_cpu_data, X86_FEATURE_ARCH_PERFMON)) in nmi_perfctr_msr_to_bit()
57 switch (boot_cpu_data.x86) { in nmi_perfctr_msr_to_bit()
76 switch (boot_cpu_data.x86_vendor) { in nmi_evntsel_msr_to_bit()
82 if (cpu_has(&boot_cpu_data, X86_FEATURE_ARCH_PERFMON)) in nmi_evntsel_msr_to_bit()
85 switch (boot_cpu_data.x86) { in nmi_evntsel_msr_to_bit()
/arch/um/include/asm/
Dprocessor-generic.h92 extern struct cpuinfo_um boot_cpu_data;
94 #define cpu_data (&boot_cpu_data)
95 #define current_cpu_data boot_cpu_data
/arch/x86/kernel/
Dtsc_msr.c78 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) in cpu_khz_from_msr()
81 cpu_index = match_cpu(boot_cpu_data.x86, boot_cpu_data.x86_model); in cpu_khz_from_msr()
Damd_nb.c235 if (boot_cpu_data.x86 == 0x10 && in amd_cache_northbridges()
236 boot_cpu_data.x86_model >= 0x8 && in amd_cache_northbridges()
237 (boot_cpu_data.x86_model > 0x9 || in amd_cache_northbridges()
238 boot_cpu_data.x86_stepping >= 0x1)) in amd_cache_northbridges()
241 if (boot_cpu_data.x86 == 0x15) in amd_cache_northbridges()
245 if (boot_cpu_data.x86 == 0x15) in amd_cache_northbridges()
274 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD) in amd_get_mmconfig_range()
278 if (boot_cpu_data.x86 < 0x10) in amd_get_mmconfig_range()
423 if (boot_cpu_data.x86 != 0x14) in fix_erratum_688()
Dalternative.c200 switch (boot_cpu_data.x86_vendor) { in arch_init_ideal_nops()
207 if (boot_cpu_data.x86 == 6 && in arch_init_ideal_nops()
208 boot_cpu_data.x86_model >= 0x0f && in arch_init_ideal_nops()
209 boot_cpu_data.x86_model != 0x1c && in arch_init_ideal_nops()
210 boot_cpu_data.x86_model != 0x26 && in arch_init_ideal_nops()
211 boot_cpu_data.x86_model != 0x27 && in arch_init_ideal_nops()
212 boot_cpu_data.x86_model < 0x30) { in arch_init_ideal_nops()
226 if (boot_cpu_data.x86 > 0xf) { in arch_init_ideal_nops()
551 clear_cpu_cap(&boot_cpu_data, X86_FEATURE_UP); in alternatives_enable_smp()
/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
/arch/x86/platform/intel-mid/
Dintel-mid.c122 if (boot_cpu_data.x86 != 6) { in intel_mid_arch_setup()
124 boot_cpu_data.x86, boot_cpu_data.x86_model); in intel_mid_arch_setup()
129 switch (boot_cpu_data.x86_model) { in intel_mid_arch_setup()
/arch/mn10300/include/asm/
Dprocessor.h54 extern struct mn10300_cpuinfo boot_cpu_data;
63 #define cpu_data &boot_cpu_data
64 #define current_cpu_data boot_cpu_data
/arch/x86/kernel/cpu/mtrr/
Dmain.c331 (boot_cpu_data.x86_phys_bits - PAGE_SHIFT)) { in mtrr_add_page()
711 if (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL && in mtrr_bp_init()
712 boot_cpu_data.x86 == 0xF && in mtrr_bp_init()
713 boot_cpu_data.x86_model == 0x3 && in mtrr_bp_init()
714 (boot_cpu_data.x86_stepping == 0x3 || in mtrr_bp_init()
715 boot_cpu_data.x86_stepping == 0x4)) in mtrr_bp_init()
720 } else if (boot_cpu_data.x86_vendor == X86_VENDOR_CENTAUR && in mtrr_bp_init()
721 boot_cpu_data.x86 == 6) { in mtrr_bp_init()
731 switch (boot_cpu_data.x86_vendor) { in mtrr_bp_init()
/arch/sh/kernel/cpu/
Dfpu.c14 if ((boot_cpu_data.flags & CPU_HAS_FPU) && tsk == current) in init_fpu()
29 if (boot_cpu_data.flags & CPU_HAS_FPU) { in init_fpu()

123456