cpufreq: intel_pstate: Drop boost_iowait flag
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 19 Oct 2016 00:53:26 +0000 (02:53 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 21 Oct 2016 20:13:51 +0000 (22:13 +0200)
commit1d29815ef2d2dd0fb1a62494a9c158c0dc49e2c8
tree17343bf2322882ebef15ca8c2e9861f403164477
parent974f86498ed28d86575cd2327bd83e53abd872da
cpufreq: intel_pstate: Drop boost_iowait flag

The "IOwait boosting" mechanism is only used by the
get_target_pstate_use_cpu_load() governor function and the
boost_iowait flag in pid_params is always set when that function
is in use (and it is never set otherwise).  This means that the
boost_iowait flag is in fact redundant and may be dropped.

For this reason, replace the boost_iowait flag check in
intel_pstate_update_util() with an equivalent check against
pstate_funcs.get_target_pstate and drop that flag.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
drivers/cpufreq/intel_pstate.c