| /linux/arch/sh/kernel/cpu/sh4/ |
| H A D | probe.c | 35 boot_cpu_data.icache.way_incr = (1 << 13); in cpu_probe() 36 boot_cpu_data.icache.entry_shift = 5; in cpu_probe() 37 boot_cpu_data.icache.sets = 256; in cpu_probe() 38 boot_cpu_data.icache.ways = 1; in cpu_probe() 39 boot_cpu_data.icache.linesz = L1_CACHE_BYTES; in cpu_probe() 44 boot_cpu_data.dcache.way_incr = (1 << 14); in cpu_probe() 45 boot_cpu_data.dcache.entry_shift = 5; in cpu_probe() 46 boot_cpu_data.dcache.sets = 512; in cpu_probe() 47 boot_cpu_data.dcache.ways = 1; in cpu_probe() 48 boot_cpu_data.dcache.linesz = L1_CACHE_BYTES; in cpu_probe() [all …]
|
| /linux/arch/sh/kernel/cpu/sh2a/ |
| H A D | probe.c | 15 boot_cpu_data.family = CPU_FAMILY_SH2A; in cpu_probe() 18 boot_cpu_data.flags |= CPU_HAS_OP32; in cpu_probe() 21 boot_cpu_data.type = CPU_SH7201; in cpu_probe() 22 boot_cpu_data.flags |= CPU_HAS_FPU; in cpu_probe() 24 boot_cpu_data.type = CPU_SH7203; in cpu_probe() 25 boot_cpu_data.flags |= CPU_HAS_FPU; in cpu_probe() 27 boot_cpu_data.type = CPU_SH7263; in cpu_probe() 28 boot_cpu_data.flags |= CPU_HAS_FPU; in cpu_probe() 30 boot_cpu_data.type = CPU_SH7264; in cpu_probe() 31 boot_cpu_data.flags |= CPU_HAS_FPU; in cpu_probe() [all …]
|
| /linux/arch/parisc/kernel/ |
| H A D | processor.c | 34 struct system_cpuinfo_parisc boot_cpu_data __ro_after_init; 35 EXPORT_SYMBOL(boot_cpu_data); 94 if (boot_cpu_data.cpu_count > 0) { in processor_probe() 103 cpuid = boot_cpu_data.cpu_count; in processor_probe() 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() 239 boot_cpu_data.cpu_hz = 100 * PAGE0->mem_10msec; /* Hz of this PARISC */ in collect_boot_cpu_data() 242 #define p ((unsigned long *)&boot_cpu_data.pdc.model) in collect_boot_cpu_data() 243 if (pdc_model_info(&boot_cpu_data.pdc.model) == PDC_OK) { in collect_boot_cpu_data() [all …]
|
| H A D | setup.c | 85 switch (boot_cpu_data.cpu_type) { in dma_ops_init() 253 boot_cpu_data.cpu_name, in parisc_init() 254 boot_cpu_data.cpu_hz / 1000000, in parisc_init() 255 boot_cpu_data.cpu_hz % 1000000 ); in parisc_init()
|
| H 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()
|
| H A D | pci-dma.c | 408 if (boot_cpu_data.cpu_type != pcxl2 && boot_cpu_data.cpu_type != pcxl) in arch_dma_alloc() 428 WARN_ON_ONCE(boot_cpu_data.cpu_type != pcxl2 && in arch_dma_free() 429 boot_cpu_data.cpu_type != pcxl); in arch_dma_free()
|
| /linux/arch/sh/kernel/cpu/sh3/ |
| H A D | probe.c | 50 boot_cpu_data.dcache.ways = 4; in cpu_probe() 51 boot_cpu_data.dcache.entry_shift = 4; in cpu_probe() 52 boot_cpu_data.dcache.linesz = L1_CACHE_BYTES; in cpu_probe() 53 boot_cpu_data.dcache.flags = 0; in cpu_probe() 60 boot_cpu_data.dcache.way_incr = (1 << 11); in cpu_probe() 61 boot_cpu_data.dcache.entry_mask = 0x7f0; in cpu_probe() 62 boot_cpu_data.dcache.sets = 128; in cpu_probe() 63 boot_cpu_data.type = CPU_SH7708; in cpu_probe() 65 boot_cpu_data.flags |= CPU_HAS_MMU_PAGE_ASSOC; in cpu_probe() 67 boot_cpu_data.dcache.way_incr = (1 << 12); in cpu_probe() [all …]
|
| /linux/arch/sh/kernel/cpu/sh2/ |
| H A D | probe.c | 33 boot_cpu_data.type = CPU_SH7619; in cpu_probe() 34 boot_cpu_data.dcache.ways = 4; in cpu_probe() 35 boot_cpu_data.dcache.way_incr = (1<<12); in cpu_probe() 36 boot_cpu_data.dcache.sets = 256; in cpu_probe() 37 boot_cpu_data.dcache.entry_shift = 4; in cpu_probe() 38 boot_cpu_data.dcache.linesz = L1_CACHE_BYTES; 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() [all …]
|
| /linux/arch/sh/mm/ |
| H A D | cache.c | 66 if (boot_cpu_data.dcache.n_aliases && folio_mapped(folio) && in copy_to_user_page() 73 if (boot_cpu_data.dcache.n_aliases) in copy_to_user_page() 87 if (boot_cpu_data.dcache.n_aliases && folio_mapped(folio) && in copy_from_user_page() 94 if (boot_cpu_data.dcache.n_aliases) in copy_from_user_page() 107 if (boot_cpu_data.dcache.n_aliases && folio_mapped(src) && in copy_user_highpage() 146 if (!boot_cpu_data.dcache.n_aliases) in __update_cache() 164 if (boot_cpu_data.dcache.n_aliases && folio_mapped(folio) && in __flush_anon_page() 186 if (boot_cpu_data.dcache.n_aliases == 0) in flush_cache_mm() 194 if (boot_cpu_data.dcache.n_aliases == 0) in flush_cache_dup_mm() 268 boot_cpu_data.icache.ways, in emit_cache_params() [all …]
|
| H 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()
|
| /linux/arch/x86/include/asm/ |
| H 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()
|
| /linux/arch/x86/kernel/ |
| H 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() 148 boot_cpu_data.x86_vendor != X86_VENDOR_HYGON) in amd_get_mmconfig_range() [all …]
|
| /linux/arch/x86/kernel/cpu/ |
| H 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()
|
| /linux/drivers/mtd/nand/raw/ |
| H A D | cs553x_nand.c | 329 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD && in is_geode() 330 boot_cpu_data.x86 == 5 && in is_geode() 331 boot_cpu_data.x86_model == 10) in is_geode() 334 if ((boot_cpu_data.x86_vendor == X86_VENDOR_NSC || in is_geode() 335 boot_cpu_data.x86_vendor == X86_VENDOR_CYRIX) && in is_geode() 336 boot_cpu_data.x86 == 5 && in is_geode() 337 boot_cpu_data.x86_model == 5) in is_geode()
|
| /linux/arch/x86/mm/ |
| H 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()
|
| H A D | physaddr.h | 7 return !(addr >> boot_cpu_data.x86_phys_bits); in phys_addr_valid()
|
| /linux/arch/x86/events/amd/ |
| H A D | uncore.c | 339 return boot_cpu_data.x86 >= 0x17 && boot_cpu_data.x86 < 0x19 ? in amd_f17h_uncore_is_visible() 346 return boot_cpu_data.x86 >= 0x19 ? attr->mode : 0; in amd_f19h_uncore_is_visible() 771 strscpy(pmu->name, boot_cpu_data.x86 >= 0x17 ? "amd_df" : "amd_nb", in amd_uncore_df_ctx_init() 781 } else if (boot_cpu_data.x86 >= 0x17) { in amd_uncore_df_ctx_init() 810 boot_cpu_data.x86_vendor == X86_VENDOR_HYGON ? "HYGON " : "", in amd_uncore_df_ctx_init() 834 if (ret || boot_cpu_data.x86 < 0x17) in amd_uncore_l3_event_init() 841 if (boot_cpu_data.x86 <= 0x18) in amd_uncore_l3_event_init() 873 if (boot_cpu_data.x86 >= 0x17) in amd_uncore_l3_ctx_scan() 905 strscpy(pmu->name, boot_cpu_data.x86 >= 0x17 ? "amd_l3" : "amd_l2", in amd_uncore_l3_ctx_init() 912 if (boot_cpu_data.x86 >= 0x17) { in amd_uncore_l3_ctx_init() [all …]
|
| /linux/arch/um/include/asm/ |
| H A D | processor-generic.h | 81 extern struct cpuinfo_um boot_cpu_data; 83 #define cache_line_size() (boot_cpu_data.cache_alignment)
|
| /linux/arch/mips/kernel/ |
| H A D | fpu-probe.c | 245 if (!(boot_cpu_data.options & MIPS_CPU_FPU)) in ieee754_setup() 246 cpu_set_nofpu_2008(&boot_cpu_data); in ieee754_setup() 247 cpu_set_nan_2008(&boot_cpu_data); in ieee754_setup() 321 cpu_set_nofpu_opts(&boot_cpu_data); in fpu_disable()
|
| /linux/arch/x86/kernel/cpu/resctrl/ |
| H A D | monitor.c | 391 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) in snc_get_config() 421 unsigned int mbm_offset = boot_cpu_data.x86_cache_mbm_width_offset; in rdt_get_l3_mon_config() 428 resctrl_rmid_realloc_limit = boot_cpu_data.x86_cache_size * 1024; in rdt_get_l3_mon_config() 429 hw_res->mon_scale = boot_cpu_data.x86_cache_occ_scale / snc_nodes_per_l3_cache; in rdt_get_l3_mon_config() 430 r->mon.num_rmid = (boot_cpu_data.x86_cache_max_rmid + 1) / snc_nodes_per_l3_cache; in rdt_get_l3_mon_config() 486 cf_index = (boot_cpu_data.x86_cache_max_rmid + 1) / 8 - 1; in intel_rdt_mbm_apply_quirk()
|
| /linux/arch/sh/kernel/cpu/ |
| H A D | fpu.c | 14 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()
|
| /linux/arch/loongarch/include/asm/ |
| H A D | cacheflush.h | 29 int cache_present = boot_cpu_data.cache_leaves_present; in cpu_last_level_cache_line_size() 31 return boot_cpu_data.cache_leaves[cache_present - 1].linesz; in cpu_last_level_cache_line_size()
|
| /linux/drivers/cpufreq/ |
| H A D | amd_freq_sensitivity.c | 112 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) in amd_freq_sensitivity_init() 114 else if (boot_cpu_data.x86_vendor == X86_VENDOR_HYGON) in amd_freq_sensitivity_init()
|
| /linux/arch/x86/kernel/cpu/mce/ |
| H A D | intel.c | 90 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL && in cmci_supported() 91 boot_cpu_data.x86_vendor != X86_VENDOR_ZHAOXIN) in cmci_supported() 504 struct cpuinfo_x86 *c = &boot_cpu_data; in intel_filter_mce()
|
| /linux/drivers/platform/x86/amd/pmc/ |
| H A D | mp1_stb.c | 244 switch (boot_cpu_data.x86_model) { in amd_stb_update_args() 264 if (boot_cpu_data.x86_model == 0x44) in amd_is_stb_supported() 274 if (boot_cpu_data.x86_model == 0x70) in amd_is_stb_supported()
|