File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -1794,6 +1794,12 @@ static const struct x86_cpu_id intel_pstate_cpu_ee_disable_ids[] = {
1794
1794
{}
1795
1795
};
1796
1796
1797
+ static const struct x86_cpu_id intel_pstate_hwp_boost_ids [] = {
1798
+ ICPU (INTEL_FAM6_SKYLAKE_X , core_funcs ),
1799
+ ICPU (INTEL_FAM6_SKYLAKE_DESKTOP , core_funcs ),
1800
+ {}
1801
+ };
1802
+
1797
1803
static int intel_pstate_init_cpu (unsigned int cpunum )
1798
1804
{
1799
1805
struct cpudata * cpu ;
@@ -1824,6 +1830,10 @@ static int intel_pstate_init_cpu(unsigned int cpunum)
1824
1830
intel_pstate_disable_ee (cpunum );
1825
1831
1826
1832
intel_pstate_hwp_enable (cpu );
1833
+
1834
+ id = x86_match_cpu (intel_pstate_hwp_boost_ids );
1835
+ if (id )
1836
+ hwp_boost = true;
1827
1837
}
1828
1838
1829
1839
intel_pstate_get_cpu_pstates (cpu );
You can’t perform that action at this time.
0 commit comments