diff options
Diffstat (limited to 'drivers/cpufreq/intel_pstate.c')
-rw-r--r-- | drivers/cpufreq/intel_pstate.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c index 93a3c635ea27..2e31d097def6 100644 --- a/drivers/cpufreq/intel_pstate.c +++ b/drivers/cpufreq/intel_pstate.c | |||
@@ -684,8 +684,6 @@ static void __init intel_pstate_sysfs_expose_params(void) | |||
684 | 684 | ||
685 | static void intel_pstate_hwp_enable(struct cpudata *cpudata) | 685 | static void intel_pstate_hwp_enable(struct cpudata *cpudata) |
686 | { | 686 | { |
687 | pr_info("intel_pstate: HWP enabled\n"); | ||
688 | |||
689 | wrmsrl_on_cpu(cpudata->cpu, MSR_PM_ENABLE, 0x1); | 687 | wrmsrl_on_cpu(cpudata->cpu, MSR_PM_ENABLE, 0x1); |
690 | } | 688 | } |
691 | 689 | ||
@@ -1557,8 +1555,10 @@ static int __init intel_pstate_init(void) | |||
1557 | if (!all_cpu_data) | 1555 | if (!all_cpu_data) |
1558 | return -ENOMEM; | 1556 | return -ENOMEM; |
1559 | 1557 | ||
1560 | if (static_cpu_has_safe(X86_FEATURE_HWP) && !no_hwp) | 1558 | if (static_cpu_has_safe(X86_FEATURE_HWP) && !no_hwp) { |
1559 | pr_info("intel_pstate: HWP enabled\n"); | ||
1561 | hwp_active++; | 1560 | hwp_active++; |
1561 | } | ||
1562 | 1562 | ||
1563 | if (!hwp_active && hwp_only) | 1563 | if (!hwp_active && hwp_only) |
1564 | goto out; | 1564 | goto out; |
@@ -1593,8 +1593,10 @@ static int __init intel_pstate_setup(char *str) | |||
1593 | 1593 | ||
1594 | if (!strcmp(str, "disable")) | 1594 | if (!strcmp(str, "disable")) |
1595 | no_load = 1; | 1595 | no_load = 1; |
1596 | if (!strcmp(str, "no_hwp")) | 1596 | if (!strcmp(str, "no_hwp")) { |
1597 | pr_info("intel_pstate: HWP disabled\n"); | ||
1597 | no_hwp = 1; | 1598 | no_hwp = 1; |
1599 | } | ||
1598 | if (!strcmp(str, "force")) | 1600 | if (!strcmp(str, "force")) |
1599 | force_load = 1; | 1601 | force_load = 1; |
1600 | if (!strcmp(str, "hwp_only")) | 1602 | if (!strcmp(str, "hwp_only")) |