Documentation: add amd-pstate kernel command line options
authorPerry Yuan <Perry.Yuan@amd.com>
Thu, 17 Nov 2022 07:35:41 +0000 (15:35 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 22 Nov 2022 18:57:15 +0000 (19:57 +0100)
Add a new amd pstate driver command line option to enable driver passive
working mode via MSR and shared memory interface to request desired
performance within abstract scale and the power management firmware
(SMU) convert the perf requests into actual hardware pstates.

Also the `disable` parameter can disable the pstate driver loading by
adding `amd_pstate=disable` to kernel command line.

Acked-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Tested-by: Wyes Karny <wyes.karny@amd.com>
Signed-off-by: Perry Yuan <Perry.Yuan@amd.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Documentation/admin-guide/kernel-parameters.txt

index a465d52..42af9ca 100644 (file)
                                memory, and other data can't be written using
                                xmon commands.
                        off     xmon is disabled.
+
+       amd_pstate=     [X86]
+                       disable
+                         Do not enable amd_pstate as the default
+                         scaling driver for the supported processors
+                       passive
+                         Use amd_pstate as a scaling driver, driver requests a
+                         desired performance on this abstract scale and the power
+                         management firmware translates the requests into actual
+                         hardware states (core frequency, data fabric and memory
+                         clocks etc.)