Skip to contentSkip to conversation

doc/power: library can now use intel-pstate

PATCH In review David Hunt 3 participants 5 messages Jan 15, 2019 – Jan 20, 2019

lore
Share & tools
lore

David Hunt

author
#0 lore raw

PATCH 1/2 doc/power: library can now use intel-pstate

With the addition of the patchset to allow auto-detection and use of the intel_pstate kernel driver instead of the acpi-cpufreq kernel driver, we need to reflect this in the documentation.

Now, instead of telling the user to disable intel_pstate in all cases, it is now an optional step, should the user want to use acpi-cpufreq.

---
 doc/guides/sample_app_ug/vm_power_management.rst | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)
doc/guides/sample_app_ug/vm_power_management.rst +9 -4
index 5be9f24d5..14d432e78 100644
@@ -131,10 +131,15 @@ can be accessed.
 Host Operating System
 ~~~~~~~~~~~~~~~~~~~~~
 
-The Host OS must also have the *apci_cpufreq* module installed, in some cases
-the *intel_pstate* driver may be the default Power Management environment.
-To enable *acpi_cpufreq* and disable *intel_pstate*, add the following
-to the grub Linux command line:
+The DPDK Power Library can use either the *acpi_cpufreq* or *intel_pstate*
+kernel driver for the management of core frequencies. In many cases
+the *intel_pstate* driver is the default Power Management environment.
+
+Should the *acpi-cpufreq* driver be required, the *intel_pstate* module must
+be disabled, and *apci_cpufreq* module loaded in its place.
+
+To disable *intel_pstate* driver, add the following to the grub Linux
+command line:
 
 .. code-block:: console
 
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 2/2 doc/power: update release note for intel-pstate

Add release note update for 19.02 for intel_pstate support to Power Management library

---
 doc/guides/rel_notes/release_19_02.rst | 8 ++++++++
 1 file changed, 8 insertions(+)
doc/guides/rel_notes/release_19_02.rst +8 -0
index 5a2f62ca9..57c595bba 100644
@@ -147,6 +147,14 @@ New Features
   Added a new performance test tool to test the compressdev PMD. The tool tests
   compression ratio and compression throughput.
 
+* **Added intel_pstate support to Power Management library.**
+
+  Previously, using the power management library required the
+  disabling of the intel_pstate kernel driver, and the enabling of the
+  acpi_cpufreq kernel driver. This is no longer the case, as the use of
+  the intel_pstate kernel driver is now supported, and automatically
+  detected by the library.
+
 
 Removed Items
 -------------
Signature · 1 line
2.17.1
#4 lore raw
In reply to David Hunt

15/01/2019 15:17, David Hunt:

Quoted 8 lines

With the addition of the patchset to allow auto-detection and use of the intel_pstate kernel driver instead of the acpi-cpufreq kernel driver, we need to reflect this in the documentation.

Now, instead of telling the user to disable intel_pstate in all cases, it is now an optional step, should the user want to use acpi-cpufreq.

Applied with release notes squashed, thanks