intel_pstate: Take core C0 time into account for core busy calculation
authorDirk Brandewie <dirk.j.brandewie@intel.com>
Mon, 3 Feb 2014 16:55:31 +0000 (08:55 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 4 Feb 2014 20:41:15 +0000 (21:41 +0100)
commitfcb6a15c2e7e76d493e6f91ea889ab40e1c643a4
tree7522e9ed862c6a149df7893a98abb96cd9ec23c4
parent38dbfb59d1175ef458d006556061adeaa8751b72
intel_pstate: Take core C0 time into account for core busy calculation

Take non-idle time into account when calculating core busy time.
This ensures that intel_pstate will notice a decrease in load.

References: https://bugzilla.kernel.org/show_bug.cgi?id=66581
Cc: 3.10+ <stable@vger.kernel.org> # 3.10+
Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c