@@ -164,7 +164,7 @@ static struct acpi_pptt_cache *acpi_find_cache_level(struct acpi_table_header *t
164164}
165165
166166/**
167- * acpi_count_levels() - Given a PPTT table, and a cpu node, count the caches
167+ * acpi_count_levels() - Given a PPTT table, and a CPU node, count the caches
168168 * @table_hdr: Pointer to the head of the PPTT table
169169 * @cpu_node: processor node we wish to count caches for
170170 *
@@ -235,7 +235,7 @@ static int acpi_pptt_leaf_node(struct acpi_table_header *table_hdr,
235235/**
236236 * acpi_find_processor_node() - Given a PPTT table find the requested processor
237237 * @table_hdr: Pointer to the head of the PPTT table
238- * @acpi_cpu_id: cpu we are searching for
238+ * @acpi_cpu_id: CPU we are searching for
239239 *
240240 * Find the subtable entry describing the provided processor.
241241 * This is done by iterating the PPTT table looking for processor nodes
@@ -456,21 +456,21 @@ static struct acpi_pptt_processor *acpi_find_processor_package_id(struct acpi_ta
456456
457457static void acpi_pptt_warn_missing (void )
458458{
459- pr_warn_once ("No PPTT table found, cpu and cache topology may be inaccurate\n" );
459+ pr_warn_once ("No PPTT table found, CPU and cache topology may be inaccurate\n" );
460460}
461461
462462/**
463463 * topology_get_acpi_cpu_tag() - Find a unique topology value for a feature
464464 * @table: Pointer to the head of the PPTT table
465- * @cpu: Kernel logical cpu number
465+ * @cpu: Kernel logical CPU number
466466 * @level: A level that terminates the search
467467 * @flag: A flag which terminates the search
468468 *
469- * Get a unique value given a cpu , and a topology level, that can be
469+ * Get a unique value given a CPU , and a topology level, that can be
470470 * matched to determine which cpus share common topological features
471471 * at that level.
472472 *
473- * Return: Unique value, or -ENOENT if unable to locate cpu
473+ * Return: Unique value, or -ENOENT if unable to locate CPU
474474 */
475475static int topology_get_acpi_cpu_tag (struct acpi_table_header * table ,
476476 unsigned int cpu , int level , int flag )
@@ -510,7 +510,7 @@ static int find_acpi_cpu_topology_tag(unsigned int cpu, int level, int flag)
510510 return - ENOENT ;
511511 }
512512 retval = topology_get_acpi_cpu_tag (table , cpu , level , flag );
513- pr_debug ("Topology Setup ACPI cpu %d, level %d ret = %d\n" ,
513+ pr_debug ("Topology Setup ACPI CPU %d, level %d ret = %d\n" ,
514514 cpu , level , retval );
515515 acpi_put_table (table );
516516
@@ -519,9 +519,9 @@ static int find_acpi_cpu_topology_tag(unsigned int cpu, int level, int flag)
519519
520520/**
521521 * acpi_find_last_cache_level() - Determines the number of cache levels for a PE
522- * @cpu: Kernel logical cpu number
522+ * @cpu: Kernel logical CPU number
523523 *
524- * Given a logical cpu number, returns the number of levels of cache represented
524+ * Given a logical CPU number, returns the number of levels of cache represented
525525 * in the PPTT. Errors caused by lack of a PPTT table, or otherwise, return 0
526526 * indicating we didn't find any cache levels.
527527 *
@@ -534,7 +534,7 @@ int acpi_find_last_cache_level(unsigned int cpu)
534534 int number_of_levels = 0 ;
535535 acpi_status status ;
536536
537- pr_debug ("Cache Setup find last level cpu =%d\n" , cpu );
537+ pr_debug ("Cache Setup find last level CPU =%d\n" , cpu );
538538
539539 acpi_cpu_id = get_acpi_id_for_cpu (cpu );
540540 status = acpi_get_table (ACPI_SIG_PPTT , 0 , & table );
@@ -551,14 +551,14 @@ int acpi_find_last_cache_level(unsigned int cpu)
551551
552552/**
553553 * cache_setup_acpi() - Override CPU cache topology with data from the PPTT
554- * @cpu: Kernel logical cpu number
554+ * @cpu: Kernel logical CPU number
555555 *
556556 * Updates the global cache info provided by cpu_get_cacheinfo()
557557 * when there are valid properties in the acpi_pptt_cache nodes. A
558558 * successful parse may not result in any updates if none of the
559- * cache levels have any valid flags set. Futher , a unique value is
559+ * cache levels have any valid flags set. Further , a unique value is
560560 * associated with each known CPU cache entry. This unique value
561- * can be used to determine whether caches are shared between cpus .
561+ * can be used to determine whether caches are shared between CPUs .
562562 *
563563 * Return: -ENOENT on failure to find table, or 0 on success
564564 */
@@ -567,7 +567,7 @@ int cache_setup_acpi(unsigned int cpu)
567567 struct acpi_table_header * table ;
568568 acpi_status status ;
569569
570- pr_debug ("Cache Setup ACPI cpu %d\n" , cpu );
570+ pr_debug ("Cache Setup ACPI CPU %d\n" , cpu );
571571
572572 status = acpi_get_table (ACPI_SIG_PPTT , 0 , & table );
573573 if (ACPI_FAILURE (status )) {
@@ -582,8 +582,8 @@ int cache_setup_acpi(unsigned int cpu)
582582}
583583
584584/**
585- * find_acpi_cpu_topology() - Determine a unique topology value for a given cpu
586- * @cpu: Kernel logical cpu number
585+ * find_acpi_cpu_topology() - Determine a unique topology value for a given CPU
586+ * @cpu: Kernel logical CPU number
587587 * @level: The topological level for which we would like a unique ID
588588 *
589589 * Determine a topology unique ID for each thread/core/cluster/mc_grouping
@@ -596,7 +596,7 @@ int cache_setup_acpi(unsigned int cpu)
596596 * other levels beyond this use a generated value to uniquely identify
597597 * a topological feature.
598598 *
599- * Return: -ENOENT if the PPTT doesn't exist, or the cpu cannot be found.
599+ * Return: -ENOENT if the PPTT doesn't exist, or the CPU cannot be found.
600600 * Otherwise returns a value which represents a unique topological feature.
601601 */
602602int find_acpi_cpu_topology (unsigned int cpu , int level )
@@ -606,12 +606,12 @@ int find_acpi_cpu_topology(unsigned int cpu, int level)
606606
607607/**
608608 * find_acpi_cpu_cache_topology() - Determine a unique cache topology value
609- * @cpu: Kernel logical cpu number
609+ * @cpu: Kernel logical CPU number
610610 * @level: The cache level for which we would like a unique ID
611611 *
612612 * Determine a unique ID for each unified cache in the system
613613 *
614- * Return: -ENOENT if the PPTT doesn't exist, or the cpu cannot be found.
614+ * Return: -ENOENT if the PPTT doesn't exist, or the CPU cannot be found.
615615 * Otherwise returns a value which represents a unique topological feature.
616616 */
617617int find_acpi_cpu_cache_topology (unsigned int cpu , int level )
@@ -643,17 +643,17 @@ int find_acpi_cpu_cache_topology(unsigned int cpu, int level)
643643
644644
645645/**
646- * find_acpi_cpu_topology_package() - Determine a unique cpu package value
647- * @cpu: Kernel logical cpu number
646+ * find_acpi_cpu_topology_package() - Determine a unique CPU package value
647+ * @cpu: Kernel logical CPU number
648648 *
649- * Determine a topology unique package ID for the given cpu .
649+ * Determine a topology unique package ID for the given CPU .
650650 * This ID can then be used to group peers, which will have matching ids.
651651 *
652652 * The search terminates when either a level is found with the PHYSICAL_PACKAGE
653653 * flag set or we reach a root node.
654654 *
655- * Return: -ENOENT if the PPTT doesn't exist, or the cpu cannot be found.
656- * Otherwise returns a value which represents the package for this cpu .
655+ * Return: -ENOENT if the PPTT doesn't exist, or the CPU cannot be found.
656+ * Otherwise returns a value which represents the package for this CPU .
657657 */
658658int find_acpi_cpu_topology_package (unsigned int cpu )
659659{
0 commit comments