Skip to content

Commit 7af7802

Browse files
Kai-Heng Fengrafaeljw
authored andcommitted
cpufreq: amd-pstate: Let user know amd-pstate is disabled
Commit 202e683 ("cpufreq: amd-pstate: add amd-pstate driver parameter for mode selection") changed the driver to be disabled by default, and this can surprise users. Let users know what happened so they can decide what to do next. Link: https://bugs.launchpad.net/bugs/2006942 Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com> Acked-by: Huang Rui <ray.huang@amd.com> Reviewed-by: Yuan Perry <Perry.Yuan@amd.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 6067522 commit 7af7802

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/cpufreq/amd-pstate.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1263,7 +1263,7 @@ static int __init amd_pstate_init(void)
12631263
* with amd_pstate=passive or other modes in kernel command line
12641264
*/
12651265
if (cppc_state == AMD_PSTATE_DISABLE) {
1266-
pr_debug("driver load is disabled, boot with specific mode to enable this\n");
1266+
pr_info("driver load is disabled, boot with specific mode to enable this\n");
12671267
return -ENODEV;
12681268
}
12691269

0 commit comments

Comments
 (0)