From: Srinivas Pandruvada Date: Mon, 12 Feb 2018 19:50:47 +0000 (-0800) Subject: platform/x86: intel_turbo_max_3: Remove restriction for HWP platforms X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=04e4e888558ebe5d9701e31bba61d4e256ab71a8;p=linux.git 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 Reported-and-tested-and-reviewed-by: Arjan van de Ven Signed-off-by: Andy Shevchenko --- diff --git a/drivers/platform/x86/intel_turbo_max_3.c b/drivers/platform/x86/intel_turbo_max_3.c index d4ea01805879b..a6d5aa0c3c479 100644 --- a/drivers/platform/x86/intel_turbo_max_3.c +++ b/drivers/platform/x86/intel_turbo_max_3.c @@ -138,9 +138,6 @@ static int __init itmt_legacy_init(void) if (!id) return -ENODEV; - if (boot_cpu_has(X86_FEATURE_HWP)) - return -ENODEV; - ret = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "platform/x86/turbo_max_3:online", itmt_legacy_cpu_online, NULL);