mirror of https://gitee.com/openkylin/linux.git
powercap: intel_rapl: Add missing Haswell model
Added missing model 0x46. Tested-and-reported-by: Piotr Maksymiuk <piotr.maksymiuk@movishell.pl> Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
323ee64aa1
commit
462d8083fb
|
@ -1091,6 +1091,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = {
|
||||||
RAPL_CPU(0x3f, rapl_defaults_hsw_server),/* Haswell servers */
|
RAPL_CPU(0x3f, rapl_defaults_hsw_server),/* Haswell servers */
|
||||||
RAPL_CPU(0x4f, rapl_defaults_hsw_server),/* Broadwell servers */
|
RAPL_CPU(0x4f, rapl_defaults_hsw_server),/* Broadwell servers */
|
||||||
RAPL_CPU(0x45, rapl_defaults_core),/* Haswell ULT */
|
RAPL_CPU(0x45, rapl_defaults_core),/* Haswell ULT */
|
||||||
|
RAPL_CPU(0x46, rapl_defaults_core),/* Haswell */
|
||||||
RAPL_CPU(0x47, rapl_defaults_core),/* Broadwell-H */
|
RAPL_CPU(0x47, rapl_defaults_core),/* Broadwell-H */
|
||||||
RAPL_CPU(0x4E, rapl_defaults_core),/* Skylake */
|
RAPL_CPU(0x4E, rapl_defaults_core),/* Skylake */
|
||||||
RAPL_CPU(0x4C, rapl_defaults_cht),/* Braswell/Cherryview */
|
RAPL_CPU(0x4C, rapl_defaults_cht),/* Braswell/Cherryview */
|
||||||
|
|
Loading…
Reference in New Issue