Searched refs:boot_cpu_data (Results 26 - 50 of 206) sorted by relevance

123456789

/linux-master/arch/x86/include/asm/
H A Ddebugreg.h169 if (boot_cpu_data.x86 < 6)
180 if (boot_cpu_data.x86 < 6)
H A Dcpufeature.h146 #define boot_cpu_has(bit) cpu_has(&boot_cpu_data, bit)
154 set_cpu_cap(&boot_cpu_data, bit); \
170 * it to manifest the address of boot_cpu_data in a register, fouling
185 [cap_byte] "i" (&((const char *)boot_cpu_data.x86_capability)[bit >> 3])
205 #define boot_cpu_has_bug(bit) cpu_has_bug(&boot_cpu_data, (bit))
206 #define boot_cpu_set_bug(bit) set_cpu_cap(&boot_cpu_data, (bit))
212 #define CPU_FEATURE_TYPEVAL boot_cpu_data.x86_vendor, boot_cpu_data.x86, \
213 boot_cpu_data.x86_model
H A Dresctrl.h128 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 Dkmsan.h55 return !(addr >> boot_cpu_data.x86_phys_bits);
/linux-master/arch/loongarch/include/asm/
H A Dcacheflush.h29 int cache_present = boot_cpu_data.cache_leaves_present;
31 return boot_cpu_data.cache_leaves[cache_present - 1].linesz;
H A Dcpu-info.h67 #define boot_cpu_data cpu_data[0] macro
/linux-master/arch/x86/kernel/
H A Damd_nb.c244 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 Dum_arch.c58 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 Dhw_breakpoint.c185 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 Dttm_module.c72 else if (boot_cpu_data.x86 > 3)
/linux-master/arch/x86/lib/
H A Dusercopy_64.c30 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 Dperf.c494 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 Dsetup.c85 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 Dcs553x_nand.c329 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 Dpmu.c72 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 Dcore.c158 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 Dload.c270 boot_cpu_data.x86, boot_cpu_data.x86_model,
271 boot_cpu_data.x86_stepping, ifsd->cur_batch);
389 test->test_num, boot_cpu_data.x86, boot_cpu_data.x86_model,
390 boot_cpu_data.x86_stepping, ifsd->cur_batch);
/linux-master/arch/sh/kernel/
H A Dprocess.c71 if (boot_cpu_data.flags & CPU_HAS_FPU)
/linux-master/arch/mips/kernel/
H A Dfpu-probe.c238 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 Dlegacy.c13 switch (boot_cpu_data.x86_vendor) {
/linux-master/arch/sh/mm/
H A Dcache-sh4.c77 n = boot_cpu_data.icache.n_aliases;
97 if ((boot_cpu_data.flags & CPU_HAS_P2_FLUSH_BUG) ||
299 if (boot_cpu_data.dcache.n_aliases == 0)
332 dcache = &boot_cpu_data.dcache;
/linux-master/arch/x86/events/amd/
H A Duncore.c246 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 Dapic.c201 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 Dcontext.c131 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 Damd_freq_sensitivity.c115 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD)
117 else if (boot_cpu_data.x86_vendor == X86_VENDOR_HYGON)

Completed in 184 milliseconds

123456789