@@ -48,7 +48,7 @@ static inline bool bitmask_all(uint32_t bitfield, uint32_t mask) {
48
48
* @param usable_processors - number of processors in the @p processors array with CPUINFO_LINUX_FLAG_VALID flags.
49
49
* @param max_processors - number of elements in the @p processors array.
50
50
* @param[in,out] processors - processor descriptors with pre-parsed POSSIBLE and PRESENT flags, minimum/maximum
51
- * frequency, MIDR infromation , and core cluster (package siblings list) information.
51
+ * frequency, MIDR information , and core cluster (package siblings list) information.
52
52
*
53
53
* @retval true if the heuristic successfully assigned all processors into clusters of cores.
54
54
* @retval false if known details about processors contradict the heuristic configuration of core clusters.
@@ -292,9 +292,9 @@ bool cpuinfo_arm_linux_detect_core_clusters_by_heuristic(
292
292
* - Processors assigned to these clusters stay assigned to the same clusters
293
293
* - No new processors are added to these clusters
294
294
* - Processors without pre-assigned cluster are clustered in one sequential scan:
295
- * - If known details (min/max frequency, MIDR components) of a processor are compatible with a preceeding
296
- * processor, without pre-assigned cluster, the processor is assigned to the cluster of the preceeding processor.
297
- * - If known details (min/max frequency, MIDR components) of a processor are not compatible with a preceeding
295
+ * - If known details (min/max frequency, MIDR components) of a processor are compatible with a preceding
296
+ * processor, without pre-assigned cluster, the processor is assigned to the cluster of the preceding processor.
297
+ * - If known details (min/max frequency, MIDR components) of a processor are not compatible with a preceding
298
298
* processor, the processor is assigned to a newly created cluster.
299
299
*
300
300
* The function must be called after parsing OS-provided information on core clusters, and usually is called only
@@ -309,7 +309,7 @@ bool cpuinfo_arm_linux_detect_core_clusters_by_heuristic(
309
309
*
310
310
* @param max_processors - number of elements in the @p processors array.
311
311
* @param[in,out] processors - processor descriptors with pre-parsed POSSIBLE and PRESENT flags, minimum/maximum
312
- * frequency, MIDR infromation , and core cluster (package siblings list) information.
312
+ * frequency, MIDR information , and core cluster (package siblings list) information.
313
313
*
314
314
* @retval true if the heuristic successfully assigned all processors into clusters of cores.
315
315
* @retval false if known details about processors contradict the heuristic configuration of core clusters.
@@ -331,7 +331,7 @@ void cpuinfo_arm_linux_detect_core_clusters_by_sequential_scan(
331
331
if (cluster_flags & CPUINFO_LINUX_FLAG_MIN_FREQUENCY ) {
332
332
if (cluster_min_frequency != processors [i ].min_frequency ) {
333
333
cpuinfo_log_info (
334
- "minimum frequency of processor %" PRIu32 " (%" PRIu32 " KHz) is different than of preceeding cluster (%" PRIu32 " KHz); "
334
+ "minimum frequency of processor %" PRIu32 " (%" PRIu32 " KHz) is different than of preceding cluster (%" PRIu32 " KHz); "
335
335
"processor %" PRIu32 " starts to a new cluster" ,
336
336
i , processors [i ].min_frequency , cluster_min_frequency , i );
337
337
goto new_cluster ;
@@ -346,7 +346,7 @@ void cpuinfo_arm_linux_detect_core_clusters_by_sequential_scan(
346
346
if (cluster_flags & CPUINFO_LINUX_FLAG_MAX_FREQUENCY ) {
347
347
if (cluster_max_frequency != processors [i ].max_frequency ) {
348
348
cpuinfo_log_debug (
349
- "maximum frequency of processor %" PRIu32 " (%" PRIu32 " KHz) is different than of preceeding cluster (%" PRIu32 " KHz); "
349
+ "maximum frequency of processor %" PRIu32 " (%" PRIu32 " KHz) is different than of preceding cluster (%" PRIu32 " KHz); "
350
350
"processor %" PRIu32 " starts a new cluster" ,
351
351
i , processors [i ].max_frequency , cluster_max_frequency , i );
352
352
goto new_cluster ;
@@ -361,7 +361,7 @@ void cpuinfo_arm_linux_detect_core_clusters_by_sequential_scan(
361
361
if (cluster_flags & CPUINFO_ARM_LINUX_VALID_IMPLEMENTER ) {
362
362
if ((cluster_midr & CPUINFO_ARM_MIDR_IMPLEMENTER_MASK ) != (processors [i ].midr & CPUINFO_ARM_MIDR_IMPLEMENTER_MASK )) {
363
363
cpuinfo_log_debug (
364
- "CPU Implementer of processor %" PRIu32 " (0x%02" PRIx32 ") is different than of preceeding cluster (0x%02" PRIx32 "); "
364
+ "CPU Implementer of processor %" PRIu32 " (0x%02" PRIx32 ") is different than of preceding cluster (0x%02" PRIx32 "); "
365
365
"processor %" PRIu32 " starts to a new cluster" ,
366
366
i , midr_get_implementer (processors [i ].midr ), midr_get_implementer (cluster_midr ), i );
367
367
goto new_cluster ;
@@ -417,11 +417,11 @@ void cpuinfo_arm_linux_detect_core_clusters_by_sequential_scan(
417
417
}
418
418
}
419
419
420
- /* All checks passed, attach processor to the preceeding cluster */
420
+ /* All checks passed, attach processor to the preceding cluster */
421
421
cluster_processors ++ ;
422
422
processors [i ].package_leader_id = cluster_start ;
423
423
processors [i ].flags |= CPUINFO_LINUX_FLAG_PACKAGE_CLUSTER ;
424
- cpuinfo_log_debug ("assigned processor %" PRIu32 " to preceeding cluster of processor %" PRIu32 , i , cluster_start );
424
+ cpuinfo_log_debug ("assigned processor %" PRIu32 " to preceding cluster of processor %" PRIu32 , i , cluster_start );
425
425
continue ;
426
426
427
427
new_cluster :
0 commit comments