Skip to content

Commit 7af7802

Browse files
khfengrafaeljw
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 <[email protected]> Acked-by: Huang Rui <[email protected]> Reviewed-by: Yuan Perry <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 6067522 commit 7af7802

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)