Lines Matching +full:0 +full:m
22 * No lock; only written during early bootup by CPU 0.
36 static int show_cpuinfo(struct seq_file *m, void *v) in show_cpuinfo() argument
47 return 0; in show_cpuinfo()
53 if (n == 0) { in show_cpuinfo()
54 seq_printf(m, "system type\t\t: %s\n", get_system_type()); in show_cpuinfo()
56 seq_printf(m, "machine\t\t\t: %s\n", in show_cpuinfo()
60 seq_printf(m, "processor\t\t: %ld\n", n); in show_cpuinfo()
63 seq_printf(m, fmt, __cpu_name[n], in show_cpuinfo()
64 (version >> 4) & 0x0f, version & 0x0f, in show_cpuinfo()
65 (fp_vers >> 4) & 0x0f, fp_vers & 0x0f); in show_cpuinfo()
66 seq_printf(m, "BogoMIPS\t\t: %u.%02u\n", in show_cpuinfo()
69 seq_printf(m, "wait instruction\t: %s\n", cpu_wait ? "yes" : "no"); in show_cpuinfo()
70 seq_printf(m, "microsecond timers\t: %s\n", in show_cpuinfo()
72 seq_printf(m, "tlb_entries\t\t: %d\n", cpu_data[n].tlbsize); in show_cpuinfo()
73 seq_printf(m, "extra interrupt vector\t: %s\n", in show_cpuinfo()
75 seq_printf(m, "hardware watchpoint\t: %s", in show_cpuinfo()
78 seq_printf(m, "count: %d, address/irw mask: [", in show_cpuinfo()
80 for (i = 0; i < cpu_data[n].watch_reg_count; i++) in show_cpuinfo()
81 seq_printf(m, "%s0x%04x", i ? ", " : "", in show_cpuinfo()
83 seq_puts(m, "]\n"); in show_cpuinfo()
86 seq_puts(m, "isa\t\t\t:"); in show_cpuinfo()
88 seq_puts(m, " mips1"); in show_cpuinfo()
90 seq_puts(m, " mips2"); in show_cpuinfo()
92 seq_puts(m, " mips3"); in show_cpuinfo()
94 seq_puts(m, " mips4"); in show_cpuinfo()
96 seq_puts(m, " mips5"); in show_cpuinfo()
98 seq_puts(m, " mips32r1"); in show_cpuinfo()
100 seq_puts(m, " mips32r2"); in show_cpuinfo()
102 seq_puts(m, " mips32r5"); in show_cpuinfo()
104 seq_puts(m, " mips32r6"); in show_cpuinfo()
106 seq_puts(m, " mips64r1"); in show_cpuinfo()
108 seq_puts(m, " mips64r2"); in show_cpuinfo()
110 seq_puts(m, " mips64r5"); in show_cpuinfo()
112 seq_puts(m, " mips64r6"); in show_cpuinfo()
113 seq_puts(m, "\n"); in show_cpuinfo()
115 seq_puts(m, "ASEs implemented\t:"); in show_cpuinfo()
117 seq_puts(m, " mips16"); in show_cpuinfo()
119 seq_puts(m, " mips16e2"); in show_cpuinfo()
121 seq_puts(m, " mdmx"); in show_cpuinfo()
123 seq_puts(m, " mips3d"); in show_cpuinfo()
125 seq_puts(m, " smartmips"); in show_cpuinfo()
127 seq_puts(m, " dsp"); in show_cpuinfo()
129 seq_puts(m, " dsp2"); in show_cpuinfo()
131 seq_puts(m, " dsp3"); in show_cpuinfo()
133 seq_puts(m, " mt"); in show_cpuinfo()
135 seq_puts(m, " micromips"); in show_cpuinfo()
137 seq_puts(m, " vz"); in show_cpuinfo()
139 seq_puts(m, " msa"); in show_cpuinfo()
141 seq_puts(m, " eva"); in show_cpuinfo()
143 seq_puts(m, " htw"); in show_cpuinfo()
145 seq_puts(m, " xpa"); in show_cpuinfo()
147 seq_puts(m, " loongson-mmi"); in show_cpuinfo()
149 seq_puts(m, " loongson-cam"); in show_cpuinfo()
151 seq_puts(m, " loongson-ext"); in show_cpuinfo()
153 seq_puts(m, " loongson-ext2"); in show_cpuinfo()
154 seq_puts(m, "\n"); in show_cpuinfo()
157 seq_printf(m, "micromips kernel\t: %s\n", in show_cpuinfo()
161 seq_puts(m, "Options implemented\t:"); in show_cpuinfo()
163 seq_puts(m, " tlb"); in show_cpuinfo()
165 seq_puts(m, " ftlb"); in show_cpuinfo()
167 seq_puts(m, " tlbinv"); in show_cpuinfo()
169 seq_puts(m, " segments"); in show_cpuinfo()
171 seq_puts(m, " rixiex"); in show_cpuinfo()
173 seq_puts(m, " ldpte"); in show_cpuinfo()
175 seq_puts(m, " maar"); in show_cpuinfo()
177 seq_puts(m, " rw_llb"); in show_cpuinfo()
179 seq_puts(m, " 4kex"); in show_cpuinfo()
181 seq_puts(m, " 3k_cache"); in show_cpuinfo()
183 seq_puts(m, " 4k_cache"); in show_cpuinfo()
185 seq_puts(m, " octeon_cache"); in show_cpuinfo()
187 seq_puts(m, " fpu"); in show_cpuinfo()
189 seq_puts(m, " 32fpr"); in show_cpuinfo()
191 seq_puts(m, " cache_cdex_p"); in show_cpuinfo()
193 seq_puts(m, " cache_cdex_s"); in show_cpuinfo()
195 seq_puts(m, " prefetch"); in show_cpuinfo()
197 seq_puts(m, " mcheck"); in show_cpuinfo()
199 seq_puts(m, " ejtag"); in show_cpuinfo()
201 seq_puts(m, " llsc"); in show_cpuinfo()
203 seq_puts(m, " guestctl0ext"); in show_cpuinfo()
205 seq_puts(m, " guestctl1"); in show_cpuinfo()
207 seq_puts(m, " guestctl2"); in show_cpuinfo()
209 seq_puts(m, " guestid"); in show_cpuinfo()
211 seq_puts(m, " drg"); in show_cpuinfo()
213 seq_puts(m, " rixi"); in show_cpuinfo()
215 seq_puts(m, " lpa"); in show_cpuinfo()
217 seq_puts(m, " mvh"); in show_cpuinfo()
219 seq_puts(m, " vtag_icache"); in show_cpuinfo()
221 seq_puts(m, " dc_aliases"); in show_cpuinfo()
223 seq_puts(m, " ic_fills_f_dc"); in show_cpuinfo()
225 seq_puts(m, " pindexed_dcache"); in show_cpuinfo()
227 seq_puts(m, " userlocal"); in show_cpuinfo()
229 seq_puts(m, " nofpuex"); in show_cpuinfo()
231 seq_puts(m, " vint"); in show_cpuinfo()
233 seq_puts(m, " veic"); in show_cpuinfo()
235 seq_puts(m, " inclusive_pcaches"); in show_cpuinfo()
237 seq_puts(m, " perf_cntr_intr_bit"); in show_cpuinfo()
239 seq_puts(m, " ufr"); in show_cpuinfo()
241 seq_puts(m, " fre"); in show_cpuinfo()
243 seq_puts(m, " cdmm"); in show_cpuinfo()
245 seq_puts(m, " small_pages"); in show_cpuinfo()
247 seq_puts(m, " nan_legacy"); in show_cpuinfo()
249 seq_puts(m, " nan_2008"); in show_cpuinfo()
251 seq_puts(m, " ebase_wg"); in show_cpuinfo()
253 seq_puts(m, " badinstr"); in show_cpuinfo()
255 seq_puts(m, " badinstrp"); in show_cpuinfo()
257 seq_puts(m, " contextconfig"); in show_cpuinfo()
259 seq_puts(m, " perf"); in show_cpuinfo()
261 seq_puts(m, " mac2008_only"); in show_cpuinfo()
263 seq_puts(m, " ftlbparex"); in show_cpuinfo()
265 seq_puts(m, " gsexcex"); in show_cpuinfo()
267 seq_puts(m, " shared_ftlb_ram"); in show_cpuinfo()
269 seq_puts(m, " shared_ftlb_entries"); in show_cpuinfo()
271 seq_puts(m, " mipsmt_pertccounters"); in show_cpuinfo()
273 seq_puts(m, " mmid"); in show_cpuinfo()
275 seq_puts(m, " mm_sysad"); in show_cpuinfo()
277 seq_puts(m, " mm_full"); in show_cpuinfo()
278 seq_puts(m, "\n"); in show_cpuinfo()
280 seq_printf(m, "shadow register sets\t: %d\n", in show_cpuinfo()
282 seq_printf(m, "kscratch registers\t: %d\n", in show_cpuinfo()
284 seq_printf(m, "package\t\t\t: %d\n", cpu_data[n].package); in show_cpuinfo()
285 seq_printf(m, "core\t\t\t: %d\n", cpu_core(&cpu_data[n])); in show_cpuinfo()
289 seq_printf(m, "VPE\t\t\t: %d\n", cpu_vpe_id(&cpu_data[n])); in show_cpuinfo()
291 seq_printf(m, "VP\t\t\t: %d\n", cpu_vpe_id(&cpu_data[n])); in show_cpuinfo()
296 seq_printf(m, fmt, 'D', vced_count); in show_cpuinfo()
297 seq_printf(m, fmt, 'I', vcei_count); in show_cpuinfo()
299 proc_cpuinfo_notifier_args.m = m; in show_cpuinfo()
302 raw_notifier_call_chain(&proc_cpuinfo_chain, 0, in show_cpuinfo()
305 seq_puts(m, "\n"); in show_cpuinfo()
307 return 0; in show_cpuinfo()
310 static void *c_start(struct seq_file *m, loff_t *pos) in c_start() argument
317 static void *c_next(struct seq_file *m, void *v, loff_t *pos) in c_next() argument
320 return c_start(m, pos); in c_next()
323 static void c_stop(struct seq_file *m, void *v) in c_stop() argument