]> git.baikalelectronics.ru Git - kernel.git/commit
x86: intel_epb: Allow model specific normal EPB value
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Sat, 11 Dec 2021 16:33:27 +0000 (08:33 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 4 Jan 2022 15:37:23 +0000 (16:37 +0100)
commit93cd25bef03a68e1778f7be96f466a953f876d38
treea54c35fd7e0edc2044403631fff1d20edea8b815
parent714806aa5ddb01864854ad8ab7144d3453fb1708
x86: intel_epb: Allow model specific normal EPB value

The current EPB "normal" is defined as 6 and set whenever power-up EPB
value is 0. This setting resulted in the desired out of box power and
performance for several CPU generations. But this value is not suitable
for AlderLake mobile CPUs, as this resulted in higher uncore power.
Since EPB is model specific, this is not unreasonable to have different
behavior.

Allow a capability where "normal" EPB can be redefined. For AlderLake
mobile CPUs this desired normal value is 7.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/x86/kernel/cpu/intel_epb.c