/linux-4.4.14/arch/sh/kernel/cpu/sh4/ |
H A D | probe.c | 38 boot_cpu_data.icache.way_incr = (1 << 13); cpu_probe() 39 boot_cpu_data.icache.entry_shift = 5; cpu_probe() 40 boot_cpu_data.icache.sets = 256; cpu_probe() 41 boot_cpu_data.icache.ways = 1; cpu_probe() 42 boot_cpu_data.icache.linesz = L1_CACHE_BYTES; cpu_probe() 47 boot_cpu_data.dcache.way_incr = (1 << 14); cpu_probe() 48 boot_cpu_data.dcache.entry_shift = 5; cpu_probe() 49 boot_cpu_data.dcache.sets = 512; cpu_probe() 50 boot_cpu_data.dcache.ways = 1; cpu_probe() 51 boot_cpu_data.dcache.linesz = L1_CACHE_BYTES; cpu_probe() 54 boot_cpu_data.cut_major = boot_cpu_data.cut_minor = -1; cpu_probe() 60 boot_cpu_data.family = CPU_FAMILY_SH4A; cpu_probe() 63 boot_cpu_data.flags |= CPU_HAS_DSP; cpu_probe() 64 boot_cpu_data.family = CPU_FAMILY_SH4AL_DSP; cpu_probe() 67 boot_cpu_data.flags |= CPU_HAS_LLSC | CPU_HAS_PERF_COUNTER; cpu_probe() 68 boot_cpu_data.cut_major = pvr & 0x7f; cpu_probe() 70 boot_cpu_data.icache.ways = 4; cpu_probe() 71 boot_cpu_data.dcache.ways = 4; cpu_probe() 74 boot_cpu_data.flags |= CPU_HAS_PTEA | CPU_HAS_FPU; cpu_probe() 75 boot_cpu_data.family = CPU_FAMILY_SH4; cpu_probe() 80 boot_cpu_data.flags |= CPU_HAS_FPU; cpu_probe() 91 boot_cpu_data.type = CPU_SH7750; cpu_probe() 92 boot_cpu_data.flags |= CPU_HAS_P2_FLUSH_BUG | cpu_probe() 96 boot_cpu_data.type = CPU_SH7750S; cpu_probe() 97 boot_cpu_data.flags |= CPU_HAS_P2_FLUSH_BUG | cpu_probe() 101 boot_cpu_data.type = CPU_SH7751; cpu_probe() 105 boot_cpu_data.type = CPU_SH7770; cpu_probe() 110 boot_cpu_data.type = CPU_SH7781; cpu_probe() 112 boot_cpu_data.type = CPU_SH7763; cpu_probe() 114 boot_cpu_data.type = CPU_SH7780; cpu_probe() 120 boot_cpu_data.type = CPU_SH7343; cpu_probe() 124 boot_cpu_data.type = CPU_SH7785; cpu_probe() 128 boot_cpu_data.type = CPU_SH7786; cpu_probe() 129 boot_cpu_data.flags |= CPU_HAS_PTEAEX | CPU_HAS_L2_CACHE; cpu_probe() 135 boot_cpu_data.type = CPU_SH7723; cpu_probe() 136 boot_cpu_data.flags |= CPU_HAS_L2_CACHE; cpu_probe() 139 boot_cpu_data.type = CPU_SH7366; cpu_probe() 143 boot_cpu_data.type = CPU_SH7722; cpu_probe() 150 boot_cpu_data.type = CPU_SH7724; cpu_probe() 151 boot_cpu_data.flags |= CPU_HAS_L2_CACHE; cpu_probe() 155 boot_cpu_data.type = CPU_SH7757; cpu_probe() 159 boot_cpu_data.type = CPU_SH7372; cpu_probe() 162 boot_cpu_data.type = CPU_SH7734; /* SH7733/SH7734 */ cpu_probe() 169 boot_cpu_data.type = CPU_SHX3; cpu_probe() 172 boot_cpu_data.type = CPU_SH4_501; cpu_probe() 173 boot_cpu_data.flags &= ~CPU_HAS_FPU; cpu_probe() 174 boot_cpu_data.icache.ways = 2; cpu_probe() 175 boot_cpu_data.dcache.ways = 2; cpu_probe() 178 boot_cpu_data.type = CPU_SH4_202; cpu_probe() 179 boot_cpu_data.icache.ways = 2; cpu_probe() 180 boot_cpu_data.dcache.ways = 2; cpu_probe() 185 boot_cpu_data.type = CPU_SH7750R; cpu_probe() 188 boot_cpu_data.type = CPU_SH7751R; cpu_probe() 191 boot_cpu_data.type = CPU_SH7760; cpu_probe() 195 boot_cpu_data.icache.ways = 2; cpu_probe() 196 boot_cpu_data.dcache.ways = 2; cpu_probe() 205 if (boot_cpu_data.icache.ways > 1) { cpu_probe() 207 boot_cpu_data.icache.way_incr = (size >> 1); cpu_probe() 208 boot_cpu_data.icache.sets = (size >> 6); cpu_probe() 213 if (boot_cpu_data.dcache.ways > 1) { cpu_probe() 215 boot_cpu_data.dcache.way_incr = (size >> 1); cpu_probe() 216 boot_cpu_data.dcache.sets = (size >> 6); cpu_probe() 222 if (boot_cpu_data.flags & CPU_HAS_L2_CACHE) { cpu_probe() 229 boot_cpu_data.flags &= ~CPU_HAS_L2_CACHE; cpu_probe() 245 boot_cpu_data.scache.way_incr = (1 << 16); cpu_probe() 246 boot_cpu_data.scache.entry_shift = 5; cpu_probe() 247 boot_cpu_data.scache.ways = 4; cpu_probe() 248 boot_cpu_data.scache.linesz = L1_CACHE_BYTES; cpu_probe() 250 boot_cpu_data.scache.entry_mask = cpu_probe() 251 (boot_cpu_data.scache.way_incr - cpu_probe() 252 boot_cpu_data.scache.linesz); cpu_probe() 254 boot_cpu_data.scache.sets = size / cpu_probe() 255 (boot_cpu_data.scache.linesz * cpu_probe() 256 boot_cpu_data.scache.ways); cpu_probe() 258 boot_cpu_data.scache.way_size = cpu_probe() 259 (boot_cpu_data.scache.sets * cpu_probe() 260 boot_cpu_data.scache.linesz); cpu_probe()
|
H A D | perf_event.c | 261 if (!(boot_cpu_data.flags & CPU_HAS_PERF_COUNTER)) { sh7750_pmu_init()
|
/linux-4.4.14/arch/sh/kernel/cpu/sh2/ |
H A D | probe.c | 19 boot_cpu_data.type = CPU_SH7619; cpu_probe() 20 boot_cpu_data.dcache.ways = 4; cpu_probe() 21 boot_cpu_data.dcache.way_incr = (1<<12); cpu_probe() 22 boot_cpu_data.dcache.sets = 256; cpu_probe() 23 boot_cpu_data.dcache.entry_shift = 4; cpu_probe() 24 boot_cpu_data.dcache.linesz = L1_CACHE_BYTES; cpu_probe() 25 boot_cpu_data.dcache.flags = 0; cpu_probe() 30 boot_cpu_data.dcache.flags |= SH_CACHE_COMBINED; cpu_probe() 31 boot_cpu_data.icache = boot_cpu_data.dcache; cpu_probe() 32 boot_cpu_data.family = CPU_FAMILY_SH2; cpu_probe()
|
/linux-4.4.14/arch/sh/kernel/cpu/sh2a/ |
H A D | probe.c | 18 boot_cpu_data.family = CPU_FAMILY_SH2A; cpu_probe() 21 boot_cpu_data.flags |= CPU_HAS_OP32; cpu_probe() 24 boot_cpu_data.type = CPU_SH7201; cpu_probe() 25 boot_cpu_data.flags |= CPU_HAS_FPU; cpu_probe() 27 boot_cpu_data.type = CPU_SH7203; cpu_probe() 28 boot_cpu_data.flags |= CPU_HAS_FPU; cpu_probe() 30 boot_cpu_data.type = CPU_SH7263; cpu_probe() 31 boot_cpu_data.flags |= CPU_HAS_FPU; cpu_probe() 33 boot_cpu_data.type = CPU_SH7264; cpu_probe() 34 boot_cpu_data.flags |= CPU_HAS_FPU; cpu_probe() 36 boot_cpu_data.type = CPU_SH7269; cpu_probe() 37 boot_cpu_data.flags |= CPU_HAS_FPU; cpu_probe() 39 boot_cpu_data.type = CPU_SH7206; cpu_probe() 40 boot_cpu_data.flags |= CPU_HAS_DSP; cpu_probe() 42 boot_cpu_data.type = CPU_MXG; cpu_probe() 43 boot_cpu_data.flags |= CPU_HAS_DSP; cpu_probe() 46 boot_cpu_data.dcache.ways = 4; cpu_probe() 47 boot_cpu_data.dcache.way_incr = (1 << 11); cpu_probe() 48 boot_cpu_data.dcache.sets = 128; cpu_probe() 49 boot_cpu_data.dcache.entry_shift = 4; cpu_probe() 50 boot_cpu_data.dcache.linesz = L1_CACHE_BYTES; cpu_probe() 51 boot_cpu_data.dcache.flags = 0; cpu_probe() 59 boot_cpu_data.icache = boot_cpu_data.dcache; cpu_probe()
|
/linux-4.4.14/arch/sh/kernel/cpu/sh3/ |
H A D | probe.c | 53 boot_cpu_data.dcache.ways = 4; cpu_probe() 54 boot_cpu_data.dcache.entry_shift = 4; cpu_probe() 55 boot_cpu_data.dcache.linesz = L1_CACHE_BYTES; cpu_probe() 56 boot_cpu_data.dcache.flags = 0; cpu_probe() 63 boot_cpu_data.dcache.way_incr = (1 << 11); cpu_probe() 64 boot_cpu_data.dcache.entry_mask = 0x7f0; cpu_probe() 65 boot_cpu_data.dcache.sets = 128; cpu_probe() 66 boot_cpu_data.type = CPU_SH7708; cpu_probe() 68 boot_cpu_data.flags |= CPU_HAS_MMU_PAGE_ASSOC; cpu_probe() 70 boot_cpu_data.dcache.way_incr = (1 << 12); cpu_probe() 71 boot_cpu_data.dcache.entry_mask = 0xff0; cpu_probe() 72 boot_cpu_data.dcache.sets = 256; cpu_probe() 73 boot_cpu_data.type = CPU_SH7729; cpu_probe() 76 boot_cpu_data.type = CPU_SH7706; cpu_probe() 79 boot_cpu_data.type = CPU_SH7710; cpu_probe() 82 boot_cpu_data.type = CPU_SH7712; cpu_probe() 85 boot_cpu_data.type = CPU_SH7720; cpu_probe() 88 boot_cpu_data.type = CPU_SH7721; cpu_probe() 91 boot_cpu_data.type = CPU_SH7705; cpu_probe() 94 boot_cpu_data.dcache.way_incr = (1 << 13); cpu_probe() 95 boot_cpu_data.dcache.entry_mask = 0x1ff0; cpu_probe() 96 boot_cpu_data.dcache.sets = 512; cpu_probe() 107 boot_cpu_data.dcache.flags |= SH_CACHE_COMBINED; cpu_probe() 108 boot_cpu_data.icache = boot_cpu_data.dcache; cpu_probe() 110 boot_cpu_data.family = CPU_FAMILY_SH3; cpu_probe()
|
/linux-4.4.14/arch/x86/include/asm/ |
H A D | geode.h | 19 return ((boot_cpu_data.x86_vendor == X86_VENDOR_NSC) && is_geode_gx() 20 (boot_cpu_data.x86 == 5) && is_geode_gx() 21 (boot_cpu_data.x86_model == 5)); is_geode_gx() 26 return ((boot_cpu_data.x86_vendor == X86_VENDOR_AMD) && is_geode_lx() 27 (boot_cpu_data.x86 == 5) && is_geode_lx() 28 (boot_cpu_data.x86_model == 10)); is_geode_lx()
|
H A D | fb.h | 14 if (boot_cpu_data.x86 > 3) fb_pgprotect()
|
H A D | amd_nb.h | 104 if (boot_cpu_data.x86 == 0xf || boot_cpu_data.x86 == 0x10 || amd_gart_present() 105 (boot_cpu_data.x86 == 0x15 && boot_cpu_data.x86_model < 0x10)) amd_gart_present()
|
H A D | acpi.h | 92 if (boot_cpu_data.x86 == 0x0F && acpi_processor_cstate_check() 93 boot_cpu_data.x86_vendor == X86_VENDOR_AMD && acpi_processor_cstate_check() 94 boot_cpu_data.x86_model <= 0x05 && acpi_processor_cstate_check() 95 boot_cpu_data.x86_mask < 0x0A) acpi_processor_cstate_check()
|
H A D | cpufeature.h | 343 cpu_has(&boot_cpu_data, bit)) 345 #define boot_cpu_has(bit) cpu_has(&boot_cpu_data, bit) 350 clear_cpu_cap(&boot_cpu_data, bit); \ 354 set_cpu_cap(&boot_cpu_data, bit); \ 600 #define boot_cpu_has_bug(bit) cpu_has_bug(&boot_cpu_data, (bit)) 606 #define CPU_FEATURE_TYPEVAL boot_cpu_data.x86_vendor, boot_cpu_data.x86, \ 607 boot_cpu_data.x86_model
|
H A D | microcode.h | 98 * In early loading microcode phase on BSP, boot_cpu_data is not set up yet. exit_amd_microcode() 101 * In 32 bit AP case, accessing boot_cpu_data needs linear address. To simplify exit_amd_microcode()
|
H A D | cmpxchg_32.h | 6 * you need to test for the feature in boot_cpu_data.
|
H A D | processor.h | 155 extern struct cpuinfo_x86 boot_cpu_data; 166 #define cpu_info boot_cpu_data 167 #define cpu_data(cpu) boot_cpu_data 172 #define cache_line_size() (boot_cpu_data.x86_cache_alignment) 587 : "rm" (boot_cpu_data.cpuid_level), "ri" (0), "0" (1) sync_core() 630 if (boot_cpu_data.x86 < 6) get_debugctlmsr() 641 if (boot_cpu_data.x86 < 6) update_debugctlmsr()
|
H A D | virtext.h | 88 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD) { cpu_has_svm()
|
H A D | special_insns.h | 232 * unsigned long clflush_mask = boot_cpu_data.x86_clflush_size - 1; 237 * p < vend; p += boot_cpu_data.x86_clflush_size)
|
H A D | pmem.h | 80 u16 x86_clflush_size = boot_cpu_data.x86_clflush_size; __arch_wb_cache_pmem()
|
H A D | ptrace.h | 228 #define arch_has_block_step() (boot_cpu_data.x86 >= 6)
|
H A D | elf.h | 259 #define ELF_HWCAP (boot_cpu_data.x86_capability[0])
|
H A D | pgtable.h | 13 ((boot_cpu_data.x86 > 3) \
|
/linux-4.4.14/arch/sh/kernel/cpu/sh5/ |
H A D | probe.c | 32 boot_cpu_data.type = CPU_SH5_103; cpu_probe() 35 boot_cpu_data.type = CPU_SH5_101; cpu_probe() 37 boot_cpu_data.family = CPU_FAMILY_SH5; cpu_probe() 42 boot_cpu_data.icache.ways = 4; cpu_probe() 43 boot_cpu_data.icache.sets = 256; cpu_probe() 44 boot_cpu_data.icache.linesz = L1_CACHE_BYTES; cpu_probe() 45 boot_cpu_data.icache.way_incr = (1 << 13); cpu_probe() 46 boot_cpu_data.icache.entry_shift = 5; cpu_probe() 47 boot_cpu_data.icache.way_size = boot_cpu_data.icache.sets * cpu_probe() 48 boot_cpu_data.icache.linesz; cpu_probe() 49 boot_cpu_data.icache.entry_mask = 0x1fe0; cpu_probe() 50 boot_cpu_data.icache.flags = 0; cpu_probe() 62 boot_cpu_data.dcache = boot_cpu_data.icache; cpu_probe() 68 set_bit(SH_CACHE_MODE_WT, &(boot_cpu_data.dcache.flags)); cpu_probe() 70 set_bit(SH_CACHE_MODE_WB, &(boot_cpu_data.dcache.flags)); cpu_probe()
|
/linux-4.4.14/arch/x86/mm/ |
H A D | physaddr.h | 6 return !(addr >> boot_cpu_data.x86_phys_bits); phys_addr_valid()
|
H A D | amdtopology.c | 180 bits = boot_cpu_data.x86_coreid_bits; amd_numa_init()
|
H A D | init_32.c | 728 boot_cpu_data.wp_works_ok = do_test_wp_bit(); test_wp_bit() 731 if (!boot_cpu_data.wp_works_ok) { test_wp_bit() 821 if (boot_cpu_data.wp_works_ok < 0) mem_init()
|
H A D | fault.c | 530 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD is_errata93() 531 || boot_cpu_data.x86 != 0xf) is_errata93()
|
H A D | mpx.c | 741 virt_space = (1ULL << boot_cpu_data.x86_virt_bits); bd_entry_virt_space() 828 addr &= ((1UL << boot_cpu_data.x86_virt_bits) - 1); mpx_get_bd_entry_offset()
|
H A D | pageattr.c | 132 unsigned long clflush_mask = boot_cpu_data.x86_clflush_size - 1; clflush_cache_range() 139 p < vend; p += boot_cpu_data.x86_clflush_size) clflush_cache_range() 156 if (cache && boot_cpu_data.x86 >= 4) __cpa_flush_all()
|
H A D | pat.c | 243 struct cpuinfo_x86 *c = &boot_cpu_data; pat_init()
|
/linux-4.4.14/arch/sh/mm/ |
H A D | cache.c | 62 if (boot_cpu_data.dcache.n_aliases && page_mapped(page) && copy_to_user_page() 69 if (boot_cpu_data.dcache.n_aliases) copy_to_user_page() 81 if (boot_cpu_data.dcache.n_aliases && page_mapped(page) && copy_from_user_page() 88 if (boot_cpu_data.dcache.n_aliases) copy_from_user_page() 100 if (boot_cpu_data.dcache.n_aliases && page_mapped(from) && copy_user_highpage() 140 if (!boot_cpu_data.dcache.n_aliases) __update_cache() 156 if (boot_cpu_data.dcache.n_aliases && page_mapped(page) && __flush_anon_page() 177 if (boot_cpu_data.dcache.n_aliases == 0) flush_cache_mm() 185 if (boot_cpu_data.dcache.n_aliases == 0) flush_cache_dup_mm() 254 boot_cpu_data.icache.ways, emit_cache_params() 255 boot_cpu_data.icache.sets, emit_cache_params() 256 boot_cpu_data.icache.way_incr); emit_cache_params() 258 boot_cpu_data.icache.entry_mask, emit_cache_params() 259 boot_cpu_data.icache.alias_mask, emit_cache_params() 260 boot_cpu_data.icache.n_aliases); emit_cache_params() 262 boot_cpu_data.dcache.ways, emit_cache_params() 263 boot_cpu_data.dcache.sets, emit_cache_params() 264 boot_cpu_data.dcache.way_incr); emit_cache_params() 266 boot_cpu_data.dcache.entry_mask, emit_cache_params() 267 boot_cpu_data.dcache.alias_mask, emit_cache_params() 268 boot_cpu_data.dcache.n_aliases); emit_cache_params() 273 if (boot_cpu_data.flags & CPU_HAS_L2_CACHE) { emit_cache_params() 275 boot_cpu_data.scache.ways, emit_cache_params() 276 boot_cpu_data.scache.sets, emit_cache_params() 277 boot_cpu_data.scache.way_incr); emit_cache_params() 279 boot_cpu_data.scache.entry_mask, emit_cache_params() 280 boot_cpu_data.scache.alias_mask, emit_cache_params() 281 boot_cpu_data.scache.n_aliases); emit_cache_params() 293 compute_alias(&boot_cpu_data.icache); cpu_cache_init() 294 compute_alias(&boot_cpu_data.dcache); cpu_cache_init() 295 compute_alias(&boot_cpu_data.scache); cpu_cache_init() 308 if (boot_cpu_data.family == CPU_FAMILY_SH2) { cpu_cache_init() 314 if (boot_cpu_data.family == CPU_FAMILY_SH2A) { cpu_cache_init() 320 if (boot_cpu_data.family == CPU_FAMILY_SH3) { cpu_cache_init() 325 if ((boot_cpu_data.type == CPU_SH7705) && cpu_cache_init() 326 (boot_cpu_data.dcache.sets == 512)) { cpu_cache_init() 333 if ((boot_cpu_data.family == CPU_FAMILY_SH4) || cpu_cache_init() 334 (boot_cpu_data.family == CPU_FAMILY_SH4A) || cpu_cache_init() 335 (boot_cpu_data.family == CPU_FAMILY_SH4AL_DSP)) { cpu_cache_init() 340 if ((boot_cpu_data.type == CPU_SH7786) || cpu_cache_init() 341 (boot_cpu_data.type == CPU_SHX3)) { cpu_cache_init() 348 if (boot_cpu_data.family == CPU_FAMILY_SH5) { cpu_cache_init()
|
H A D | cache-shx3.c | 27 if (boot_cpu_data.dcache.n_aliases || boot_cpu_data.icache.n_aliases) { shx3_cache_init() 30 boot_cpu_data.icache.n_aliases = 0; shx3_cache_init() 31 boot_cpu_data.dcache.n_aliases = 0; shx3_cache_init()
|
H A D | cache-sh4.c | 77 n = boot_cpu_data.icache.n_aliases; sh4_flush_icache_range() 97 if ((boot_cpu_data.flags & CPU_HAS_P2_FLUSH_BUG) || flush_cache_one() 293 if (boot_cpu_data.dcache.n_aliases == 0) sh4_flush_cache_range() 326 dcache = &boot_cpu_data.dcache; __flush_cache_one()
|
/linux-4.4.14/arch/avr32/kernel/ |
H A D | cpu.c | 274 boot_cpu_data.arch_type = arch_id; setup_processor() 275 boot_cpu_data.cpu_type = cpu_id; setup_processor() 276 boot_cpu_data.arch_revision = arch_rev; setup_processor() 277 boot_cpu_data.cpu_revision = cpu_rev; setup_processor() 278 boot_cpu_data.tlb_config = mmu_type; setup_processor() 279 boot_cpu_data.device_id = device_id; setup_processor() 283 boot_cpu_data.icache.ways = 1 << SYSREG_BFEXT(IASS, config1); setup_processor() 284 boot_cpu_data.icache.sets = 1 << SYSREG_BFEXT(ISET, config1); setup_processor() 285 boot_cpu_data.icache.linesz = 1 << (tmp + 1); setup_processor() 289 boot_cpu_data.dcache.ways = 1 << SYSREG_BFEXT(DASS, config1); setup_processor() 290 boot_cpu_data.dcache.sets = 1 << SYSREG_BFEXT(DSET, config1); setup_processor() 291 boot_cpu_data.dcache.linesz = 1 << (tmp + 1); setup_processor() 301 printk ("CPU: %s chip revision %c\n", get_chip_name(&boot_cpu_data), setup_processor() 302 avr32_get_chip_revision(&boot_cpu_data) + 'A'); setup_processor() 330 boot_cpu_data.features = features; setup_processor() 341 icache_size = boot_cpu_data.icache.ways * c_show() 342 boot_cpu_data.icache.sets * c_show() 343 boot_cpu_data.icache.linesz; c_show() 344 dcache_size = boot_cpu_data.dcache.ways * c_show() 345 boot_cpu_data.dcache.sets * c_show() 346 boot_cpu_data.dcache.linesz; c_show() 351 get_chip_name(&boot_cpu_data), c_show() 352 avr32_get_chip_revision(&boot_cpu_data) + 'A'); c_show() 353 if (boot_cpu_data.arch_type < NR_ARCH_NAMES) c_show() 355 arch_names[boot_cpu_data.arch_type], c_show() 356 boot_cpu_data.arch_revision); c_show() 357 if (boot_cpu_data.cpu_type < NR_CPU_NAMES) c_show() 359 cpu_names[boot_cpu_data.cpu_type], c_show() 360 boot_cpu_data.cpu_revision); c_show() 362 freq = (clk_get_rate(boot_cpu_data.clk) + 500) / 1000; c_show() 367 boot_cpu_data.icache.ways, c_show() 368 boot_cpu_data.icache.sets, c_show() 369 boot_cpu_data.icache.linesz); c_show() 372 boot_cpu_data.dcache.ways, c_show() 373 boot_cpu_data.dcache.sets, c_show() 374 boot_cpu_data.dcache.linesz); c_show() 378 if (boot_cpu_data.features & (1 << i)) c_show() 382 boot_cpu_data.loops_per_jiffy / (500000/HZ), c_show() 383 (boot_cpu_data.loops_per_jiffy / (5000/HZ)) % 100); c_show()
|
H A D | setup.c | 38 struct avr32_cpuinfo boot_cpu_data = { variable in typeref:struct:avr32_cpuinfo 41 EXPORT_SYMBOL(boot_cpu_data); variable 590 boot_cpu_data.clk = cpu_clk; setup_arch() 591 boot_cpu_data.loops_per_jiffy = cpu_hz * 4; setup_arch()
|
H A D | time.c | 137 counter_hz = clk_get_rate(boot_cpu_data.clk); time_init()
|
/linux-4.4.14/arch/parisc/kernel/ |
H A D | processor.c | 45 struct system_cpuinfo_parisc boot_cpu_data __read_mostly; 46 EXPORT_SYMBOL(boot_cpu_data); variable 56 ** Monarch CPU will initialize boot_cpu_data which shouldn't 107 if (boot_cpu_data.cpu_count > 0) { processor_probe() 116 cpuid = boot_cpu_data.cpu_count; processor_probe() 163 boot_cpu_data.cpu_count--; processor_probe() 173 boot_cpu_data.cpu_count++; processor_probe() 237 * collect_boot_cpu_data - Fill the boot_cpu_data structure. 240 * in the boot_cpu_data structure. 244 memset(&boot_cpu_data, 0, sizeof(boot_cpu_data)); collect_boot_cpu_data() 246 boot_cpu_data.cpu_hz = 100 * PAGE0->mem_10msec; /* Hz of this PARISC */ collect_boot_cpu_data() 249 #define p ((unsigned long *)&boot_cpu_data.pdc.model) collect_boot_cpu_data() 250 if (pdc_model_info(&boot_cpu_data.pdc.model) == PDC_OK) collect_boot_cpu_data() 256 if (pdc_model_versions(&boot_cpu_data.pdc.versions, 0) == PDC_OK) collect_boot_cpu_data() 258 boot_cpu_data.pdc.versions); collect_boot_cpu_data() 260 if (pdc_model_cpuid(&boot_cpu_data.pdc.cpuid) == PDC_OK) collect_boot_cpu_data() 262 (boot_cpu_data.pdc.cpuid >> 5) & 127, collect_boot_cpu_data() 263 boot_cpu_data.pdc.cpuid & 31, collect_boot_cpu_data() 264 boot_cpu_data.pdc.cpuid); collect_boot_cpu_data() 266 if (pdc_model_capabilities(&boot_cpu_data.pdc.capabilities) == PDC_OK) collect_boot_cpu_data() 268 boot_cpu_data.pdc.capabilities); collect_boot_cpu_data() 270 if (pdc_model_sysmodel(boot_cpu_data.pdc.sys_model_name) == PDC_OK) collect_boot_cpu_data() 272 boot_cpu_data.pdc.sys_model_name); collect_boot_cpu_data() 274 boot_cpu_data.hversion = boot_cpu_data.pdc.model.hversion; collect_boot_cpu_data() 275 boot_cpu_data.sversion = boot_cpu_data.pdc.model.sversion; collect_boot_cpu_data() 277 boot_cpu_data.cpu_type = parisc_get_cpu_type(boot_cpu_data.hversion); collect_boot_cpu_data() 278 boot_cpu_data.cpu_name = cpu_name_version[boot_cpu_data.cpu_type][0]; collect_boot_cpu_data() 279 boot_cpu_data.family_name = cpu_name_version[boot_cpu_data.cpu_type][1]; collect_boot_cpu_data() 363 cpu, boot_cpu_data.family_name); for_each_online_cpu() 365 seq_printf(m, "cpu\t\t: %s\n", boot_cpu_data.cpu_name ); for_each_online_cpu() 369 boot_cpu_data.cpu_hz / 1000000, for_each_online_cpu() 370 boot_cpu_data.cpu_hz % 1000000 ); for_each_online_cpu() 373 if (boot_cpu_data.pdc.capabilities & PDC_MODEL_OS32) for_each_online_cpu() 375 if (boot_cpu_data.pdc.capabilities & PDC_MODEL_OS64) for_each_online_cpu() 377 if (boot_cpu_data.pdc.capabilities & PDC_MODEL_IOPDIR_FDC) for_each_online_cpu() 379 switch (boot_cpu_data.pdc.capabilities & PDC_MODEL_NVA_MASK) { for_each_online_cpu() 390 seq_printf(m, " (0x%02lx)\n", boot_cpu_data.pdc.capabilities); for_each_online_cpu() 394 boot_cpu_data.pdc.sys_model_name, for_each_online_cpu() 400 boot_cpu_data.hversion, for_each_online_cpu() 401 boot_cpu_data.sversion ); for_each_online_cpu() 411 boot_cpu_data.pdc.model.sw_id); for_each_online_cpu()
|
H A D | setup.c | 91 switch (boot_cpu_data.cpu_type) { dma_ops_init() 159 /* initialize the LCD/LED after boot_cpu_data is available ! */ setup_arch() 217 switch (boot_cpu_data.cpu_type) { parisc_proc_mkdir() 336 boot_cpu_data.cpu_name, parisc_init() 337 boot_cpu_data.cpu_hz / 1000000, parisc_init() 338 boot_cpu_data.cpu_hz % 1000000 ); parisc_init()
|
H A D | perf.c | 508 if (boot_cpu_data.cpu_type == pcxu || perf_init() 509 boot_cpu_data.cpu_type == pcxu_) { perf_init() 511 } else if (boot_cpu_data.cpu_type == pcxw || perf_init() 512 boot_cpu_data.cpu_type == pcxw_ || perf_init() 513 boot_cpu_data.cpu_type == pcxw2 || perf_init() 514 boot_cpu_data.cpu_type == mako || perf_init() 515 boot_cpu_data.cpu_type == mako2) { perf_init() 517 if (boot_cpu_data.cpu_type == pcxw2 || perf_init() 518 boot_cpu_data.cpu_type == mako || perf_init() 519 boot_cpu_data.cpu_type == mako2) perf_init()
|
H A D | cache.c | 228 if ((boot_cpu_data.pdc.capabilities & PDC_MODEL_NVA_MASK) == parisc_cache_init() 242 switch (boot_cpu_data.cpu_type) { disable_sr_hashing()
|
H A D | firmware.c | 70 #include <asm/processor.h> /* for boot_cpu_data */ 796 #define IS_SPROCKETS() (strlen(boot_cpu_data.pdc.sys_model_name) == 14 && \ pdc_get_initiator() 797 strncmp(boot_cpu_data.pdc.sys_model_name, "9000/785", 8) == 0) pdc_get_initiator()
|
H A D | traps.c | 353 if (boot_cpu_data.cpu_type >= pcxu) { transfer_pim_to_trap_frame()
|
/linux-4.4.14/arch/x86/kernel/cpu/ |
H A D | bugs.c | 25 print_cpu_info(&boot_cpu_data); check_bugs() 35 if (boot_cpu_data.x86 < 4) check_bugs() 39 '0' + (boot_cpu_data.x86 > 6 ? 6 : boot_cpu_data.x86); check_bugs()
|
H A D | perfctr-watchdog.c | 47 switch (boot_cpu_data.x86_vendor) { nmi_perfctr_msr_to_bit() 53 if (cpu_has(&boot_cpu_data, X86_FEATURE_ARCH_PERFMON)) nmi_perfctr_msr_to_bit() 56 switch (boot_cpu_data.x86) { nmi_perfctr_msr_to_bit() 75 switch (boot_cpu_data.x86_vendor) { nmi_evntsel_msr_to_bit() 81 if (cpu_has(&boot_cpu_data, X86_FEATURE_ARCH_PERFMON)) nmi_evntsel_msr_to_bit() 84 switch (boot_cpu_data.x86) { nmi_evntsel_msr_to_bit()
|
H A D | bugs_64.c | 19 print_cpu_info(&boot_cpu_data); check_bugs()
|
H A D | perf_event_msr.c | 20 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL || test_intel() 21 boot_cpu_data.x86 != 6) test_intel() 24 switch (boot_cpu_data.x86_model) { test_intel()
|
H A D | perf_event_p6.c | 236 if (boot_cpu_data.x86_mask < 9) { p6_pmu_rdpmc_quirk() 250 switch (boot_cpu_data.x86_model) { p6_pmu_init() 271 pr_cont("unsupported p6 CPU model %d ", boot_cpu_data.x86_model); p6_pmu_init()
|
H A D | hypervisor.c | 76 init_hypervisor(&boot_cpu_data); init_hypervisor_platform()
|
H A D | match.c | 34 struct cpuinfo_x86 *c = &boot_cpu_data; x86_match_cpu()
|
H A D | perf_event_intel_cstate.c | 135 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL || test_core() 136 boot_cpu_data.x86 != 6) test_core() 139 switch (boot_cpu_data.x86_model) { test_core() 262 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL || test_pkg() 263 boot_cpu_data.x86 != 6) test_pkg() 266 switch (boot_cpu_data.x86_model) { test_pkg() 601 switch (boot_cpu_data.x86_model) { cstate_init()
|
H A D | common.c | 790 early_identify_cpu(&boot_cpu_data); early_cpu_init() 852 if (c != &boot_cpu_data) { x86_init_cache_qos() 853 boot_cpu_data.x86_cache_max_rmid = x86_init_cache_qos() 854 min(boot_cpu_data.x86_cache_max_rmid, x86_init_cache_qos() 960 * On SMP, boot_cpu_data holds the common feature set between identify_cpu() 963 * executed, c == &boot_cpu_data. identify_cpu() 965 if (c != &boot_cpu_data) { identify_cpu() 968 boot_cpu_data.x86_capability[i] &= c->x86_capability[i]; identify_cpu() 972 c->x86_capability[i] |= boot_cpu_data.x86_capability[i]; identify_cpu() 1022 identify_cpu(&boot_cpu_data); identify_boot_cpu() 1028 cpu_detect_tlb(&boot_cpu_data); identify_boot_cpu() 1033 BUG_ON(c == &boot_cpu_data); identify_secondary_cpu() 1496 this_cpu->c_bsp_resume(&boot_cpu_data); bsp_resume()
|
H A D | perf_event_amd.c | 372 if (boot_cpu_data.x86_max_cores < 2) amd_pmu_cpu_prepare() 391 if (boot_cpu_data.x86_max_cores < 2) amd_pmu_cpu_starting() 417 if (boot_cpu_data.x86_max_cores < 2) amd_pmu_cpu_dead() 658 switch (boot_cpu_data.x86) { amd_core_pmu_init() 687 if (boot_cpu_data.x86 < 6) amd_pmu_init()
|
H A D | intel.c | 175 if (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL && ppro_with_ram_bug() 176 boot_cpu_data.x86 == 6 && ppro_with_ram_bug() 177 boot_cpu_data.x86_model == 1 && ppro_with_ram_bug() 178 boot_cpu_data.x86_mask < 8) { ppro_with_ram_bug()
|
H A D | amd.c | 35 WARN_ONCE((boot_cpu_data.x86 != 0xf), rdmsrl_amd_safe() 52 WARN_ONCE((boot_cpu_data.x86 != 0xf), wrmsrl_amd_safe() 628 if (c == &boot_cpu_data) init_amd_gh()
|
H A D | perf_event_intel_uncore_snb.c | 170 if (snb_uncore_cbox.num_boxes > boot_cpu_data.x86_max_cores) snb_uncore_cpu_init() 171 snb_uncore_cbox.num_boxes = boot_cpu_data.x86_max_cores; snb_uncore_cpu_init()
|
H A D | perf_event_intel_uncore_snbep.c | 886 if (snbep_uncore_cbox.num_boxes > boot_cpu_data.x86_max_cores) snbep_uncore_cpu_init() 887 snbep_uncore_cbox.num_boxes = boot_cpu_data.x86_max_cores; snbep_uncore_cpu_init() 1488 if (ivbep_uncore_cbox.num_boxes > boot_cpu_data.x86_max_cores) ivbep_uncore_cpu_init() 1489 ivbep_uncore_cbox.num_boxes = boot_cpu_data.x86_max_cores; ivbep_uncore_cpu_init() 2043 if (hswep_uncore_cbox.num_boxes > boot_cpu_data.x86_max_cores) hswep_uncore_cpu_init() 2044 hswep_uncore_cbox.num_boxes = boot_cpu_data.x86_max_cores; hswep_uncore_cpu_init() 2391 if (bdx_uncore_cbox.num_boxes > boot_cpu_data.x86_max_cores) bdx_uncore_cpu_init() 2392 bdx_uncore_cbox.num_boxes = boot_cpu_data.x86_max_cores; bdx_uncore_cpu_init()
|
H A D | perf_event_p4.c | 735 if (boot_cpu_data.x86_model != 3 && p4_event_match_cpu_model() 736 boot_cpu_data.x86_model != 4 && p4_event_match_cpu_model() 737 boot_cpu_data.x86_model != 6) p4_event_match_cpu_model() 1350 boot_cpu_data.x86_model); p4_pmu_init()
|
H A D | perf_event_intel_uncore.c | 959 switch (boot_cpu_data.x86_model) { uncore_pci_init() 1261 switch (boot_cpu_data.x86_model) { uncore_cpu_init() 1360 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) intel_uncore_init()
|
H A D | perf_event_intel_uncore_nhmex.c | 1213 if (boot_cpu_data.x86_model == 46) nhmex_uncore_cpu_init() 1217 if (nhmex_uncore_cbox.num_boxes > boot_cpu_data.x86_max_cores) nhmex_uncore_cpu_init() 1218 nhmex_uncore_cbox.num_boxes = boot_cpu_data.x86_max_cores; nhmex_uncore_cpu_init()
|
H A D | perf_event_amd_uncore.c | 523 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD) amd_uncore_init()
|
H A D | intel_cacheinfo.c | 311 if (boot_cpu_data.x86 == 0x15) { amd_calc_l3_indices() 593 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) { cpuid4_cache_lookup_regs()
|
H A D | perf_event_intel_cqm.c | 1324 cqm_l3_scale = boot_cpu_data.x86_cache_occ_scale; intel_cqm_init() 1358 boot_cpu_data.x86_cache_size * 1024 / (cqm_max_rmid + 1);
|
H A D | perf_event_intel_ds.c | 152 int model = boot_cpu_data.x86_model; load_latency_data() 153 int fam = boot_cpu_data.x86; load_latency_data()
|
H A D | perf_event_intel_lbr.c | 1014 if (boot_cpu_data.x86_model == 28 intel_pmu_lbr_init_atom() 1015 && boot_cpu_data.x86_mask < 10) { intel_pmu_lbr_init_atom()
|
H A D | perf_event_intel.c | 3238 if (!cpu_has(&boot_cpu_data, X86_FEATURE_ARCH_PERFMON)) { intel_pmu_init() 3239 switch (boot_cpu_data.x86) { intel_pmu_init() 3295 switch (boot_cpu_data.x86_model) { intel_pmu_init() 3420 if (boot_cpu_data.x86_model == 45) intel_pmu_init() 3458 if (boot_cpu_data.x86_model == 62) intel_pmu_init()
|
H A D | perf_event_amd_ibs.c | 842 if (boot_cpu_data.x86 == 0x10) ibs_eilvt_setup()
|
H A D | perf_event_intel_rapl.c | 721 switch (boot_cpu_data.x86_model) { rapl_pmu_init()
|
H A D | perf_event_intel_pt.c | 1133 if (!test_cpu_cap(&boot_cpu_data, X86_FEATURE_INTEL_PT)) pt_init()
|
H A D | perf_event.c | 1684 switch (boot_cpu_data.x86_vendor) { init_hw_perf_events()
|
/linux-4.4.14/arch/parisc/include/asm/ |
H A D | bugs.h | 18 // identify_cpu(&boot_cpu_data); check_bugs()
|
H A D | processor.h | 115 extern struct system_cpuinfo_parisc boot_cpu_data; 118 #define CPU_HVERSION ((boot_cpu_data.hversion >> 4) & 0x0FFF) 320 return (boot_cpu_data.cpu_type == mako) || parisc_requires_coherency() 321 (boot_cpu_data.cpu_type == mako2); parisc_requires_coherency()
|
/linux-4.4.14/arch/avr32/include/asm/ |
H A D | bugs.h | 12 boot_cpu_data.loops_per_jiffy = loops_per_jiffy; check_bugs()
|
H A D | processor.h | 84 extern struct avr32_cpuinfo boot_cpu_data; 87 #define current_cpu_data boot_cpu_data
|
/linux-4.4.14/arch/avr32/mm/ |
H A D | cache.c | 28 linesz = boot_cpu_data.dcache.linesz; invalidate_dcache_region() 56 linesz = boot_cpu_data.dcache.linesz; clean_dcache_region() 69 linesz = boot_cpu_data.dcache.linesz; flush_dcache_region() 82 linesz = boot_cpu_data.icache.linesz; invalidate_icache_region() 94 linesz = boot_cpu_data.dcache.linesz; __flush_icache_range() 110 linesz = boot_cpu_data.dcache.linesz; flush_icache_range()
|
/linux-4.4.14/arch/um/include/asm/ |
H A D | processor-generic.h | 99 extern struct cpuinfo_um boot_cpu_data; 101 #define cpu_data (&boot_cpu_data) 102 #define current_cpu_data boot_cpu_data
|
/linux-4.4.14/drivers/cpufreq/ |
H A D | at32ap-cpufreq.c | 38 loops_per_jiffy_ref = boot_cpu_data.loops_per_jiffy; at32_set_target() 42 boot_cpu_data.loops_per_jiffy = cpufreq_scale( at32_set_target() 46 boot_cpu_data.loops_per_jiffy = cpufreq_scale( at32_set_target()
|
H A D | amd_freq_sensitivity.c | 115 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD) amd_freq_sensitivity_init()
|
H A D | acpi-cpufreq.c | 93 switch (boot_cpu_data.x86_vendor) { boost_state() 112 switch (boot_cpu_data.x86_vendor) { boost_set_msrs() 225 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) extract_msr() 740 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD && acpi_cpufreq_cpu_init() 741 boot_cpu_data.x86 == 0xf) { acpi_cpufreq_cpu_init()
|
H A D | cpufreq_ondemand.c | 63 if (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL && should_io_be_busy() 64 boot_cpu_data.x86 == 6 && should_io_be_busy() 65 boot_cpu_data.x86_model >= 15) should_io_be_busy()
|
H A D | e_powersaver.c | 411 if (!x86_match_cpu(eps_cpu_id) || boot_cpu_data.x86_model < 10) eps_init()
|
H A D | speedstep-lib.c | 174 struct cpuinfo_x86 *c = &boot_cpu_data; pentium4_get_frequency()
|
H A D | powernow-k8.c | 1222 num_online_nodes(), boot_cpu_data.x86_model_id, supported_cpus);
|
/linux-4.4.14/arch/x86/kernel/ |
H A D | amd_nb.c | 105 if (boot_cpu_data.x86 == 0x10 && amd_cache_northbridges() 106 boot_cpu_data.x86_model >= 0x8 && amd_cache_northbridges() 107 (boot_cpu_data.x86_model > 0x9 || amd_cache_northbridges() 108 boot_cpu_data.x86_mask >= 0x1)) amd_cache_northbridges() 111 if (boot_cpu_data.x86 == 0x15) amd_cache_northbridges() 115 if (boot_cpu_data.x86 == 0x15) amd_cache_northbridges() 144 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD) amd_get_mmconfig_range() 148 if (boot_cpu_data.x86 < 0x10) amd_get_mmconfig_range()
|
H A D | tsc_msr.c | 89 cpu_index = match_cpu(boot_cpu_data.x86, boot_cpu_data.x86_model); try_msr_calibrate_tsc()
|
H A D | alternative.c | 210 switch (boot_cpu_data.x86_vendor) { arch_init_ideal_nops() 217 if (boot_cpu_data.x86 == 6 && arch_init_ideal_nops() 218 boot_cpu_data.x86_model >= 0x0f && arch_init_ideal_nops() 219 boot_cpu_data.x86_model != 0x1c && arch_init_ideal_nops() 220 boot_cpu_data.x86_model != 0x26 && arch_init_ideal_nops() 221 boot_cpu_data.x86_model != 0x27 && arch_init_ideal_nops() 222 boot_cpu_data.x86_model < 0x30) { arch_init_ideal_nops() 236 if (boot_cpu_data.x86 > 0xf) { arch_init_ideal_nops() 547 clear_cpu_cap(&boot_cpu_data, X86_FEATURE_UP); alternatives_enable_smp()
|
H A D | setup.c | 179 struct cpuinfo_x86 boot_cpu_data __read_mostly = { 182 EXPORT_SYMBOL(boot_cpu_data); variable 203 struct cpuinfo_x86 boot_cpu_data __read_mostly = { 206 EXPORT_SYMBOL(boot_cpu_data); variable 862 memcpy(&boot_cpu_data, &new_cpu_data, sizeof(new_cpu_data)); setup_arch() 936 iomem_resource.end = (1ULL << boot_cpu_data.x86_phys_bits) - 1; setup_arch() 1172 if (boot_cpu_data.cpuid_level >= 0) { setup_arch()
|
H A D | smpboot.c | 259 *c = boot_cpu_data; smp_store_boot_cpu_info() 271 *c = boot_cpu_data; smp_store_cpu_info() 375 bool has_mp = has_smt || boot_cpu_data.x86_max_cores > 1; set_cpu_sibling_map() 529 if (((boot_cpu_data.x86_vendor == X86_VENDOR_INTEL) && (boot_cpu_data.x86 == 6)) || smp_quirk_init_udelay() 530 ((boot_cpu_data.x86_vendor == X86_VENDOR_AMD) && (boot_cpu_data.x86 >= 0xF))) { smp_quirk_init_udelay()
|
H A D | mpparse.c | 409 processor.cpufeature = (boot_cpu_data.x86 << 8) | construct_default_ISA_mptable() 410 (boot_cpu_data.x86_model << 4) | boot_cpu_data.x86_mask; construct_default_ISA_mptable() 411 processor.featureflag = boot_cpu_data.x86_capability[0]; construct_default_ISA_mptable()
|
H A D | tsc.c | 923 lpj = &boot_cpu_data.loops_per_jiffy; time_cpufreq_notifier() 1065 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) { unsynchronized_tsc()
|
H A D | kvm.c | 521 if (boot_cpu_data.cpuid_level < 0) __kvm_cpuid_base()
|
/linux-4.4.14/arch/sh/kernel/cpu/ |
H A D | fpu.c | 10 if ((boot_cpu_data.flags & CPU_HAS_FPU) && tsk == current) init_fpu() 25 if (boot_cpu_data.flags & CPU_HAS_FPU) { init_fpu()
|
/linux-4.4.14/arch/parisc/lib/ |
H A D | delay.c | 22 #include <asm/processor.h> /* for boot_cpu_data */ 71 __cr16_delay(usecs * ((unsigned long)boot_cpu_data.cpu_hz / 1000000UL)); __udelay()
|
/linux-4.4.14/arch/m32r/include/asm/ |
H A D | processor.h | 44 extern struct cpuinfo_m32r boot_cpu_data; 50 #define cpu_data (&boot_cpu_data) 51 #define current_cpu_data boot_cpu_data
|
/linux-4.4.14/arch/x86/kernel/fpu/ |
H A D | bugs.c | 58 set_cpu_bug(&boot_cpu_data, X86_BUG_FDIV); check_fpu()
|
H A D | xstate.c | 622 if (boot_cpu_data.cpuid_level < XSTATE_CPUID) { fpu__init_system_xstate()
|
/linux-4.4.14/arch/x86/platform/intel-mid/ |
H A D | intel-mid.c | 116 if (boot_cpu_data.x86 != 6) { intel_mid_arch_setup() 118 boot_cpu_data.x86, boot_cpu_data.x86_model); intel_mid_arch_setup() 123 switch (boot_cpu_data.x86_model) { intel_mid_arch_setup()
|
H A D | mfld.c | 53 set_cpu_cap(&boot_cpu_data, X86_FEATURE_TSC_RELIABLE); mfld_calibrate_tsc()
|
H A D | mrfl.c | 82 set_cpu_cap(&boot_cpu_data, X86_FEATURE_TSC_RELIABLE); tangier_calibrate_tsc()
|
/linux-4.4.14/drivers/hwmon/ |
H A D | k10temp.c | 81 if (boot_cpu_data.x86 == 0x15 && boot_cpu_data.x86_model == 0x60) { show_temp() 155 if (boot_cpu_data.x86 != 0x10) has_erratum_319() 181 return boot_cpu_data.x86_model < 4 || has_erratum_319() 182 (boot_cpu_data.x86_model == 4 && boot_cpu_data.x86_mask <= 2); has_erratum_319()
|
H A D | fam15h_power.c | 78 if (boot_cpu_data.x86 == 0x15 && boot_cpu_data.x86_model >= 0x60) { show_power() 123 struct cpuinfo_x86 *c = &boot_cpu_data; fam15h_power_init_attrs()
|
H A D | k8temp.c | 189 model = boot_cpu_data.x86_model; k8temp_probe() 190 stepping = boot_cpu_data.x86_mask; k8temp_probe()
|
/linux-4.4.14/drivers/mtd/nand/ |
H A D | cs553x_nand.c | 268 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD && is_geode() 269 boot_cpu_data.x86 == 5 && is_geode() 270 boot_cpu_data.x86_model == 10) is_geode() 273 if ((boot_cpu_data.x86_vendor == X86_VENDOR_NSC || is_geode() 274 boot_cpu_data.x86_vendor == X86_VENDOR_CYRIX) && is_geode() 275 boot_cpu_data.x86 == 5 && is_geode() 276 boot_cpu_data.x86_model == 5) is_geode()
|
/linux-4.4.14/arch/mn10300/include/asm/ |
H A D | processor.h | 55 extern struct mn10300_cpuinfo boot_cpu_data; 64 #define cpu_data &boot_cpu_data 65 #define current_cpu_data boot_cpu_data
|
/linux-4.4.14/arch/x86/crypto/ |
H A D | twofish_glue_3way.c | 439 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) is_blacklisted_cpu() 442 if (boot_cpu_data.x86 == 0x06 && is_blacklisted_cpu() 443 (boot_cpu_data.x86_model == 0x1c || is_blacklisted_cpu() 444 boot_cpu_data.x86_model == 0x26 || is_blacklisted_cpu() 445 boot_cpu_data.x86_model == 0x36)) { is_blacklisted_cpu() 458 if (boot_cpu_data.x86 == 0x0f) { is_blacklisted_cpu()
|
H A D | blowfish_glue.c | 439 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) is_blacklisted_cpu() 442 if (boot_cpu_data.x86 == 0x0f) { is_blacklisted_cpu()
|
H A D | des3_ede_glue.c | 466 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) is_blacklisted_cpu() 469 if (boot_cpu_data.x86 == 0x0f) { is_blacklisted_cpu()
|
H A D | camellia_glue.c | 1685 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) is_blacklisted_cpu() 1688 if (boot_cpu_data.x86 == 0x0f) { is_blacklisted_cpu()
|
/linux-4.4.14/drivers/gpu/drm/ |
H A D | drm_cache.c | 47 const int size = boot_cpu_data.x86_clflush_size; drm_clflush_page() 133 const int size = boot_cpu_data.x86_clflush_size; drm_clflush_virt_range()
|
/linux-4.4.14/arch/sh/kernel/ |
H A D | process.c | 70 if (boot_cpu_data.flags & CPU_HAS_FPU) init_thread_xstate()
|
H A D | signal_32.c | 80 if (!(boot_cpu_data.flags & CPU_HAS_FPU)) restore_sigcontext_fpu() 93 if (!(boot_cpu_data.flags & CPU_HAS_FPU)) save_sigcontext_fpu() 133 if (boot_cpu_data.flags & CPU_HAS_FPU) { restore_sigcontext()
|
H A D | ptrace_32.c | 197 if ((boot_cpu_data.flags & CPU_HAS_FPU)) fpregs_get() 218 if ((boot_cpu_data.flags & CPU_HAS_FPU)) fpregs_set()
|
H A D | smp.c | 52 memcpy(c, &boot_cpu_data, sizeof(struct sh_cpuinfo)); smp_store_cpu_info()
|
/linux-4.4.14/arch/m32r/kernel/ |
H A D | m32r_ksyms.c | 20 EXPORT_SYMBOL(boot_cpu_data); variable
|
H A D | setup.c | 46 struct cpuinfo_m32r boot_cpu_data; variable in typeref:struct:cpuinfo_m32r 230 boot_cpu_data.cpu_clock = M32R_CPUCLK; setup_arch() 231 boot_cpu_data.bus_clock = M32R_BUSCLK; setup_arch() 232 boot_cpu_data.timer_divide = M32R_TIMER_DIVIDE; setup_arch()
|
H A D | time.c | 179 bus_clock = boot_cpu_data.bus_clock; time_init() 180 divide = boot_cpu_data.timer_divide; time_init()
|
H A D | head.S | 24 * References to members of the boot_cpu_data structure.
|
H A D | smpboot.c | 550 *ci = boot_cpu_data; smp_store_cpu_info()
|
/linux-4.4.14/arch/arm64/kernel/ |
H A D | cpuinfo.c | 43 static struct cpuinfo_arm64 boot_cpu_data; variable in typeref:struct:cpuinfo_arm64 250 update_cpu_features(smp_processor_id(), info, &boot_cpu_data); cpuinfo_store_cpu() local 258 boot_cpu_data = *info; cpuinfo_store_boot_cpu() 259 init_cpu_features(&boot_cpu_data); cpuinfo_store_boot_cpu()
|
/linux-4.4.14/arch/mips/kernel/ |
H A D | ptrace.c | 93 mask = boot_cpu_data.fpu_msk31; ptrace_setfcr31() 168 __put_user(boot_cpu_data.fpu_id, data + 65); ptrace_getfpregs() 205 if (!cpu_has_watch || boot_cpu_data.watch_reg_use_cnt == 0) ptrace_get_watch_regs() 219 __put_user(boot_cpu_data.watch_reg_use_cnt, ptrace_get_watch_regs() 221 for (i = 0; i < boot_cpu_data.watch_reg_use_cnt; i++) { ptrace_get_watch_regs() 226 __put_user(boot_cpu_data.watch_reg_masks[i], ptrace_get_watch_regs() 246 if (!cpu_has_watch || boot_cpu_data.watch_reg_use_cnt == 0) ptrace_set_watch_regs() 251 for (i = 0; i < boot_cpu_data.watch_reg_use_cnt; i++) { ptrace_set_watch_regs() 270 for (i = 0; i < boot_cpu_data.watch_reg_use_cnt; i++) { ptrace_set_watch_regs() 742 tmp = boot_cpu_data.fpu_id; arch_ptrace()
|
H A D | ptrace32.c | 132 tmp = boot_cpu_data.fpu_id; compat_arch_ptrace()
|
H A D | cpu-probe.c | 157 cpu_set_nofpu_opts(&boot_cpu_data); fpu_disable()
|
/linux-4.4.14/arch/x86/xen/ |
H A D | pmu.c | 70 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) { xen_pmu_arch_init() 72 switch (boot_cpu_data.x86) { xen_pmu_arch_init() 287 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) { pmu_msr_read() 310 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) { pmu_msr_write() 381 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) xen_read_pmc()
|
/linux-4.4.14/arch/m32r/boot/ |
H A D | setup.S | 19 * References to members of the boot_cpu_data structure. 22 #define CPU_PARAMS boot_cpu_data
|
/linux-4.4.14/arch/x86/pci/ |
H A D | amd_bus.c | 138 if (boot_cpu_data.x86 > 0x11) early_root_info_init() 391 if (boot_cpu_data.x86 < 0x10) pci_io_ecs_init() 412 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD) amd_postcore_init()
|
H A D | i386.c | 437 else if (pat_enabled() || boot_cpu_data.x86 > 3) pci_mmap_page_range()
|
H A D | common.c | 500 struct cpuinfo_x86 *c = &boot_cpu_data; pcibios_set_cache_line_size()
|
/linux-4.4.14/drivers/edac/ |
H A D | mce_amd.c | 413 bool k8 = (boot_cpu_data.x86 == 0xf && (m->status & BIT_64(58))); decode_mc1_mce() 564 if (boot_cpu_data.x86 >= 0x14) { decode_mc3_mce() 590 struct cpuinfo_x86 *c = &boot_cpu_data; decode_mc4_mce() 625 if (boot_cpu_data.x86 == 0x15 || boot_cpu_data.x86 == 0x16) decode_mc4_mce() 648 struct cpuinfo_x86 *c = &boot_cpu_data; decode_mc5_mce() 836 struct cpuinfo_x86 *c = &boot_cpu_data; mce_amd_init()
|
H A D | amd64_edac.h | 195 #define dct_ganging_enabled(pvt) ((boot_cpu_data.x86 == 0x10) && ((pvt)->dct_sel_lo & BIT(4))) 361 if (boot_cpu_data.x86 == 0xf) get_dram_base() 371 if (boot_cpu_data.x86 == 0xf) get_dram_limit()
|
H A D | amd64_edac.c | 2717 pvt->ext_model = boot_cpu_data.x86_model >> 4; per_family_init() 2718 pvt->stepping = boot_cpu_data.x86_mask; per_family_init() 2719 pvt->model = boot_cpu_data.x86_model; per_family_init() 2720 pvt->fam = boot_cpu_data.x86; per_family_init()
|
/linux-4.4.14/arch/x86/kernel/apic/ |
H A D | apic.c | 218 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD && modern_apic() 219 boot_cpu_data.x86 >= 0xf) modern_apic() 1107 if (modern_apic() || boot_cpu_data.x86_vendor == X86_VENDOR_AMD) sync_Arb_IDs() 1148 if ((boot_cpu_data.x86_vendor == X86_VENDOR_INTEL) && init_bsp_APIC() 1149 (boot_cpu_data.x86 == 15)) init_bsp_APIC() 1648 set_cpu_cap(&boot_cpu_data, X86_FEATURE_APIC); apic_verify() 1652 if (boot_cpu_data.x86 >= 6) { apic_verify() 1674 if (boot_cpu_data.x86 >= 6) { apic_force_enable() 1696 switch (boot_cpu_data.x86_vendor) { detect_init_APIC() 1698 if ((boot_cpu_data.x86 == 6 && boot_cpu_data.x86_model > 1) || detect_init_APIC() 1699 (boot_cpu_data.x86 >= 15)) detect_init_APIC() 1703 if (boot_cpu_data.x86 == 6 || boot_cpu_data.x86 == 15 || detect_init_APIC() 1704 (boot_cpu_data.x86 == 5 && cpu_has_apic)) detect_init_APIC() 2341 if (boot_cpu_data.x86 >= 6) { lapic_resume()
|
H A D | probe_32.c | 158 switch (boot_cpu_data.x86_vendor) { default_setup_apic_routing()
|
H A D | io_apic.c | 1594 if (!(boot_cpu_data.x86_vendor == X86_VENDOR_INTEL) setup_ioapic_ids_from_mpc() 2424 if ((boot_cpu_data.x86_vendor == X86_VENDOR_INTEL) && io_apic_unique_id()
|
/linux-4.4.14/arch/x86/kernel/cpu/mtrr/ |
H A D | main.c | 319 (boot_cpu_data.x86_phys_bits - PAGE_SHIFT)) { mtrr_add_page() 699 if (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL && mtrr_bp_init() 700 boot_cpu_data.x86 == 0xF && mtrr_bp_init() 701 boot_cpu_data.x86_model == 0x3 && mtrr_bp_init() 702 (boot_cpu_data.x86_mask == 0x3 || mtrr_bp_init() 703 boot_cpu_data.x86_mask == 0x4)) mtrr_bp_init() 708 } else if (boot_cpu_data.x86_vendor == X86_VENDOR_CENTAUR && mtrr_bp_init() 709 boot_cpu_data.x86 == 6) { mtrr_bp_init() 719 switch (boot_cpu_data.x86_vendor) { mtrr_bp_init()
|
H A D | generic.c | 52 if (!((boot_cpu_data.x86_vendor == X86_VENDOR_AMD) && k8_check_syscfg_dram_mod_en() 53 (boot_cpu_data.x86 >= 0x0f))) k8_check_syscfg_dram_mod_en() 857 if (is_cpu(INTEL) && boot_cpu_data.x86 == 6 && generic_validate_add_page() 858 boot_cpu_data.x86_model == 1 && generic_validate_add_page() 859 boot_cpu_data.x86_mask <= 7) { generic_validate_add_page()
|
H A D | cleanup.c | 829 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD) amd_special_default_mtrr() 831 if (boot_cpu_data.x86 < 0xf) amd_special_default_mtrr()
|
H A D | if.c | 437 struct cpuinfo_x86 *c = &boot_cpu_data; mtrr_if_init()
|
/linux-4.4.14/arch/x86/oprofile/ |
H A D | nmi_int.c | 581 __u8 cpu_model = boot_cpu_data.x86_model; p4_init() 635 __u8 cpu_model = boot_cpu_data.x86_model; ppro_init() 697 __u8 vendor = boot_cpu_data.x86_vendor; op_nmi_init() 698 __u8 family = boot_cpu_data.x86; op_nmi_init()
|
H A D | op_model_amd.c | 516 if (boot_cpu_data.x86 == 0x15) { op_amd_init()
|
H A D | op_model_p4.c | 434 if (boot_cpu_data.x86_model >= 0x3) { p4_fill_in_addresses()
|
/linux-4.4.14/arch/mips/include/asm/ |
H A D | cpu-info.h | 99 #define boot_cpu_data cpu_data[0] macro
|
H A D | elf.h | 308 current->thread.fpu.fcr31 = boot_cpu_data.fpu_csr31; \ 370 current->thread.fpu.fcr31 = boot_cpu_data.fpu_csr31; \
|
/linux-4.4.14/arch/sh/include/asm/ |
H A D | cacheflush.h | 63 if (boot_cpu_data.dcache.n_aliases && PageAnon(page)) flush_anon_page()
|
H A D | processor.h | 94 #define boot_cpu_data cpu_data[0] macro
|
H A D | elf.h | 124 #define ELF_HWCAP (boot_cpu_data.flags)
|
/linux-4.4.14/drivers/acpi/ |
H A D | processor_perflib.c | 295 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD) amd_fixup_frequency() 298 if ((boot_cpu_data.x86 == 0x10 && boot_cpu_data.x86_model < 10) amd_fixup_frequency() 299 || boot_cpu_data.x86 == 0x11) { amd_fixup_frequency() 310 if (boot_cpu_data.x86 == 0x10) amd_fixup_frequency()
|
H A D | acpi_pad.c | 50 if (boot_cpu_data.cpuid_level < CPUID_MWAIT_LEAF) power_saving_mwait_init() 70 switch (boot_cpu_data.x86_vendor) { power_saving_mwait_init()
|
H A D | processor_idle.c | 236 switch (boot_cpu_data.x86_vendor) { tsc_check_state()
|
/linux-4.4.14/drivers/idle/ |
H A D | intel_idle.c | 943 if (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL && intel_idle_probe() 944 boot_cpu_data.x86 == 6) intel_idle_probe() 946 boot_cpu_data.x86, boot_cpu_data.x86_model); intel_idle_probe() 950 if (boot_cpu_data.cpuid_level < CPUID_MWAIT_LEAF) intel_idle_probe() 971 " model 0x%X\n", boot_cpu_data.x86_model); intel_idle_probe() 1074 switch (boot_cpu_data.x86_model) { intel_idle_state_table_update()
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
H A D | qib_wc_x86_64.c | 149 return boot_cpu_data.x86_vendor != X86_VENDOR_AMD; qib_unordered_wc()
|
/linux-4.4.14/arch/x86/kernel/acpi/ |
H A D | cstate.c | 168 struct cpuinfo_x86 *c = &boot_cpu_data; ffh_cstate_init()
|
/linux-4.4.14/arch/x86/kernel/cpu/microcode/ |
H A D | amd.c | 343 unsigned int bsp = boot_cpu_data.cpu_index; get_bsp_sig() 867 if (cpu_data(cpu).cpu_index == boot_cpu_data.cpu_index) { load_microcode_amd() 904 if (!refresh_fw || c->cpu_index != boot_cpu_data.cpu_index) request_microcode_amd() 953 struct cpuinfo_x86 *c = &boot_cpu_data; init_amd_microcode()
|
H A D | core.c | 187 struct cpuinfo_x86 *c = &boot_cpu_data; save_microcode_in_initrd() 630 struct cpuinfo_x86 *c = &boot_cpu_data; microcode_init()
|
H A D | intel.c | 1046 struct cpuinfo_x86 *c = &boot_cpu_data; init_intel_microcode()
|
/linux-4.4.14/arch/mn10300/kernel/ |
H A D | setup.c | 36 struct mn10300_cpuinfo boot_cpu_data; variable in typeref:struct:mn10300_cpuinfo
|
H A D | smp.c | 723 * Save boot_cpu_data and jiffy for the specified CPU. 729 *ci = boot_cpu_data; smp_store_cpu_info()
|
/linux-4.4.14/drivers/thermal/ |
H A D | intel_powerclamp.c | 188 if (boot_cpu_data.cpuid_level < CPUID_MWAIT_LEAF) find_target_mwait() 712 boot_cpu_data.x86, boot_cpu_data.x86_model); powerclamp_probe()
|
/linux-4.4.14/arch/x86/kvm/ |
H A D | cpuid.c | 248 *word &= boot_cpu_data.x86_capability[wordnum]; cpuid_mask() 571 entry->edx &= boot_cpu_data.x86_power; __do_cpuid_ent() 641 return boot_cpu_data.x86_vendor == X86_VENDOR_CENTAUR; is_centaur_cpu()
|
H A D | mmu.c | 3764 boot_cpu_data.x86_phys_bits, reset_shadow_zero_bits_mask() 3787 boot_cpu_data.x86_phys_bits, reset_tdp_shadow_zero_bits_mask() 3792 boot_cpu_data.x86_phys_bits, reset_tdp_shadow_zero_bits_mask() 3806 boot_cpu_data.x86_phys_bits, execonly); reset_ept_shadow_zero_bits_mask()
|
H A D | svm.c | 613 if (osvw_len == 0 && boot_cpu_data.x86 == 0x10) svm_init_osvw() 690 if (cpu_has(&boot_cpu_data, X86_FEATURE_OSVW)) { svm_hardware_enable()
|
H A D | vmx.c | 3287 if (cpu_has_load_perf_global_ctrl && boot_cpu_data.x86 == 0x6) { setup_vmcs_config() 3288 switch (boot_cpu_data.x86_model) { setup_vmcs_config()
|
H A D | x86.c | 5696 int maxphyaddr = boot_cpu_data.x86_phys_bits; kvm_set_mmio_spte_mask()
|
/linux-4.4.14/drivers/crypto/ccp/ |
H A D | ccp-dev.c | 590 struct cpuinfo_x86 *cpuinfo = &boot_cpu_data; ccp_mod_init() 639 struct cpuinfo_x86 *cpuinfo = &boot_cpu_data; ccp_mod_exit()
|
/linux-4.4.14/arch/um/kernel/ |
H A D | um_arch.c | 48 struct cpuinfo_um boot_cpu_data = { variable in typeref:struct:cpuinfo_um
|
/linux-4.4.14/drivers/char/ |
H A D | ds1302.c | 303 baur=(boot_cpu_data.bus_clock/(2*1000*1000)); ds1302_probe()
|
/linux-4.4.14/arch/sh/kernel/cpu/sh4a/ |
H A D | perf_event.c | 295 if (!(boot_cpu_data.flags & CPU_HAS_PERF_COUNTER)) { sh4a_pmu_init()
|
/linux-4.4.14/drivers/platform/x86/ |
H A D | intel_ips.c | 1374 if (!(boot_cpu_data.x86 == 6 && boot_cpu_data.x86_model == 37)) { ips_detect_cpu() 1390 if (strstr(boot_cpu_data.x86_model_id, "CPU M")) ips_detect_cpu() 1392 else if (strstr(boot_cpu_data.x86_model_id, "CPU L")) ips_detect_cpu() 1394 else if (strstr(boot_cpu_data.x86_model_id, "CPU U")) ips_detect_cpu()
|
/linux-4.4.14/drivers/iommu/ |
H A D | amd_iommu_init.c | 1000 if ((boot_cpu_data.x86 != 0x15) || amd_iommu_erratum_746_workaround() 1001 (boot_cpu_data.x86_model < 0x10) || amd_iommu_erratum_746_workaround() 1002 (boot_cpu_data.x86_model > 0x1f)) amd_iommu_erratum_746_workaround() 1032 if ((boot_cpu_data.x86 != 0x15) || amd_iommu_ats_write_check_workaround() 1033 (boot_cpu_data.x86_model < 0x30) || amd_iommu_ats_write_check_workaround() 1034 (boot_cpu_data.x86_model > 0x3f)) amd_iommu_ats_write_check_workaround()
|
/linux-4.4.14/drivers/media/platform/ |
H A D | arv.c | 62 extern struct cpuinfo_m32r boot_cpu_data; 853 freq = (boot_cpu_data.bus_clock / 1000000); ar_init_module()
|
/linux-4.4.14/drivers/parport/ |
H A D | parport_gsc.c | 365 if (boot_cpu_data.cpu_type > pcxt && !pdc_add_valid(port+4)) { parport_init_chip()
|
/linux-4.4.14/arch/x86/kernel/cpu/mcheck/ |
H A D | mce-severity.c | 279 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) mcheck_vendor_init_severity()
|
H A D | mce_intel.c | 85 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) cmci_supported()
|
H A D | mce.c | 133 m->cpuvendor = boot_cpu_data.x86_vendor; mce_setup() 522 struct cpuinfo_x86 *c = &boot_cpu_data; memory_error() 2081 if (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL) vendor_disable_error_reporting() 2310 if (!mce_available(&boot_cpu_data)) mce_device_create() 2466 if (!mce_available(&boot_cpu_data)) { mcheck_init_device()
|
H A D | therm_throt.c | 468 if (intel_thermal_supported(&boot_cpu_data)) mcheck_intel_therm_init()
|
/linux-4.4.14/arch/x86/ras/ |
H A D | mce_amd_inj.c | 206 struct cpuinfo_x86 *c = &boot_cpu_data; get_nbc_for_node()
|
/linux-4.4.14/arch/parisc/math-emu/ |
H A D | fpudispatch.c | 176 if (boot_cpu_data.cpu_type == pcxs) parisc_linux_get_fpu_type() 178 else if (boot_cpu_data.cpu_type == pcxt || parisc_linux_get_fpu_type() 179 boot_cpu_data.cpu_type == pcxt_) parisc_linux_get_fpu_type() 181 else if (boot_cpu_data.cpu_type >= pcxu) parisc_linux_get_fpu_type()
|
/linux-4.4.14/drivers/tty/serial/ |
H A D | m32r_sio.c | 141 sbaud = (boot_cpu_data.bus_clock / (baud * 4))-1; sio_set_baud_rate() 185 i = boot_cpu_data.bus_clock / (baud * 16); sio_set_baud_rate() 186 j = (boot_cpu_data.bus_clock - (i * baud * 16)) / baud; sio_set_baud_rate()
|
/linux-4.4.14/arch/mips/kvm/ |
H A D | mips.c | 580 v = boot_cpu_data.fpu_id; kvm_mips_get_reg() 609 v = boot_cpu_data.msa_id; kvm_mips_get_reg() 1097 r = cpu_has_msa && !(boot_cpu_data.msa_id & MSA_IR_WRPF); kvm_vm_ioctl_check_extension()
|
/linux-4.4.14/drivers/parisc/ |
H A D | sba_iommu.c | 1131 if ( ((boot_cpu_data.pdc.cpuid >> 5) & 0x7f) != 0x13 sba_alloc_pdir() 1132 || (boot_cpu_data.pdc.versions > 0x202) sba_alloc_pdir() 1133 || (boot_cpu_data.pdc.capabilities & 0x08L) ) sba_alloc_pdir() 1751 ioc_needs_fdc = boot_cpu_data.pdc.capabilities & PDC_MODEL_IOPDIR_FDC; sba_common_init()
|
H A D | led.c | 472 if (boot_cpu_data.cpu_type >= pcxl2) { led_work_func()
|
H A D | lba_pci.c | 628 if (boot_cpu_data.cpu_type < mako) extend_lmmio_len()
|
/linux-4.4.14/drivers/lguest/x86/ |
H A D | core.c | 611 clear_cpu_cap(&boot_cpu_data, X86_FEATURE_PGE); 622 set_cpu_cap(&boot_cpu_data, X86_FEATURE_PGE); lguest_arch_host_fini()
|
/linux-4.4.14/drivers/powercap/ |
H A D | intel_rapl.c | 1520 boot_cpu_data.x86, boot_cpu_data.x86_model); rapl_init()
|
/linux-4.4.14/drivers/gpu/drm/ttm/ |
H A D | ttm_bo_util.c | 490 else if (boot_cpu_data.x86 > 3) ttm_io_prot()
|
/linux-4.4.14/arch/mips/math-emu/ |
H A D | cp1emu.c | 894 value = boot_cpu_data.fpu_id; cop1_cfc() 926 mask = boot_cpu_data.fpu_msk31; cop1_ctc()
|
/linux-4.4.14/arch/ia64/kernel/ |
H A D | setup.c | 22 * 06/24/99 W.Drummond added boot_cpu_data.
|
/linux-4.4.14/drivers/scsi/ |
H A D | dpt_i2o.c | 60 #include <asm/processor.h> /* for boot_cpu_data */ 1935 switch (boot_cpu_data.x86) { adpt_i386_info()
|
/linux-4.4.14/drivers/net/ethernet/dec/tulip/ |
H A D | winbond-840.c | 898 if (boot_cpu_data.x86 <= 4) { init_registers()
|
/linux-4.4.14/drivers/net/ethernet/ |
H A D | fealnx.c | 872 if (boot_cpu_data.x86 <= 4) netdev_open()
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
H A D | i915_gem.c | 966 & (boot_cpu_data.x86_clflush_size - 1)); i915_gem_shmem_pwrite()
|