Skip to content

Commit 1f5e62f

Browse files
spandruvadarafaeljw
authored andcommitted
cpufreq: intel_pstate: Enable HWP IO boost for all servers
The HWP IO boost results in slight improvements for IO performance on both Ice Lake and Sapphire Rapid servers. Currently there is a CPU model check for Skylake desktop and server along with the ACPI PM profile for performance and enterprise servers to enable IO boost. Remove the CPU model check, so that all current server models enable HWP IO boost by default. Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent eeac8ed commit 1f5e62f

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

drivers/cpufreq/intel_pstate.c

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2384,12 +2384,6 @@ static const struct x86_cpu_id intel_pstate_cpu_ee_disable_ids[] = {
23842384
{}
23852385
};
23862386

2387-
static const struct x86_cpu_id intel_pstate_hwp_boost_ids[] = {
2388-
X86_MATCH(SKYLAKE_X, core_funcs),
2389-
X86_MATCH(SKYLAKE, core_funcs),
2390-
{}
2391-
};
2392-
23932387
static int intel_pstate_init_cpu(unsigned int cpunum)
23942388
{
23952389
struct cpudata *cpu;
@@ -2408,12 +2402,9 @@ static int intel_pstate_init_cpu(unsigned int cpunum)
24082402
cpu->epp_default = -EINVAL;
24092403

24102404
if (hwp_active) {
2411-
const struct x86_cpu_id *id;
2412-
24132405
intel_pstate_hwp_enable(cpu);
24142406

2415-
id = x86_match_cpu(intel_pstate_hwp_boost_ids);
2416-
if (id && intel_pstate_acpi_pm_profile_server())
2407+
if (intel_pstate_acpi_pm_profile_server())
24172408
hwp_boost = true;
24182409
}
24192410
} else if (hwp_active) {

0 commit comments

Comments
 (0)