diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-11-06 19:30:49 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-11-06 19:30:49 -0500 |
commit | 1f47b0ddf3ebebe632b96b29a0033505d5adfe8b (patch) | |
tree | a53aa919666ceadd49c4b7e76c22b234338421fa /drivers/cpufreq/intel_pstate.c | |
parent | 1ede53f73171722fcf1b5be63bcd64e42d14affc (diff) | |
parent | d7e53e35f9f54cdfa09a8456ae8e9874ec66bb36 (diff) |
Merge branch 'pm-cpufreq'
* pm-cpufreq:
cpufreq: s5pv210-cpufreq: fix wrong do_div() usage
MAINTAINERS: update for intel P-state driver
cpufreq: governor: Quit work-handlers early if governor is stopped
intel_pstate: decrease number of "HWP enabled" messages
cpufreq: arm_big_little: fix frequency check when bL switcher is active
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")) |