/linux-master/arch/x86/include/asm/ |
H A D | debugreg.h | 169 if (boot_cpu_data.x86 < 6) 180 if (boot_cpu_data.x86 < 6)
|
H A D | cpufeature.h | 145 #define boot_cpu_has(bit) cpu_has(&boot_cpu_data, bit) 157 set_cpu_cap(&boot_cpu_data, bit); \ 173 * it to manifest the address of boot_cpu_data in a register, fouling 187 [cap_byte] "i" (&((const char *)boot_cpu_data.x86_capability)[bit >> 3]) 207 #define boot_cpu_has_bug(bit) cpu_has_bug(&boot_cpu_data, (bit)) 208 #define boot_cpu_set_bug(bit) set_cpu_cap(&boot_cpu_data, (bit)) 214 #define CPU_FEATURE_TYPEVAL boot_cpu_data.x86_vendor, boot_cpu_data.x86, \ 215 boot_cpu_data.x86_model
|
H A D | resctrl.h | 128 unsigned int scale = boot_cpu_data.x86_cache_occ_scale; 130 /* h/w works in units of "boot_cpu_data.x86_cache_occ_scale" */ 162 return boot_cpu_data.x86_cache_max_rmid + 1;
|
H A D | kmsan.h | 55 return !(addr >> boot_cpu_data.x86_phys_bits);
|
/linux-master/arch/loongarch/include/asm/ |
H A D | cacheflush.h | 29 int cache_present = boot_cpu_data.cache_leaves_present; 31 return boot_cpu_data.cache_leaves[cache_present - 1].linesz;
|
H A D | cpu-info.h | 67 #define boot_cpu_data cpu_data[0] macro
|
/linux-master/arch/x86/kernel/ |
H A D | amd_nb.c | 244 if (boot_cpu_data.x86_vendor == X86_VENDOR_HYGON) { 316 if (boot_cpu_data.x86 == 0x10 && 317 boot_cpu_data.x86_model >= 0x8 && 318 (boot_cpu_data.x86_model > 0x9 || 319 boot_cpu_data.x86_stepping >= 0x1)) 322 if (boot_cpu_data.x86 == 0x15) 326 if (boot_cpu_data.x86 == 0x15) 342 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD && 343 boot_cpu_data.x86_vendor != X86_VENDOR_HYGON) 346 if (boot_cpu_data [all...] |
/linux-master/arch/um/kernel/ |
H A D | um_arch.c | 58 struct cpuinfo_um boot_cpu_data = { variable in typeref:struct:cpuinfo_um 65 EXPORT_SYMBOL(boot_cpu_data); variable 83 seq_printf(m, "fpu\t\t: %s\n", cpu_has(&boot_cpu_data, X86_FEATURE_FPU) ? "yes" : "no"); 86 if (cpu_has(&boot_cpu_data, i) && (x86_cap_flags[i] != NULL)) 89 seq_printf(m, "cache_alignment\t: %d\n", boot_cpu_data.cache_alignment); 100 return *pos < nr_cpu_ids ? &boot_cpu_data + *pos : NULL; 288 set_cpu_cap(&boot_cpu_data, i); 301 boot_cpu_data.cache_alignment = res; 303 boot_cpu_data.cache_alignment = L1_CACHE_BYTES;
|
/linux-master/arch/loongarch/kernel/ |
H A D | hw_breakpoint.c | 185 max_slots = boot_cpu_data.watch_ireg_count; 189 max_slots = boot_cpu_data.watch_dreg_count; 418 max_slots = boot_cpu_data.watch_ireg_count; 422 max_slots = boot_cpu_data.watch_dreg_count; 473 for (i = 0; i < boot_cpu_data.watch_ireg_count; ++i) { 490 for (i = 0; i < boot_cpu_data.watch_dreg_count; ++i) { 504 boot_cpu_data.watch_ireg_count = get_num_brps(); 505 boot_cpu_data.watch_dreg_count = get_num_wrps(); 508 boot_cpu_data.watch_ireg_count, boot_cpu_data [all...] |
/linux-master/drivers/gpu/drm/ttm/ |
H A D | ttm_module.c | 72 else if (boot_cpu_data.x86 > 3)
|
/linux-master/arch/x86/lib/ |
H A D | usercopy_64.c | 30 u16 x86_clflush_size = boot_cpu_data.x86_clflush_size; 68 dest = ALIGN(dest, boot_cpu_data.x86_clflush_size);
|
/linux-master/arch/parisc/kernel/ |
H A D | perf.c | 494 if (boot_cpu_data.cpu_type == pcxu || 495 boot_cpu_data.cpu_type == pcxu_) { 497 } else if (boot_cpu_data.cpu_type == pcxw || 498 boot_cpu_data.cpu_type == pcxw_ || 499 boot_cpu_data.cpu_type == pcxw2 || 500 boot_cpu_data.cpu_type == mako || 501 boot_cpu_data.cpu_type == mako2) { 503 if (boot_cpu_data.cpu_type == pcxw2 || 504 boot_cpu_data.cpu_type == mako || 505 boot_cpu_data [all...] |
H A D | setup.c | 85 switch (boot_cpu_data.cpu_type) { 261 boot_cpu_data.cpu_name, 262 boot_cpu_data.cpu_hz / 1000000, 263 boot_cpu_data.cpu_hz % 1000000 );
|
/linux-master/drivers/mtd/nand/raw/ |
H A D | cs553x_nand.c | 329 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD && 330 boot_cpu_data.x86 == 5 && 331 boot_cpu_data.x86_model == 10) 334 if ((boot_cpu_data.x86_vendor == X86_VENDOR_NSC || 335 boot_cpu_data.x86_vendor == X86_VENDOR_CYRIX) && 336 boot_cpu_data.x86 == 5 && 337 boot_cpu_data.x86_model == 5)
|
/linux-master/arch/x86/xen/ |
H A D | pmu.c | 72 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) { 74 switch (boot_cpu_data.x86) { 94 } else if (boot_cpu_data.x86_vendor == X86_VENDOR_HYGON) { 134 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD && 135 boot_cpu_data.x86_vendor != X86_VENDOR_HYGON) 151 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL && 152 boot_cpu_data.x86_vendor != X86_VENDOR_CENTAUR && 153 boot_cpu_data.x86_vendor != X86_VENDOR_ZHAOXIN) 402 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL)
|
/linux-master/drivers/ras/amd/atl/ |
H A D | core.c | 158 if (boot_cpu_data.x86 < 0x19) { 164 if (boot_cpu_data.x86 > 0x19) 168 switch (boot_cpu_data.x86_model) {
|
/linux-master/drivers/platform/x86/intel/ifs/ |
H A D | load.c | 272 boot_cpu_data.x86, boot_cpu_data.x86_model, 273 boot_cpu_data.x86_stepping, ifsd->cur_batch); 391 test->test_num, boot_cpu_data.x86, boot_cpu_data.x86_model, 392 boot_cpu_data.x86_stepping, ifsd->cur_batch);
|
/linux-master/arch/sh/kernel/ |
H A D | process.c | 71 if (boot_cpu_data.flags & CPU_HAS_FPU)
|
/linux-master/arch/mips/kernel/ |
H A D | fpu-probe.c | 238 if (!(boot_cpu_data.options & MIPS_CPU_FPU)) 239 cpu_set_nofpu_2008(&boot_cpu_data); 240 cpu_set_nan_2008(&boot_cpu_data); 314 cpu_set_nofpu_opts(&boot_cpu_data);
|
/linux-master/arch/x86/kernel/cpu/mtrr/ |
H A D | legacy.c | 13 switch (boot_cpu_data.x86_vendor) {
|
/linux-master/arch/sh/mm/ |
H A D | cache-sh4.c | 77 n = boot_cpu_data.icache.n_aliases; 97 if ((boot_cpu_data.flags & CPU_HAS_P2_FLUSH_BUG) || 300 if (boot_cpu_data.dcache.n_aliases == 0) 333 dcache = &boot_cpu_data.dcache;
|
/linux-master/arch/x86/events/amd/ |
H A D | uncore.c | 246 return boot_cpu_data.x86 >= 0x17 && boot_cpu_data.x86 < 0x19 ? 253 return boot_cpu_data.x86 >= 0x19 ? attr->mode : 0; 675 strscpy(pmu->name, boot_cpu_data.x86 >= 0x17 ? "amd_df" : "amd_nb", 685 } else if (boot_cpu_data.x86 >= 0x17) { 714 boot_cpu_data.x86_vendor == X86_VENDOR_HYGON ? "HYGON " : "", 738 if (ret || boot_cpu_data.x86 < 0x17) 745 if (boot_cpu_data.x86 <= 0x18) 777 if (boot_cpu_data.x86 >= 0x17) 806 strscpy(pmu->name, boot_cpu_data [all...] |
/linux-master/arch/x86/kernel/apic/ |
H A D | apic.c | 201 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD && 202 boot_cpu_data.x86 >= 0xf) 206 if (boot_cpu_data.x86_vendor == X86_VENDOR_HYGON) 546 if (boot_cpu_data.microcode >= rev) 1216 if (modern_apic() || boot_cpu_data.x86_vendor == X86_VENDOR_AMD) 1320 if ((boot_cpu_data.x86_vendor == X86_VENDOR_INTEL) && 1321 (boot_cpu_data.x86 == 15)) 1954 set_cpu_cap(&boot_cpu_data, X86_FEATURE_APIC); 1957 if (boot_cpu_data.x86 >= 6) { 1980 if (boot_cpu_data [all...] |
/linux-master/arch/mips/mm/ |
H A D | context.c | 131 mmid_mask = cpu_asid_mask(&boot_cpu_data); 236 write_c0_memorymapid(ctx & cpu_asid_mask(&boot_cpu_data));
|
/linux-master/drivers/cpufreq/ |
H A D | amd_freq_sensitivity.c | 115 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) 117 else if (boot_cpu_data.x86_vendor == X86_VENDOR_HYGON)
|