Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

platform/x86: intel_turbo_max_3: Move to intel sub-directory

Move Intel Turbo Max 3 driver to intel sub-directory to improve readability
and rename it from intel_turbo_max_3.c to turbo_max_3.c.

Signed-off-by: Kate Hsuan <hpa@redhat.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210820110458.73018-12-andriy.shevchenko@linux.intel.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>

authored by

Kate Hsuan and committed by
Hans de Goede
1fef1c04 47bbe03e

+13 -11
-10
drivers/platform/x86/Kconfig
··· 1112 1112 1113 1113 source "drivers/platform/x86/intel_speed_select_if/Kconfig" 1114 1114 1115 - config INTEL_TURBO_MAX_3 1116 - bool "Intel Turbo Boost Max Technology 3.0 enumeration driver" 1117 - depends on X86_64 && SCHED_MC_PRIO 1118 - help 1119 - This driver reads maximum performance ratio of each CPU and set up 1120 - the scheduler priority metrics. In this way scheduler can prefer 1121 - CPU with higher performance to schedule tasks. 1122 - This driver is only required when the system is not using Hardware 1123 - P-States (HWP). In HWP mode, priority can be read from ACPI tables. 1124 - 1125 1115 config INTEL_UNCORE_FREQ_CONTROL 1126 1116 tristate "Intel Uncore frequency control driver" 1127 1117 depends on X86_64
-1
drivers/platform/x86/Makefile
··· 121 121 # Intel uncore drivers 122 122 obj-$(CONFIG_INTEL_IPS) += intel_ips.o 123 123 obj-$(CONFIG_INTEL_SPEED_SELECT_INTERFACE) += intel_speed_select_if/ 124 - obj-$(CONFIG_INTEL_TURBO_MAX_3) += intel_turbo_max_3.o 125 124 obj-$(CONFIG_INTEL_UNCORE_FREQ_CONTROL) += intel-uncore-frequency.o 126 125 127 126 # Intel PMIC / PMC / P-Unit devices
+11
drivers/platform/x86/intel/Kconfig
··· 87 87 This driver checks to determine whether the device has Intel Smart 88 88 Connect enabled, and if so disables it. 89 89 90 + config INTEL_TURBO_MAX_3 91 + bool "Intel Turbo Boost Max Technology 3.0 enumeration driver" 92 + depends on X86_64 && SCHED_MC_PRIO 93 + help 94 + This driver reads maximum performance ratio of each CPU and set up 95 + the scheduler priority metrics. In this way scheduler can prefer 96 + CPU with higher performance to schedule tasks. 97 + 98 + This driver is only required when the system is not using Hardware 99 + P-States (HWP). In HWP mode, priority can be read from ACPI tables. 100 + 90 101 endif # X86_PLATFORM_DRIVERS_INTEL
+2
drivers/platform/x86/intel/Makefile
··· 26 26 obj-$(CONFIG_INTEL_RST) += intel-rst.o 27 27 intel-smartconnect-y := smartconnect.o 28 28 obj-$(CONFIG_INTEL_SMARTCONNECT) += intel-smartconnect.o 29 + intel_turbo_max_3-y := turbo_max_3.o 30 + obj-$(CONFIG_INTEL_TURBO_MAX_3) += intel_turbo_max_3.o
drivers/platform/x86/intel_turbo_max_3.c drivers/platform/x86/intel/turbo_max_3.c