| /arch/sh/kernel/cpu/sh4/ |
| A D | probe.c | 37 boot_cpu_data.icache.sets = 256; in cpu_probe() 38 boot_cpu_data.icache.ways = 1; in cpu_probe() 46 boot_cpu_data.dcache.sets = 512; in cpu_probe() 47 boot_cpu_data.dcache.ways = 1; in cpu_probe() 51 boot_cpu_data.cut_major = boot_cpu_data.cut_minor = -1; in cpu_probe() 67 boot_cpu_data.icache.ways = 4; in cpu_probe() 68 boot_cpu_data.dcache.ways = 4; in cpu_probe() 166 boot_cpu_data.type = CPU_SHX3; in cpu_probe() 171 boot_cpu_data.icache.ways = 2; in cpu_probe() 172 boot_cpu_data.dcache.ways = 2; in cpu_probe() [all …]
|
| /arch/sh/kernel/cpu/sh2a/ |
| A D | probe.c | 21 boot_cpu_data.type = CPU_SH7201; in cpu_probe() 24 boot_cpu_data.type = CPU_SH7203; in cpu_probe() 27 boot_cpu_data.type = CPU_SH7263; in cpu_probe() 30 boot_cpu_data.type = CPU_SH7264; in cpu_probe() 33 boot_cpu_data.type = CPU_SH7269; in cpu_probe() 36 boot_cpu_data.type = CPU_SH7206; in cpu_probe() 39 boot_cpu_data.type = CPU_MXG; in cpu_probe() 43 boot_cpu_data.dcache.ways = 4; in cpu_probe() 45 boot_cpu_data.dcache.sets = 128; in cpu_probe() 48 boot_cpu_data.dcache.flags = 0; in cpu_probe() [all …]
|
| /arch/sh/kernel/cpu/sh3/ |
| A D | probe.c | 50 boot_cpu_data.dcache.ways = 4; in cpu_probe() 53 boot_cpu_data.dcache.flags = 0; in cpu_probe() 62 boot_cpu_data.dcache.sets = 128; in cpu_probe() 63 boot_cpu_data.type = CPU_SH7708; in cpu_probe() 69 boot_cpu_data.dcache.sets = 256; in cpu_probe() 70 boot_cpu_data.type = CPU_SH7729; in cpu_probe() 73 boot_cpu_data.type = CPU_SH7706; in cpu_probe() 76 boot_cpu_data.type = CPU_SH7710; in cpu_probe() 79 boot_cpu_data.type = CPU_SH7712; in cpu_probe() 82 boot_cpu_data.type = CPU_SH7720; in cpu_probe() [all …]
|
| /arch/sh/kernel/cpu/sh2/ |
| A D | probe.c | 33 boot_cpu_data.type = CPU_SH7619; in cpu_probe() 34 boot_cpu_data.dcache.ways = 4; in cpu_probe() 36 boot_cpu_data.dcache.sets = 256; in cpu_probe() 37 boot_cpu_data.dcache.entry_shift = 4; in cpu_probe() 39 boot_cpu_data.dcache.flags = 0; in cpu_probe() 51 boot_cpu_data.type = CPU_J2; in cpu_probe() 56 boot_cpu_data.dcache.ways = 1; in cpu_probe() 57 boot_cpu_data.dcache.sets = 256; in cpu_probe() 59 boot_cpu_data.dcache.linesz = 32; in cpu_probe() 60 boot_cpu_data.dcache.flags = 0; in cpu_probe() [all …]
|
| /arch/parisc/kernel/ |
| A D | processor.c | 35 EXPORT_SYMBOL(boot_cpu_data); 152 boot_cpu_data.cpu_count--; in processor_probe() 162 boot_cpu_data.cpu_count++; in processor_probe() 234 memset(&boot_cpu_data, 0, sizeof(boot_cpu_data)); in collect_boot_cpu_data() 265 boot_cpu_data.pdc.cpuid); in collect_boot_cpu_data() 286 boot_cpu_data.hversion = boot_cpu_data.pdc.model.hversion; in collect_boot_cpu_data() 287 boot_cpu_data.sversion = boot_cpu_data.pdc.model.sversion; in collect_boot_cpu_data() 289 boot_cpu_data.cpu_type = parisc_get_cpu_type(boot_cpu_data.hversion); in collect_boot_cpu_data() 290 boot_cpu_data.cpu_name = cpu_name_version[boot_cpu_data.cpu_type][0]; in collect_boot_cpu_data() 291 boot_cpu_data.family_name = cpu_name_version[boot_cpu_data.cpu_type][1]; in collect_boot_cpu_data() [all …]
|
| A D | perf.c | 493 if (boot_cpu_data.cpu_type == pcxu || in perf_init() 494 boot_cpu_data.cpu_type == pcxu_) { in perf_init() 496 } else if (boot_cpu_data.cpu_type == pcxw || in perf_init() 497 boot_cpu_data.cpu_type == pcxw_ || in perf_init() 498 boot_cpu_data.cpu_type == pcxw2 || in perf_init() 499 boot_cpu_data.cpu_type == mako || in perf_init() 500 boot_cpu_data.cpu_type == mako2) { in perf_init() 502 if (boot_cpu_data.cpu_type == pcxw2 || in perf_init() 503 boot_cpu_data.cpu_type == mako || in perf_init() 504 boot_cpu_data.cpu_type == mako2) in perf_init()
|
| A D | alternative.c | 42 (((boot_cpu_data.cpu_type > pcxw_) && in apply_alternatives() 43 ((boot_cpu_data.pdc.capabilities & PDC_MODEL_IOPDIR_FDC) == 0)) in apply_alternatives() 72 if (boot_cpu_data.cpu_type >= pcxu) /* >= pa2.0 ? */ in apply_alternatives()
|
| A D | setup.c | 85 switch (boot_cpu_data.cpu_type) { in dma_ops_init() 261 boot_cpu_data.cpu_name, in parisc_init() 262 boot_cpu_data.cpu_hz / 1000000, in parisc_init() 263 boot_cpu_data.cpu_hz % 1000000 ); in parisc_init()
|
| /arch/sh/mm/ |
| A D | cache.c | 268 boot_cpu_data.icache.ways, in emit_cache_params() 269 boot_cpu_data.icache.sets, in emit_cache_params() 270 boot_cpu_data.icache.way_incr); in emit_cache_params() 272 boot_cpu_data.icache.entry_mask, in emit_cache_params() 273 boot_cpu_data.icache.alias_mask, in emit_cache_params() 274 boot_cpu_data.icache.n_aliases); in emit_cache_params() 276 boot_cpu_data.dcache.ways, in emit_cache_params() 277 boot_cpu_data.dcache.sets, in emit_cache_params() 278 boot_cpu_data.dcache.way_incr); in emit_cache_params() 289 boot_cpu_data.scache.ways, in emit_cache_params() [all …]
|
| A D | cache-shx3.c | 28 if (boot_cpu_data.dcache.n_aliases || boot_cpu_data.icache.n_aliases) { in shx3_cache_init() 31 boot_cpu_data.icache.n_aliases = 0; in shx3_cache_init() 32 boot_cpu_data.dcache.n_aliases = 0; in shx3_cache_init()
|
| /arch/x86/include/asm/ |
| A D | geode.h | 16 return ((boot_cpu_data.x86_vendor == X86_VENDOR_NSC) && in is_geode_gx() 17 (boot_cpu_data.x86 == 5) && in is_geode_gx() 18 (boot_cpu_data.x86_model == 5)); in is_geode_gx() 23 return ((boot_cpu_data.x86_vendor == X86_VENDOR_AMD) && in is_geode_lx() 24 (boot_cpu_data.x86 == 5) && in is_geode_lx() 25 (boot_cpu_data.x86_model == 10)); in is_geode_lx()
|
| A D | cpufeature.h | 74 #define boot_cpu_has(bit) cpu_has(&boot_cpu_data, bit) 87 set_cpu_cap(&boot_cpu_data, bit); \ 110 [cap_byte] "i" (&((const char *)boot_cpu_data.x86_capability)[bit >> 3]) in _static_cpu_has() 130 #define boot_cpu_has_bug(bit) cpu_has_bug(&boot_cpu_data, (bit)) 131 #define boot_cpu_set_bug(bit) set_cpu_cap(&boot_cpu_data, (bit)) 137 #define CPU_FEATURE_TYPEVAL boot_cpu_data.x86_vendor, boot_cpu_data.x86, \ 138 boot_cpu_data.x86_model
|
| A D | acpi.h | 99 if (boot_cpu_data.x86 == 0x0F && in acpi_processor_cstate_check() 100 boot_cpu_data.x86_vendor == X86_VENDOR_AMD && in acpi_processor_cstate_check() 101 boot_cpu_data.x86_model <= 0x05 && in acpi_processor_cstate_check() 102 boot_cpu_data.x86_stepping < 0x0A) in acpi_processor_cstate_check()
|
| /arch/um/include/asm/ |
| A D | cpufeature.h | 54 #define boot_cpu_has(bit) cpu_has(&boot_cpu_data, bit) 61 set_cpu_cap(&boot_cpu_data, bit); \ 111 [cap_byte] "m" (((const char *)boot_cpu_data.x86_capability)[bit >> 3]) in _static_cpu_has() 130 #define boot_cpu_has_bug(bit) cpu_has_bug(&boot_cpu_data, (bit)) 131 #define boot_cpu_set_bug(bit) set_cpu_cap(&boot_cpu_data, (bit)) 137 #define CPU_FEATURE_TYPEVAL boot_cpu_data.x86_vendor, boot_cpu_data.x86, \ 138 boot_cpu_data.x86_model
|
| A D | processor-generic.h | 82 extern struct cpuinfo_um boot_cpu_data; 84 #define cpu_data(cpu) boot_cpu_data 85 #define current_cpu_data boot_cpu_data 86 #define cache_line_size() (boot_cpu_data.cache_alignment)
|
| /arch/x86/kernel/ |
| A D | amd_nb.c | 103 if (boot_cpu_data.x86 == 0x10 && in amd_cache_northbridges() 104 boot_cpu_data.x86_model >= 0x8 && in amd_cache_northbridges() 105 (boot_cpu_data.x86_model > 0x9 || in amd_cache_northbridges() 106 boot_cpu_data.x86_stepping >= 0x1)) in amd_cache_northbridges() 109 if (boot_cpu_data.x86 == 0x15) in amd_cache_northbridges() 113 if (boot_cpu_data.x86 == 0x15) in amd_cache_northbridges() 128 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD && in early_is_amd_nb() 129 boot_cpu_data.x86_vendor != X86_VENDOR_HYGON) in early_is_amd_nb() 147 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD && in amd_get_mmconfig_range() 152 if (boot_cpu_data.x86 < 0x10 || in amd_get_mmconfig_range() [all …]
|
| /arch/x86/kernel/acpi/ |
| A D | cppc.c | 29 switch (boot_cpu_data.x86_vendor) { in cpc_supported_by_cpu() 32 if (boot_cpu_data.x86 == 0x19 && ((boot_cpu_data.x86_model <= 0x0f) || in cpc_supported_by_cpu() 33 (boot_cpu_data.x86_model >= 0x20 && boot_cpu_data.x86_model <= 0x2f))) in cpc_supported_by_cpu() 35 else if (boot_cpu_data.x86 == 0x17 && in cpc_supported_by_cpu() 36 boot_cpu_data.x86_model >= 0x30 && boot_cpu_data.x86_model <= 0x7f) in cpc_supported_by_cpu() 122 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD) in init_freq_invariance_cppc() 265 switch (boot_cpu_data.x86_model) { in amd_get_boost_ratio_numerator()
|
| /arch/x86/kernel/cpu/ |
| A D | perfctr-watchdog.c | 48 switch (boot_cpu_data.x86_vendor) { in nmi_perfctr_msr_to_bit() 55 if (cpu_has(&boot_cpu_data, X86_FEATURE_ARCH_PERFMON)) in nmi_perfctr_msr_to_bit() 58 switch (boot_cpu_data.x86) { in nmi_perfctr_msr_to_bit() 81 switch (boot_cpu_data.x86_vendor) { in nmi_evntsel_msr_to_bit() 88 if (cpu_has(&boot_cpu_data, X86_FEATURE_ARCH_PERFMON)) in nmi_evntsel_msr_to_bit() 91 switch (boot_cpu_data.x86) { in nmi_evntsel_msr_to_bit()
|
| /arch/x86/include/asm/amd/ |
| A D | nb.h | 53 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD) in amd_gart_present() 57 if (boot_cpu_data.x86 == 0xf || boot_cpu_data.x86 == 0x10 || in amd_gart_present() 58 (boot_cpu_data.x86 == 0x15 && boot_cpu_data.x86_model < 0x10)) in amd_gart_present()
|
| /arch/um/kernel/ |
| A D | um_arch.c | 60 struct cpuinfo_um boot_cpu_data = { variable 67 EXPORT_SYMBOL(boot_cpu_data); 82 seq_printf(m, "fpu\t\t: %s\n", str_yes_no(cpu_has(&boot_cpu_data, X86_FEATURE_FPU))); in show_cpuinfo() 85 if (cpu_has(&boot_cpu_data, i) && (x86_cap_flags[i] != NULL)) in show_cpuinfo() 88 seq_printf(m, "cache_alignment\t: %d\n", boot_cpu_data.cache_alignment); in show_cpuinfo() 99 return *pos < nr_cpu_ids ? &boot_cpu_data + *pos : NULL; in c_start() 273 set_cpu_cap(&boot_cpu_data, i); in parse_host_cpu_flags() 287 boot_cpu_data.cache_alignment = res; in parse_cache_line() 289 boot_cpu_data.cache_alignment = L1_CACHE_BYTES; in parse_cache_line()
|
| /arch/loongarch/kernel/ |
| A D | hw_breakpoint.c | 207 max_slots = boot_cpu_data.watch_ireg_count; in hw_breakpoint_control() 211 max_slots = boot_cpu_data.watch_dreg_count; in hw_breakpoint_control() 438 max_slots = boot_cpu_data.watch_ireg_count; in update_bp_registers() 442 max_slots = boot_cpu_data.watch_dreg_count; in update_bp_registers() 493 for (i = 0; i < boot_cpu_data.watch_ireg_count; ++i) { in breakpoint_handler() 513 for (i = 0; i < boot_cpu_data.watch_dreg_count; ++i) { in watchpoint_handler() 530 boot_cpu_data.watch_ireg_count = get_num_brps(); in arch_hw_breakpoint_init() 531 boot_cpu_data.watch_dreg_count = get_num_wrps(); in arch_hw_breakpoint_init() 534 boot_cpu_data.watch_ireg_count, boot_cpu_data.watch_dreg_count); in arch_hw_breakpoint_init() 537 cpu_data[cpu].watch_ireg_count = boot_cpu_data.watch_ireg_count; in arch_hw_breakpoint_init() [all …]
|
| /arch/x86/mm/ |
| A D | maccess.c | 33 if (!boot_cpu_data.x86_virt_bits) in copy_from_kernel_nofault_allowed() 36 return __is_canonical_address(vaddr, boot_cpu_data.x86_virt_bits); in copy_from_kernel_nofault_allowed()
|
| /arch/x86/kernel/cpu/resctrl/ |
| A D | pseudo_lock.c | 63 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL || in resctrl_arch_get_prefetch_disable_bits() 64 boot_cpu_data.x86 != 6) in resctrl_arch_get_prefetch_disable_bits() 67 switch (boot_cpu_data.x86_vfm) { in resctrl_arch_get_prefetch_disable_bits() 438 switch (boot_cpu_data.x86_vfm) { in resctrl_arch_measure_l2_residency() 477 switch (boot_cpu_data.x86_vfm) { in resctrl_arch_measure_l3_residency() 496 if (boot_cpu_data.x86_vfm == INTEL_BROADWELL_X) { in resctrl_arch_measure_l3_residency()
|
| /arch/x86/xen/ |
| A D | pmu.c | 72 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) { in xen_pmu_arch_init() 74 switch (boot_cpu_data.x86) { in xen_pmu_arch_init() 94 } else if (boot_cpu_data.x86_vendor == X86_VENDOR_HYGON) { in xen_pmu_arch_init() 134 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD && in is_amd_pmu_msr() 135 boot_cpu_data.x86_vendor != X86_VENDOR_HYGON) in is_amd_pmu_msr() 151 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL && in is_intel_pmu_msr() 152 boot_cpu_data.x86_vendor != X86_VENDOR_CENTAUR && in is_intel_pmu_msr() 153 boot_cpu_data.x86_vendor != X86_VENDOR_ZHAOXIN) in is_intel_pmu_msr() 368 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) in xen_read_pmc()
|
| A D | enlighten.c | 79 cpu_detect(&boot_cpu_data); in xen_get_vendor() 80 get_cpu_vendor(&boot_cpu_data); in xen_get_vendor() 88 if ((boot_cpu_data.x86_vendor == X86_VENDOR_AMD || in xen_hypercall_setfunc() 89 boot_cpu_data.x86_vendor == X86_VENDOR_HYGON)) in xen_hypercall_setfunc() 119 if ((boot_cpu_data.x86_vendor == X86_VENDOR_AMD || in __xen_hypercall_setfunc() 120 boot_cpu_data.x86_vendor == X86_VENDOR_HYGON)) in __xen_hypercall_setfunc()
|