Lines Matching full:processor

26 		cpuinfo_log_warning("Processor number in /proc/cpuinfo is ignored: string is empty");  in parse_processor_number()
34 cpuinfo_log_warning("non-decimal suffix %.*s in /proc/cpuinfo processor number is ignored", in parse_processor_number()
103 struct cpuinfo_arm_linux_processor processor[restrict static 1]) in parse_features()
109 processor->flags |= CPUINFO_ARM_LINUX_VALID_FEATURES | CPUINFO_ARM_LINUX_VALID_PROCESSOR; in parse_features()
124 processor->features |= CPUINFO_ARM_LINUX_FEATURE_FP; in parse_features()
132 processor->features |= CPUINFO_ARM_LINUX_FEATURE_SWP; in parse_features()
141 processor->features2 |= CPUINFO_ARM_LINUX_FEATURE2_AES; in parse_features()
143 processor->features |= CPUINFO_ARM_LINUX_FEATURE_AES; in parse_features()
147 processor->features |= CPUINFO_ARM_LINUX_FEATURE_SWP; in parse_features()
149 processor->features |= CPUINFO_ARM_LINUX_FEATURE_FPA; in parse_features()
151 processor->features |= CPUINFO_ARM_LINUX_FEATURE_VFP; in parse_features()
153 processor->features |= CPUINFO_ARM_LINUX_FEATURE_TLS; in parse_features()
162 processor->features2 |= CPUINFO_ARM_LINUX_FEATURE2_SHA1; in parse_features()
164 processor->features |= CPUINFO_ARM_LINUX_FEATURE_SHA1; in parse_features()
168 processor->features2 |= CPUINFO_ARM_LINUX_FEATURE2_SHA2; in parse_features()
170 processor->features |= CPUINFO_ARM_LINUX_FEATURE_SHA2; in parse_features()
174 processor->features |= CPUINFO_ARM_LINUX_FEATURE_FPHP; in parse_features()
178 processor->features |= CPUINFO_ARM_LINUX_FEATURE_FCMA; in parse_features()
182 processor->features |= CPUINFO_ARM_LINUX_FEATURE_HALF; in parse_features()
184 processor->features |= CPUINFO_ARM_LINUX_FEATURE_EDSP; in parse_features()
186 processor->features |= CPUINFO_ARM_LINUX_FEATURE_JAVA; in parse_features()
188 processor->features |= CPUINFO_ARM_LINUX_FEATURE_NEON; in parse_features()
190 processor->features |= CPUINFO_ARM_LINUX_FEATURE_LPAE; in parse_features()
196 processor->features |= CPUINFO_ARM_LINUX_FEATURE_TLS; in parse_features()
205 processor->features2 |= CPUINFO_ARM_LINUX_FEATURE2_PMULL; in parse_features()
207 processor->features |= CPUINFO_ARM_LINUX_FEATURE_PMULL; in parse_features()
211 processor->features2 |= CPUINFO_ARM_LINUX_FEATURE2_CRC32; in parse_features()
213 processor->features |= CPUINFO_ARM_LINUX_FEATURE_CRC32; in parse_features()
217 processor->features |= CPUINFO_ARM_LINUX_FEATURE_ASIMD; in parse_features()
221 processor->features |= CPUINFO_ARM_LINUX_FEATURE_CPUID; in parse_features()
225 processor->features |= CPUINFO_ARM_LINUX_FEATURE_JSCVT; in parse_features()
229 processor->features |= CPUINFO_ARM_LINUX_FEATURE_LRCPC; in parse_features()
233 processor->features |= CPUINFO_ARM_LINUX_FEATURE_THUMB; in parse_features()
235 processor->features |= CPUINFO_ARM_LINUX_FEATURE_26BIT; in parse_features()
237 processor->features |= CPUINFO_ARM_LINUX_FEATURE_VFPV3; in parse_features()
239 processor->features |= CPUINFO_ARM_LINUX_FEATURE_VFPV4; in parse_features()
241 processor->features |= CPUINFO_ARM_LINUX_FEATURE_IDIVA; in parse_features()
243 processor->features |= CPUINFO_ARM_LINUX_FEATURE_IDIVT; in parse_features()
252 processor->features |= CPUINFO_ARM_LINUX_FEATURE_IWMMXT; in parse_features()
254 processor->features |= CPUINFO_ARM_LINUX_FEATURE_CRUNCH; in parse_features()
256 processor->features |= CPUINFO_ARM_LINUX_FEATURE_VFPD32; in parse_features()
264 processor->features |= CPUINFO_ARM_LINUX_FEATURE_EVTSTRM; in parse_features()
267 processor->features |= CPUINFO_ARM_LINUX_FEATURE_ATOMICS; in parse_features()
271 processor->features |= CPUINFO_ARM_LINUX_FEATURE_ASIMDHP; in parse_features()
275 processor->features |= CPUINFO_ARM_LINUX_FEATURE_THUMBEE; in parse_features()
284 processor->features |= CPUINFO_ARM_LINUX_FEATURE_ASIMDRDM; in parse_features()
288 processor->features |= CPUINFO_ARM_LINUX_FEATURE_FASTMULT; in parse_features()
290 processor->features |= CPUINFO_ARM_LINUX_FEATURE_VFPV3D16; in parse_features()
314 struct cpuinfo_arm_linux_processor processor[restrict static 1]) in parse_cpu_architecture()
320 processor->midr = midr_set_architecture(processor->midr, UINT32_C(0xF)); in parse_cpu_architecture()
321 processor->architecture_version = 8; in parse_cpu_architecture()
322 processor->flags |= CPUINFO_ARM_LINUX_VALID_ARCHITECTURE | CPUINFO_ARM_LINUX_VALID_PROCESSOR; in parse_cpu_architecture()
346 processor->architecture_version = architecture; in parse_cpu_architecture()
347 processor->flags |= CPUINFO_ARM_LINUX_VALID_ARCHITECTURE | CPUINFO_ARM_LINUX_VALID_PROCESSOR; in parse_cpu_architecture()
354 processor->architecture_flags |= CPUINFO_ARM_LINUX_ARCH_T; in parse_cpu_architecture()
357 processor->architecture_flags |= CPUINFO_ARM_LINUX_ARCH_E; in parse_cpu_architecture()
360 processor->architecture_flags |= CPUINFO_ARM_LINUX_ARCH_J; in parse_cpu_architecture()
381 switch (processor->architecture_version) { in parse_cpu_architecture()
386 if ((processor->architecture_flags & CPUINFO_ARM_LINUX_ARCH_TEJ) == CPUINFO_ARM_LINUX_ARCH_TEJ) { in parse_cpu_architecture()
388 …} else if ((processor->architecture_flags & CPUINFO_ARM_LINUX_ARCH_TE) == CPUINFO_ARM_LINUX_ARCH_T… in parse_cpu_architecture()
396 processor->midr = midr_set_architecture(processor->midr, midr_architecture); in parse_cpu_architecture()
402 struct cpuinfo_arm_linux_processor processor[restrict static 1]) in parse_cpu_part()
445 processor->midr = midr_set_part(processor->midr, cpu_part); in parse_cpu_part()
446 processor->flags |= CPUINFO_ARM_LINUX_VALID_PART | CPUINFO_ARM_LINUX_VALID_PROCESSOR; in parse_cpu_part()
452 struct cpuinfo_arm_linux_processor processor[restrict static 1]) in parse_cpu_implementer()
499 processor->midr = midr_set_implementer(processor->midr, cpu_implementer); in parse_cpu_implementer()
500 processor->flags |= CPUINFO_ARM_LINUX_VALID_IMPLEMENTER | CPUINFO_ARM_LINUX_VALID_PROCESSOR; in parse_cpu_implementer()
506 struct cpuinfo_arm_linux_processor processor[restrict static 1]) in parse_cpu_variant()
543 processor->midr = midr_set_variant(processor->midr, cpu_variant); in parse_cpu_variant()
544 processor->flags |= CPUINFO_ARM_LINUX_VALID_VARIANT | CPUINFO_ARM_LINUX_VALID_PROCESSOR; in parse_cpu_variant()
550 struct cpuinfo_arm_linux_processor processor[restrict static 1]) in parse_cpu_revision()
567 processor->midr = midr_set_revision(processor->midr, cpu_revision); in parse_cpu_revision()
568 processor->flags |= CPUINFO_ARM_LINUX_VALID_REVISION | CPUINFO_ARM_LINUX_VALID_PROCESSOR; in parse_cpu_revision()
646 * Processor : ARMv7 Processor rev 10 (v7l)
647 * processor : 0
650 * processor : 1
728 struct cpuinfo_arm_linux_processor* processor = &state->dummy_processor; in parse_line() local
730 processor = &processors[processor_index]; in parse_line()
741 "instruction cache size", &processor->proc_cpuinfo_cache.i_size, in parse_line()
742 &processor->flags, CPUINFO_ARM_LINUX_VALID_ICACHE_SIZE); in parse_line()
745 "instruction cache sets", &processor->proc_cpuinfo_cache.i_sets, in parse_line()
746 &processor->flags, CPUINFO_ARM_LINUX_VALID_ICACHE_SETS); in parse_line()
749 "data cache size", &processor->proc_cpuinfo_cache.d_size, in parse_line()
750 &processor->flags, CPUINFO_ARM_LINUX_VALID_DCACHE_SIZE); in parse_line()
753 "data cache sets", &processor->proc_cpuinfo_cache.d_sets, in parse_line()
754 &processor->flags, CPUINFO_ARM_LINUX_VALID_DCACHE_SETS); in parse_line()
764 "instruction cache associativity", &processor->proc_cpuinfo_cache.i_assoc, in parse_line()
765 &processor->flags, CPUINFO_ARM_LINUX_VALID_ICACHE_WAYS); in parse_line()
768 "data cache associativity", &processor->proc_cpuinfo_cache.d_assoc, in parse_line()
769 &processor->flags, CPUINFO_ARM_LINUX_VALID_DCACHE_WAYS); in parse_line()
777 parse_cpu_part(value_start, value_end, processor); in parse_line()
779 parse_features(value_start, value_end, processor); in parse_line()
811 if (memcmp(line_start, "processor", key_length) == 0) { in parse_line()
814 /* Strange: decreasing processor number */ in parse_line()
816 "unexpectedly low processor number %"PRIu32" following processor %"PRIu32" in /proc/cpuinfo", in parse_line()
819 /* Strange, but common: skipped processor $(processor_index + 1) */ in parse_line()
821 "unexpectedly high processor number %"PRIu32" following processor %"PRIu32" in /proc/cpuinfo", in parse_line()
825 /* Record that the processor was mentioned in /proc/cpuinfo */ in parse_line()
828 /* Log and ignore processor */ in parse_line()
829 …cpuinfo_log_warning("processor %"PRIu32" in /proc/cpuinfo is ignored: index exceeds system limit %… in parse_line()
834 } else if (memcmp(line_start, "Processor", key_length) == 0) { in parse_line()
842 parse_cpu_variant(value_start, value_end, processor); in parse_line()
849 parse_cpu_revision(value_start, value_end, processor); in parse_line()
858 "instruction cache line size", &processor->proc_cpuinfo_cache.i_line_length, in parse_line()
859 &processor->flags, CPUINFO_ARM_LINUX_VALID_ICACHE_LINE); in parse_line()
862 "data cache line size", &processor->proc_cpuinfo_cache.d_line_length, in parse_line()
863 &processor->flags, CPUINFO_ARM_LINUX_VALID_DCACHE_LINE); in parse_line()
871 parse_cpu_implementer(value_start, value_end, processor); in parse_line()
873 parse_cpu_implementer(value_start, value_end, processor); in parse_line()
880 parse_cpu_architecture(value_start, value_end, processor); in parse_line()