]> git.baikalelectronics.ru Git - kernel.git/commit
powercap / RAPL: Floor frequency setting in Atom SoC
authorAjay Thomas <ajay.thomas.david.rajamanickam@intel.com>
Wed, 29 Apr 2015 20:13:23 +0000 (01:43 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 4 May 2015 22:51:22 +0000 (00:51 +0200)
commit8ad5e16078c9a9e0db68d04b81830cb5f68f975d
treef4d76d9e8209b08b1b46c432ba3957355ef242fb
parentcbecea48e1bc97dfc3f239ef42ed5094663b5822
powercap / RAPL: Floor frequency setting in Atom SoC

CPU Floor frequency is set in BIOS for newer Atom
SoCs. This patch handles configuration of floor
frequency for different variants of Atom SoCs
appropriately and ensures configuration of floor
frequency is not done from driver for these
newer Atom SoCs.

Since address of the register for configuring
floor frequency might change for different
Atom SoCs, this patch also prevents potential
overwriting of wrong registers.

Reviewed-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Ajay Thomas <ajay.thomas.david.rajamanickam@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/powercap/intel_rapl.c