]> git.baikalelectronics.ru Git - kernel.git/commit
intel_pstate: Improve initial busy calculation
authorDoug Smythies <dsmythies@telus.net>
Fri, 30 May 2014 17:10:57 +0000 (10:10 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 2 Jun 2014 10:46:01 +0000 (12:46 +0200)
commit81550cb77d0e50ffd517a93aece0eab65b383a48
tree67c29987588de6d24200039ac1574f8af9c6a301
parent6a0ee41856ad42882acd839fc136ac588e399dca
intel_pstate: Improve initial busy calculation

This change makes the busy calculation using 64 bit math which prevents
overflow for large values of aperf/mperf.

Cc: 3.14+ <stable@vger.kernel.org> # 3.14+
Signed-off-by: Doug Smythies <dsmythies@telus.net>
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