]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: intel_pstate: Tweak the EPP sysfs interface
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 27 Aug 2020 12:32:12 +0000 (14:32 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 1 Sep 2020 19:14:06 +0000 (21:14 +0200)
commit06a2a742d5096de0c378df388c8b79804b12988c
tree148f489a6fc50b4292df4ae9a0f0d926d4646e37
parent30bf9e63bbaf3c2034467a217672ea489aa9afd4
cpufreq: intel_pstate: Tweak the EPP sysfs interface

Modify the EPP sysfs interface to reject attempts to change the EPP
to values different from 0 ("performance") in the active mode with
the "performance" policy (ie. scaling_governor set to "performance"),
to avoid situations in which the kernel appears to discard data
passed to it via the EPP sysfs attribute.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Documentation/admin-guide/pm/intel_pstate.rst
drivers/cpufreq/intel_pstate.c