瀏覽代碼

platform/x86: intel_turbo_max_3: Remove restriction for HWP platforms

On systems supporting HWP (Hardware P-States) mode, we expected to
enumerate core priority via ACPI-CPPC tables. Unfortunately deployment of
TURBO 3.0 didn't use this method to show core priority. So users are not
able to utilize this feature in HWP mode.

So remove the loading restriction of this driver for HWP enabled systems.
Even if there are some systems, which are providing the core priority via
ACPI CPPC, this shouldn't cause any conflict as the source of priority
definition is same.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Reported-and-tested-and-reviewed-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Srinivas Pandruvada 7 年之前
父節點
當前提交
04e4e88855
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      drivers/platform/x86/intel_turbo_max_3.c

+ 0 - 3
drivers/platform/x86/intel_turbo_max_3.c

@@ -138,9 +138,6 @@ static int __init itmt_legacy_init(void)
 	if (!id)
 	if (!id)
 		return -ENODEV;
 		return -ENODEV;
 
 
-	if (boot_cpu_has(X86_FEATURE_HWP))
-		return -ENODEV;
-
 	ret = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN,
 	ret = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN,
 				"platform/x86/turbo_max_3:online",
 				"platform/x86/turbo_max_3:online",
 				itmt_legacy_cpu_online,	NULL);
 				itmt_legacy_cpu_online,	NULL);