]> git.baikalelectronics.ru Git - kernel.git/commit
intel_pstate: Add tsc collection and keep previous target pstate
authorDoug Smythies <doug.smythies@gmail.com>
Sun, 12 Apr 2015 04:10:26 +0000 (21:10 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 4 May 2015 23:08:54 +0000 (01:08 +0200)
commit9c12bb32651e02cc18e35e57f15fbef993b976a0
tree7774e7a9aacc88c229c7d3873c7a0915c3087c0c
parent8dfdc7b69b0552f7585dd4226ac12dc4618b4056
intel_pstate: Add tsc collection and keep previous target pstate

The intel_pstate driver is difficult to debug and investigate without tsc.

Also, it is likely use of tsc, and some version of C0 percentage,
will be re-introdcued in futute.

There have also been occasions where it is desirebale to know, and
confirm, the previous target pstate.

This patch brings back tsc, adds previous target pstate,
and adds both to the trace data collection.

Signed-off-by: Doug Smythies <dsmythies@telus.net>
Acked-by: Kristen Carlson Accardi <kristen@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c
include/trace/events/power.h