/Linux-v5.10/arch/sh/kernel/cpu/sh4/ |
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-v5.10/arch/sh/kernel/cpu/sh2a/ |
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-v5.10/arch/parisc/kernel/ |
D | processor.c | 32 struct system_cpuinfo_parisc boot_cpu_data __ro_after_init; 33 EXPORT_SYMBOL(boot_cpu_data); 92 if (boot_cpu_data.cpu_count > 0) { in processor_probe() 101 cpuid = boot_cpu_data.cpu_count; in processor_probe() 150 boot_cpu_data.cpu_count--; in processor_probe() 160 boot_cpu_data.cpu_count++; in processor_probe() 233 memset(&boot_cpu_data, 0, sizeof(boot_cpu_data)); in collect_boot_cpu_data() 238 boot_cpu_data.cpu_hz = 100 * PAGE0->mem_10msec; /* Hz of this PARISC */ in collect_boot_cpu_data() 241 #define p ((unsigned long *)&boot_cpu_data.pdc.model) in collect_boot_cpu_data() 242 if (pdc_model_info(&boot_cpu_data.pdc.model) == PDC_OK) { in collect_boot_cpu_data() [all …]
|
D | perf.c | 494 if (boot_cpu_data.cpu_type == pcxu || in perf_init() 495 boot_cpu_data.cpu_type == pcxu_) { in perf_init() 497 } else if (boot_cpu_data.cpu_type == pcxw || in perf_init() 498 boot_cpu_data.cpu_type == pcxw_ || in perf_init() 499 boot_cpu_data.cpu_type == pcxw2 || in perf_init() 500 boot_cpu_data.cpu_type == mako || in perf_init() 501 boot_cpu_data.cpu_type == mako2) { in perf_init() 503 if (boot_cpu_data.cpu_type == pcxw2 || in perf_init() 504 boot_cpu_data.cpu_type == mako || in perf_init() 505 boot_cpu_data.cpu_type == mako2) in perf_init()
|
D | setup.c | 78 switch (boot_cpu_data.cpu_type) { in dma_ops_init() 201 switch (boot_cpu_data.cpu_type) { in parisc_proc_mkdir() 324 boot_cpu_data.cpu_name, in parisc_init() 325 boot_cpu_data.cpu_hz / 1000000, in parisc_init() 326 boot_cpu_data.cpu_hz % 1000000 ); in parisc_init()
|
/Linux-v5.10/arch/sh/kernel/cpu/sh3/ |
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-v5.10/arch/sh/kernel/cpu/sh2/ |
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-v5.10/arch/sh/mm/ |
D | cache.c | 64 if (boot_cpu_data.dcache.n_aliases && page_mapcount(page) && in copy_to_user_page() 71 if (boot_cpu_data.dcache.n_aliases) in copy_to_user_page() 83 if (boot_cpu_data.dcache.n_aliases && page_mapcount(page) && in copy_from_user_page() 90 if (boot_cpu_data.dcache.n_aliases) in copy_from_user_page() 102 if (boot_cpu_data.dcache.n_aliases && page_mapcount(from) && in copy_user_highpage() 142 if (!boot_cpu_data.dcache.n_aliases) in __update_cache() 158 if (boot_cpu_data.dcache.n_aliases && page_mapcount(page) && in __flush_anon_page() 179 if (boot_cpu_data.dcache.n_aliases == 0) in flush_cache_mm() 187 if (boot_cpu_data.dcache.n_aliases == 0) in flush_cache_dup_mm() 260 boot_cpu_data.icache.ways, in emit_cache_params() [all …]
|
D | cache-shx3.c | 27 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()
|
/Linux-v5.10/arch/x86/include/asm/ |
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()
|
D | cpufeature.h | 137 #define boot_cpu_has(bit) cpu_has(&boot_cpu_data, bit) 145 set_cpu_cap(&boot_cpu_data, bit); \ 209 [cap_byte] "m" (((const char *)boot_cpu_data.x86_capability)[bit >> 3]) in _static_cpu_has() 230 #define boot_cpu_has_bug(bit) cpu_has_bug(&boot_cpu_data, (bit)) 231 #define boot_cpu_set_bug(bit) set_cpu_cap(&boot_cpu_data, (bit)) 237 #define CPU_FEATURE_TYPEVAL boot_cpu_data.x86_vendor, boot_cpu_data.x86, \ 238 boot_cpu_data.x86_model
|
D | amd_nb.h | 106 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD) in amd_gart_present() 110 if (boot_cpu_data.x86 == 0xf || boot_cpu_data.x86 == 0x10 || in amd_gart_present() 111 (boot_cpu_data.x86 == 0x15 && boot_cpu_data.x86_model < 0x10)) in amd_gart_present()
|
D | acpi.h | 77 if (boot_cpu_data.x86 == 0x0F && in acpi_processor_cstate_check() 78 boot_cpu_data.x86_vendor == X86_VENDOR_AMD && in acpi_processor_cstate_check() 79 boot_cpu_data.x86_model <= 0x05 && in acpi_processor_cstate_check() 80 boot_cpu_data.x86_stepping < 0x0A) in acpi_processor_cstate_check()
|
D | virtext.h | 84 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD && in cpu_has_svm() 85 boot_cpu_data.x86_vendor != X86_VENDOR_HYGON) { in cpu_has_svm() 91 if (boot_cpu_data.extended_cpuid_level < SVM_CPUID_FUNC) { in cpu_has_svm()
|
/Linux-v5.10/arch/x86/kernel/cpu/ |
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()
|
D | match.c | 40 struct cpuinfo_x86 *c = &boot_cpu_data; in x86_match_cpu() 65 struct cpuinfo_x86 *c = &boot_cpu_data; in x86_match_cpu_with_stepping() 86 if (!res || res->x86_microcode_rev > boot_cpu_data.microcode) in x86_cpu_has_min_microcode_rev()
|
/Linux-v5.10/drivers/hwmon/ |
D | k10temp.c | 142 return strstr(boot_cpu_data.x86_model_id, "Threadripper"); in is_threadripper() 147 return strstr(boot_cpu_data.x86_model_id, "EPYC"); in is_epyc() 401 if (boot_cpu_data.x86 != 0x10) in has_erratum_319() 427 return boot_cpu_data.x86_model < 4 || in has_erratum_319() 428 (boot_cpu_data.x86_model == 4 && boot_cpu_data.x86_stepping <= 2); in has_erratum_319() 504 if (boot_cpu_data.x86 == 0x15 && in k10temp_probe() 505 ((boot_cpu_data.x86_model & 0xf0) == 0x60 || in k10temp_probe() 506 (boot_cpu_data.x86_model & 0xf0) == 0x70)) { in k10temp_probe() 509 } else if (boot_cpu_data.x86 == 0x17 || boot_cpu_data.x86 == 0x18) { in k10temp_probe() 515 switch (boot_cpu_data.x86_model) { in k10temp_probe() [all …]
|
/Linux-v5.10/arch/x86/kernel/ |
D | amd_nb.c | 240 if (boot_cpu_data.x86_vendor == X86_VENDOR_HYGON) { in amd_cache_northbridges() 312 if (boot_cpu_data.x86 == 0x10 && in amd_cache_northbridges() 313 boot_cpu_data.x86_model >= 0x8 && in amd_cache_northbridges() 314 (boot_cpu_data.x86_model > 0x9 || in amd_cache_northbridges() 315 boot_cpu_data.x86_stepping >= 0x1)) in amd_cache_northbridges() 318 if (boot_cpu_data.x86 == 0x15) in amd_cache_northbridges() 322 if (boot_cpu_data.x86 == 0x15) in amd_cache_northbridges() 339 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD && in early_is_amd_nb() 340 boot_cpu_data.x86_vendor != X86_VENDOR_HYGON) in early_is_amd_nb() 343 if (boot_cpu_data.x86_vendor == X86_VENDOR_HYGON) in early_is_amd_nb() [all …]
|
/Linux-v5.10/drivers/staging/media/atomisp/include/linux/ |
D | atomisp_platform.h | 242 #define __IS_SOC(x) (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL && \ 243 boot_cpu_data.x86 == 6 && \ 244 boot_cpu_data.x86_model == (x)) 245 #define __IS_SOCS(x,y) (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL && \ 246 boot_cpu_data.x86 == 6 && \ 247 (boot_cpu_data.x86_model == (x) || \ 248 boot_cpu_data.x86_model == (y)))
|
/Linux-v5.10/arch/x86/platform/intel-mid/ |
D | intel-mid.c | 107 if (boot_cpu_data.x86 != 6) { in intel_mid_arch_setup() 109 boot_cpu_data.x86, boot_cpu_data.x86_model); in intel_mid_arch_setup() 114 switch (boot_cpu_data.x86_model) { in intel_mid_arch_setup()
|
/Linux-v5.10/arch/x86/crypto/ |
D | twofish_glue_3way.c | 217 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) in is_blacklisted_cpu() 220 if (boot_cpu_data.x86 == 0x06 && in is_blacklisted_cpu() 221 (boot_cpu_data.x86_model == 0x1c || in is_blacklisted_cpu() 222 boot_cpu_data.x86_model == 0x26 || in is_blacklisted_cpu() 223 boot_cpu_data.x86_model == 0x36)) { in is_blacklisted_cpu() 236 if (boot_cpu_data.x86 == 0x0f) { in is_blacklisted_cpu()
|
/Linux-v5.10/arch/x86/kernel/cpu/mtrr/ |
D | mtrr.c | 332 (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()
|
/Linux-v5.10/arch/x86/kvm/mmu/ |
D | spte.c | 206 if (likely(boot_cpu_data.extended_cpuid_level >= 0x80000008)) in kvm_get_shadow_phys_bits() 214 return boot_cpu_data.x86_phys_bits; in kvm_get_shadow_phys_bits() 306 low_phys_bits = boot_cpu_data.x86_phys_bits; in kvm_mmu_reset_all_pte_masks() 308 !WARN_ON_ONCE(boot_cpu_data.x86_cache_bits >= in kvm_mmu_reset_all_pte_masks() 310 low_phys_bits = boot_cpu_data.x86_cache_bits in kvm_mmu_reset_all_pte_masks() 313 rsvd_bits(low_phys_bits, boot_cpu_data.x86_cache_bits - 1); in kvm_mmu_reset_all_pte_masks()
|
/Linux-v5.10/arch/um/include/asm/ |
D | processor-generic.h | 95 extern struct cpuinfo_um boot_cpu_data; 97 #define cpu_data (&boot_cpu_data) 98 #define current_cpu_data boot_cpu_data
|
/Linux-v5.10/drivers/mtd/nand/raw/ |
D | cs553x_nand.c | 335 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD && in is_geode() 336 boot_cpu_data.x86 == 5 && in is_geode() 337 boot_cpu_data.x86_model == 10) in is_geode() 340 if ((boot_cpu_data.x86_vendor == X86_VENDOR_NSC || in is_geode() 341 boot_cpu_data.x86_vendor == X86_VENDOR_CYRIX) && in is_geode() 342 boot_cpu_data.x86 == 5 && in is_geode() 343 boot_cpu_data.x86_model == 5) in is_geode()
|