intel_idle: add Emerald Rapids Xeon support
commit74528edfbc
upstream. Emerald Rapids (EMR) is the next Intel Xeon processor after Sapphire Rapids (SPR). EMR C-states are the same as SPR C-states, and we expect that EMR C-state characteristics (latency and target residency) will be the same as in SPR. Therefore, add EMR support by using SPR C-states table. Intel-SIG: commit74528edfbc
intel_idle: add Emerald Rapids Xeon support Backport for intel idle EMR support Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> [ yingbao jia: amend commit log ] Signed-off-by: yingbao jia <yingbao.jia@intel.com>
This commit is contained in:
parent
d8487f51aa
commit
8a2d0e964a
|
@ -1236,6 +1236,7 @@ static const struct x86_cpu_id intel_idle_ids[] __initconst = {
|
|||
INTEL_CPU_FAM6(ICELAKE_X, idle_cpu_icx),
|
||||
INTEL_CPU_FAM6(ICELAKE_D, idle_cpu_icx),
|
||||
INTEL_CPU_FAM6(SAPPHIRERAPIDS_X, idle_cpu_spr),
|
||||
INTEL_CPU_FAM6(EMERALDRAPIDS_X, idle_cpu_spr),
|
||||
INTEL_CPU_FAM6(XEON_PHI_KNL, idle_cpu_knl),
|
||||
INTEL_CPU_FAM6(XEON_PHI_KNM, idle_cpu_knl),
|
||||
INTEL_CPU_FAM6(ATOM_GOLDMONT, idle_cpu_bxt),
|
||||
|
@ -1652,6 +1653,7 @@ static void __init intel_idle_init_cstates_icpu(struct cpuidle_driver *drv)
|
|||
skx_idle_state_table_update();
|
||||
break;
|
||||
case INTEL_FAM6_SAPPHIRERAPIDS_X:
|
||||
case INTEL_FAM6_EMERALDRAPIDS_X:
|
||||
spr_idle_state_table_update();
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue