Skip to contentSkip to conversation

admin-guide: Fixing typos

PATCH Applied Erwan Velu 2 participants 2 messages Jan 9, 2024 – Jan 10, 2024

Subsystems (3)
lore
Share & tools
lore

Erwan Velu

author
#0 lore raw

PATCH 1/2 admin-guide: Fixing typos

This commit fixes two typos in the admin-guide.

- a missing e in "reference_perf".
- the amd_pstate sysfs path uses a dash instead of an underscore.

---
 Documentation/admin-guide/acpi/cppc_sysfs.rst | 2 +-
 Documentation/admin-guide/pm/amd-pstate.rst   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Documentation/admin-guide/acpi/cppc_sysfs.rst +1 -1
index e53d76365aa7..36981c667823 100644
@@ -75,4 +75,4 @@ taking two different snapshots of feedback counters at time T1 and T2.
   delivered_counter_delta = fbc_t2[del] - fbc_t1[del]
   reference_counter_delta = fbc_t2[ref] - fbc_t1[ref]
 
-  delivered_perf = (refernce_perf x delivered_counter_delta) / reference_counter_delta
+  delivered_perf = (reference_perf x delivered_counter_delta) / reference_counter_delta
Documentation/admin-guide/pm/amd-pstate.rst +1 -1
index 1cf40f69278c..9eb26014d34b 100644
@@ -361,7 +361,7 @@ Global Attributes
 
 ``amd-pstate`` exposes several global attributes (files) in ``sysfs`` to
 control its functionality at the system level.  They are located in the
-``/sys/devices/system/cpu/amd-pstate/`` directory and affect all CPUs.
+``/sys/devices/system/cpu/amd_pstate/`` directory and affect all CPUs.
 
 ``status``
 	Operation mode of the driver: "active", "passive" or "disable".
Signature · 1 line
2.43.0
maintainer Applied
#1 lore raw
Quoted 27 lines · Erwan Velu

This commit fixes two typos in the admin-guide.

- a missing e in "reference_perf".
- the amd_pstate sysfs path uses a dash instead of an underscore.

---
 Documentation/admin-guide/acpi/cppc_sysfs.rst | 2 +-
 Documentation/admin-guide/pm/amd-pstate.rst   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Documentation/admin-guide/acpi/cppc_sysfs.rst +1 -1
index e53d76365aa7..36981c667823 100644
@@ -75,4 +75,4 @@ taking two different snapshots of feedback counters at time T1 and T2.
   delivered_counter_delta = fbc_t2[del] - fbc_t1[del]
   reference_counter_delta = fbc_t2[ref] - fbc_t1[ref]
 
-  delivered_perf = (refernce_perf x delivered_counter_delta) / reference_counter_delta
+  delivered_perf = (reference_perf x delivered_counter_delta) / reference_counter_delta
Documentation/admin-guide/pm/amd-pstate.rst +0 -0
index 1cf40f69278c..9eb26014d34b 100644

Documentation/admin-guide/pm/amd-pstate.rst Global Attributes

Quoted 9 lines
Documentation/admin-guide/pm/amd-pstate.rst +1 -2
@@ -361,7 +361,7 @@ Global Attributes
 
 ``amd-pstate`` exposes several global attributes (files) in ``sysfs`` to
 control its functionality at the system level.  They are located in the
-``/sys/devices/system/cpu/amd-pstate/`` directory and affect all CPUs.
+``/sys/devices/system/cpu/amd_pstate/`` directory and affect all CPUs.
 
 ``status``
        Operation mode of the driver: "active", "passive" or "disable".
--

Applied as 6.8-rc1 material with some edits in the subject and changelog.

Thanks!