* Re: [PATCH] thermal/drivers/intel: Move intel_menlow to thermal drivers
2021-08-16 3:53 [PATCH] thermal/drivers/intel: Move intel_menlow to thermal drivers Srinivas Pandruvada
@ 2021-08-16 7:55 ` Hans de Goede
2021-08-16 8:05 ` Daniel Lezcano
2021-08-16 9:41 ` Zhang Rui
2021-08-17 12:20 ` Hans de Goede
2 siblings, 1 reply; 6+ messages in thread
From: Hans de Goede @ 2021-08-16 7:55 UTC (permalink / raw)
To: Srinivas Pandruvada, rui.zhang, daniel.lezcano, hpa, mgross,
alex.hung, sujith.thomas, andriy.shevchenko
Cc: linux-pm, platform-driver-x86
Hi,
On 8/16/21 5:53 AM, Srinivas Pandruvada wrote:
> Moved drivers/platform/x86/intel_menlow.c to drivers/thermal/intel.
>
> Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Thank you.
Rui, with this upcoming patch-series:
https://lore.kernel.org/platform-driver-x86/c6a90704-5080-d479-0022-58e5d106c026@infradead.org/T/#t
drivers/platform/x86/Kconfig + Makefile
Are going to see quite a bit of churn, is it ok if I merge this patch
through the pdx86 tree to avoid conflicts with all those changes?
Rui, if this is ok, may I have your ack for this then ?
Regards,
Hans
> ---
> MAINTAINERS | 4 ++--
> drivers/platform/x86/Kconfig | 10 ----------
> drivers/platform/x86/Makefile | 1 -
> drivers/thermal/intel/Kconfig | 9 +++++++++
> drivers/thermal/intel/Makefile | 1 +
> drivers/{platform/x86 => thermal/intel}/intel_menlow.c | 0
> 6 files changed, 12 insertions(+), 13 deletions(-)
> rename drivers/{platform/x86 => thermal/intel}/intel_menlow.c (100%)
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index fd25e4ecf0b9..4231aea31a6f 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -9459,10 +9459,10 @@ F: include/linux/mfd/intel-m10-bmc.h
>
> INTEL MENLOW THERMAL DRIVER
> M: Sujith Thomas <sujith.thomas@intel.com>
> -L: platform-driver-x86@vger.kernel.org
> +L: linux-pm@vger.kernel.org
> S: Supported
> W: https://01.org/linux-acpi
> -F: drivers/platform/x86/intel_menlow.c
> +F: drivers/thermal/intel/intel_menlow.c
>
> INTEL P-Unit IPC DRIVER
> M: Zha Qipeng <qipeng.zha@intel.com>
> diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
> index d12db6c316ea..da312426b4a5 100644
> --- a/drivers/platform/x86/Kconfig
> +++ b/drivers/platform/x86/Kconfig
> @@ -720,16 +720,6 @@ config INTEL_INT0002_VGPIO
> To compile this driver as a module, choose M here: the module will
> be called intel_int0002_vgpio.
>
> -config INTEL_MENLOW
> - tristate "Thermal Management driver for Intel menlow platform"
> - depends on ACPI_THERMAL
> - select THERMAL
> - help
> - ACPI thermal management enhancement driver on
> - Intel Menlow platform.
> -
> - If unsure, say N.
> -
> config INTEL_OAKTRAIL
> tristate "Intel Oaktrail Platform Extras"
> depends on ACPI
> diff --git a/drivers/platform/x86/Makefile b/drivers/platform/x86/Makefile
> index 7ee369aab10d..0d3af23f1186 100644
> --- a/drivers/platform/x86/Makefile
> +++ b/drivers/platform/x86/Makefile
> @@ -72,7 +72,6 @@ obj-$(CONFIG_INTEL_ATOMISP2_LED) += intel_atomisp2_led.o
> obj-$(CONFIG_INTEL_ATOMISP2_PM) += intel_atomisp2_pm.o
> obj-$(CONFIG_INTEL_HID_EVENT) += intel-hid.o
> obj-$(CONFIG_INTEL_INT0002_VGPIO) += intel_int0002_vgpio.o
> -obj-$(CONFIG_INTEL_MENLOW) += intel_menlow.o
> obj-$(CONFIG_INTEL_OAKTRAIL) += intel_oaktrail.o
> obj-$(CONFIG_INTEL_VBTN) += intel-vbtn.o
>
> diff --git a/drivers/thermal/intel/Kconfig b/drivers/thermal/intel/Kconfig
> index e4299ca3423c..c83ea5d04a1d 100644
> --- a/drivers/thermal/intel/Kconfig
> +++ b/drivers/thermal/intel/Kconfig
> @@ -90,3 +90,12 @@ config INTEL_TCC_COOLING
> Note that, on different platforms, the behavior might be different
> on how fast the setting takes effect, and how much the CPU frequency
> is reduced.
> +
> +config INTEL_MENLOW
> + tristate "Thermal Management driver for Intel menlow platform"
> + depends on ACPI_THERMAL
> + help
> + ACPI thermal management enhancement driver on
> + Intel Menlow platform.
> +
> + If unsure, say N.
> diff --git a/drivers/thermal/intel/Makefile b/drivers/thermal/intel/Makefile
> index 5ff2afa388f7..960b56268b4a 100644
> --- a/drivers/thermal/intel/Makefile
> +++ b/drivers/thermal/intel/Makefile
> @@ -12,3 +12,4 @@ obj-$(CONFIG_INTEL_BXT_PMIC_THERMAL) += intel_bxt_pmic_thermal.o
> obj-$(CONFIG_INTEL_PCH_THERMAL) += intel_pch_thermal.o
> obj-$(CONFIG_INTEL_TCC_COOLING) += intel_tcc_cooling.o
> obj-$(CONFIG_X86_THERMAL_VECTOR) += therm_throt.o
> +obj-$(CONFIG_INTEL_MENLOW) += intel_menlow.o
> diff --git a/drivers/platform/x86/intel_menlow.c b/drivers/thermal/intel/intel_menlow.c
> similarity index 100%
> rename from drivers/platform/x86/intel_menlow.c
> rename to drivers/thermal/intel/intel_menlow.c
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] thermal/drivers/intel: Move intel_menlow to thermal drivers
2021-08-16 7:55 ` Hans de Goede
@ 2021-08-16 8:05 ` Daniel Lezcano
2021-08-16 9:42 ` Zhang Rui
0 siblings, 1 reply; 6+ messages in thread
From: Daniel Lezcano @ 2021-08-16 8:05 UTC (permalink / raw)
To: Hans de Goede, Srinivas Pandruvada, rui.zhang, hpa, mgross,
alex.hung, sujith.thomas, andriy.shevchenko
Cc: linux-pm, platform-driver-x86
Hi Hans,
On 16/08/2021 09:55, Hans de Goede wrote:
> Hi,
>
> On 8/16/21 5:53 AM, Srinivas Pandruvada wrote:
>> Moved drivers/platform/x86/intel_menlow.c to drivers/thermal/intel.
>>
>> Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
>
> Thank you.
>
> Rui, with this upcoming patch-series:
>
> https://lore.kernel.org/platform-driver-x86/c6a90704-5080-d479-0022-58e5d106c026@infradead.org/T/#t
>
> drivers/platform/x86/Kconfig + Makefile
>
> Are going to see quite a bit of churn, is it ok if I merge this patch
> through the pdx86 tree to avoid conflicts with all those changes?
>
> Rui, if this is ok, may I have your ack for this then ?
As co-maintainer:
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
>> ---
>> MAINTAINERS | 4 ++--
>> drivers/platform/x86/Kconfig | 10 ----------
>> drivers/platform/x86/Makefile | 1 -
>> drivers/thermal/intel/Kconfig | 9 +++++++++
>> drivers/thermal/intel/Makefile | 1 +
>> drivers/{platform/x86 => thermal/intel}/intel_menlow.c | 0
>> 6 files changed, 12 insertions(+), 13 deletions(-)
>> rename drivers/{platform/x86 => thermal/intel}/intel_menlow.c (100%)
>>
>> diff --git a/MAINTAINERS b/MAINTAINERS
>> index fd25e4ecf0b9..4231aea31a6f 100644
>> --- a/MAINTAINERS
>> +++ b/MAINTAINERS
>> @@ -9459,10 +9459,10 @@ F: include/linux/mfd/intel-m10-bmc.h
>>
>> INTEL MENLOW THERMAL DRIVER
>> M: Sujith Thomas <sujith.thomas@intel.com>
>> -L: platform-driver-x86@vger.kernel.org
>> +L: linux-pm@vger.kernel.org
>> S: Supported
>> W: https://01.org/linux-acpi
>> -F: drivers/platform/x86/intel_menlow.c
>> +F: drivers/thermal/intel/intel_menlow.c
>>
>> INTEL P-Unit IPC DRIVER
>> M: Zha Qipeng <qipeng.zha@intel.com>
>> diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
>> index d12db6c316ea..da312426b4a5 100644
>> --- a/drivers/platform/x86/Kconfig
>> +++ b/drivers/platform/x86/Kconfig
>> @@ -720,16 +720,6 @@ config INTEL_INT0002_VGPIO
>> To compile this driver as a module, choose M here: the module will
>> be called intel_int0002_vgpio.
>>
>> -config INTEL_MENLOW
>> - tristate "Thermal Management driver for Intel menlow platform"
>> - depends on ACPI_THERMAL
>> - select THERMAL
>> - help
>> - ACPI thermal management enhancement driver on
>> - Intel Menlow platform.
>> -
>> - If unsure, say N.
>> -
>> config INTEL_OAKTRAIL
>> tristate "Intel Oaktrail Platform Extras"
>> depends on ACPI
>> diff --git a/drivers/platform/x86/Makefile b/drivers/platform/x86/Makefile
>> index 7ee369aab10d..0d3af23f1186 100644
>> --- a/drivers/platform/x86/Makefile
>> +++ b/drivers/platform/x86/Makefile
>> @@ -72,7 +72,6 @@ obj-$(CONFIG_INTEL_ATOMISP2_LED) += intel_atomisp2_led.o
>> obj-$(CONFIG_INTEL_ATOMISP2_PM) += intel_atomisp2_pm.o
>> obj-$(CONFIG_INTEL_HID_EVENT) += intel-hid.o
>> obj-$(CONFIG_INTEL_INT0002_VGPIO) += intel_int0002_vgpio.o
>> -obj-$(CONFIG_INTEL_MENLOW) += intel_menlow.o
>> obj-$(CONFIG_INTEL_OAKTRAIL) += intel_oaktrail.o
>> obj-$(CONFIG_INTEL_VBTN) += intel-vbtn.o
>>
>> diff --git a/drivers/thermal/intel/Kconfig b/drivers/thermal/intel/Kconfig
>> index e4299ca3423c..c83ea5d04a1d 100644
>> --- a/drivers/thermal/intel/Kconfig
>> +++ b/drivers/thermal/intel/Kconfig
>> @@ -90,3 +90,12 @@ config INTEL_TCC_COOLING
>> Note that, on different platforms, the behavior might be different
>> on how fast the setting takes effect, and how much the CPU frequency
>> is reduced.
>> +
>> +config INTEL_MENLOW
>> + tristate "Thermal Management driver for Intel menlow platform"
>> + depends on ACPI_THERMAL
>> + help
>> + ACPI thermal management enhancement driver on
>> + Intel Menlow platform.
>> +
>> + If unsure, say N.
>> diff --git a/drivers/thermal/intel/Makefile b/drivers/thermal/intel/Makefile
>> index 5ff2afa388f7..960b56268b4a 100644
>> --- a/drivers/thermal/intel/Makefile
>> +++ b/drivers/thermal/intel/Makefile
>> @@ -12,3 +12,4 @@ obj-$(CONFIG_INTEL_BXT_PMIC_THERMAL) += intel_bxt_pmic_thermal.o
>> obj-$(CONFIG_INTEL_PCH_THERMAL) += intel_pch_thermal.o
>> obj-$(CONFIG_INTEL_TCC_COOLING) += intel_tcc_cooling.o
>> obj-$(CONFIG_X86_THERMAL_VECTOR) += therm_throt.o
>> +obj-$(CONFIG_INTEL_MENLOW) += intel_menlow.o
>> diff --git a/drivers/platform/x86/intel_menlow.c b/drivers/thermal/intel/intel_menlow.c
>> similarity index 100%
>> rename from drivers/platform/x86/intel_menlow.c
>> rename to drivers/thermal/intel/intel_menlow.c
>>
>
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] thermal/drivers/intel: Move intel_menlow to thermal drivers
2021-08-16 8:05 ` Daniel Lezcano
@ 2021-08-16 9:42 ` Zhang Rui
0 siblings, 0 replies; 6+ messages in thread
From: Zhang Rui @ 2021-08-16 9:42 UTC (permalink / raw)
To: Daniel Lezcano, Hans de Goede, Srinivas Pandruvada, hpa, mgross,
alex.hung, sujith.thomas, andriy.shevchenko
Cc: linux-pm, platform-driver-x86
On Mon, 2021-08-16 at 10:05 +0200, Daniel Lezcano wrote:
> Hi Hans,
>
> On 16/08/2021 09:55, Hans de Goede wrote:
> > Hi,
> >
> > On 8/16/21 5:53 AM, Srinivas Pandruvada wrote:
> > > Moved drivers/platform/x86/intel_menlow.c to
> > > drivers/thermal/intel.
> > >
> > > Signed-off-by: Srinivas Pandruvada <
> > > srinivas.pandruvada@linux.intel.com>
> >
> > Thank you.
> >
> > Rui, with this upcoming patch-series:
> >
> >
https://lore.kernel.org/platform-driver-x86/c6a90704-5080-d479-0022-58e5d106c026@infradead.org/T/#t
> >
> > drivers/platform/x86/Kconfig + Makefile
> >
> > Are going to see quite a bit of churn, is it ok if I merge this
> > patch
> > through the pdx86 tree to avoid conflicts with all those changes?
> >
> > Rui, if this is ok, may I have your ack for this then ?
>
> As co-maintainer:
>
> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Done, thanks for the reminder.
-rui
>
>
>
> > > ---
> > > MAINTAINERS | 4 ++--
> > > drivers/platform/x86/Kconfig | 10 ----
> > > ------
> > > drivers/platform/x86/Makefile | 1 -
> > > drivers/thermal/intel/Kconfig | 9
> > > +++++++++
> > > drivers/thermal/intel/Makefile | 1 +
> > > drivers/{platform/x86 => thermal/intel}/intel_menlow.c | 0
> > > 6 files changed, 12 insertions(+), 13 deletions(-)
> > > rename drivers/{platform/x86 => thermal/intel}/intel_menlow.c
> > > (100%)
> > >
> > > diff --git a/MAINTAINERS b/MAINTAINERS
> > > index fd25e4ecf0b9..4231aea31a6f 100644
> > > --- a/MAINTAINERS
> > > +++ b/MAINTAINERS
> > > @@ -9459,10 +9459,10 @@ F: include/linux/mfd/intel-m10-
> > > bmc.h
> > >
> > > INTEL MENLOW THERMAL DRIVER
> > > M: Sujith Thomas <sujith.thomas@intel.com>
> > > -L: platform-driver-x86@vger.kernel.org
> > > +L: linux-pm@vger.kernel.org
> > > S: Supported
> > > W: https://01.org/linux-acpi
> > > -F: drivers/platform/x86/intel_menlow.c
> > > +F: drivers/thermal/intel/intel_menlow.c
> > >
> > > INTEL P-Unit IPC DRIVER
> > > M: Zha Qipeng <qipeng.zha@intel.com>
> > > diff --git a/drivers/platform/x86/Kconfig
> > > b/drivers/platform/x86/Kconfig
> > > index d12db6c316ea..da312426b4a5 100644
> > > --- a/drivers/platform/x86/Kconfig
> > > +++ b/drivers/platform/x86/Kconfig
> > > @@ -720,16 +720,6 @@ config INTEL_INT0002_VGPIO
> > > To compile this driver as a module, choose M here: the module
> > > will
> > > be called intel_int0002_vgpio.
> > >
> > > -config INTEL_MENLOW
> > > - tristate "Thermal Management driver for Intel menlow platform"
> > > - depends on ACPI_THERMAL
> > > - select THERMAL
> > > - help
> > > - ACPI thermal management enhancement driver on
> > > - Intel Menlow platform.
> > > -
> > > - If unsure, say N.
> > > -
> > > config INTEL_OAKTRAIL
> > > tristate "Intel Oaktrail Platform Extras"
> > > depends on ACPI
> > > diff --git a/drivers/platform/x86/Makefile
> > > b/drivers/platform/x86/Makefile
> > > index 7ee369aab10d..0d3af23f1186 100644
> > > --- a/drivers/platform/x86/Makefile
> > > +++ b/drivers/platform/x86/Makefile
> > > @@ -72,7 +72,6 @@ obj-$(CONFIG_INTEL_ATOMISP2_LED) +=
> > > intel_atomisp2_led.o
> > > obj-$(CONFIG_INTEL_ATOMISP2_PM) += intel_atomisp2_pm.o
> > > obj-$(CONFIG_INTEL_HID_EVENT) += intel-hid.o
> > > obj-$(CONFIG_INTEL_INT0002_VGPIO) +=
> > > intel_int0002_vgpio.o
> > > -obj-$(CONFIG_INTEL_MENLOW) += intel_menlow.o
> > > obj-$(CONFIG_INTEL_OAKTRAIL) += intel_oaktrail.o
> > > obj-$(CONFIG_INTEL_VBTN) += intel-vbtn.o
> > >
> > > diff --git a/drivers/thermal/intel/Kconfig
> > > b/drivers/thermal/intel/Kconfig
> > > index e4299ca3423c..c83ea5d04a1d 100644
> > > --- a/drivers/thermal/intel/Kconfig
> > > +++ b/drivers/thermal/intel/Kconfig
> > > @@ -90,3 +90,12 @@ config INTEL_TCC_COOLING
> > > Note that, on different platforms, the behavior might be
> > > different
> > > on how fast the setting takes effect, and how much the CPU
> > > frequency
> > > is reduced.
> > > +
> > > +config INTEL_MENLOW
> > > + tristate "Thermal Management driver for Intel menlow platform"
> > > + depends on ACPI_THERMAL
> > > + help
> > > + ACPI thermal management enhancement driver on
> > > + Intel Menlow platform.
> > > +
> > > + If unsure, say N.
> > > diff --git a/drivers/thermal/intel/Makefile
> > > b/drivers/thermal/intel/Makefile
> > > index 5ff2afa388f7..960b56268b4a 100644
> > > --- a/drivers/thermal/intel/Makefile
> > > +++ b/drivers/thermal/intel/Makefile
> > > @@ -12,3 +12,4 @@ obj-$(CONFIG_INTEL_BXT_PMIC_THERMAL) +=
> > > intel_bxt_pmic_thermal.o
> > > obj-$(CONFIG_INTEL_PCH_THERMAL) += intel_pch_thermal.o
> > > obj-$(CONFIG_INTEL_TCC_COOLING) += intel_tcc_cooling.o
> > > obj-$(CONFIG_X86_THERMAL_VECTOR) += therm_throt.o
> > > +obj-$(CONFIG_INTEL_MENLOW) += intel_menlow.o
> > > diff --git a/drivers/platform/x86/intel_menlow.c
> > > b/drivers/thermal/intel/intel_menlow.c
> > > similarity index 100%
> > > rename from drivers/platform/x86/intel_menlow.c
> > > rename to drivers/thermal/intel/intel_menlow.c
> > >
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] thermal/drivers/intel: Move intel_menlow to thermal drivers
2021-08-16 3:53 [PATCH] thermal/drivers/intel: Move intel_menlow to thermal drivers Srinivas Pandruvada
2021-08-16 7:55 ` Hans de Goede
@ 2021-08-16 9:41 ` Zhang Rui
2021-08-17 12:20 ` Hans de Goede
2 siblings, 0 replies; 6+ messages in thread
From: Zhang Rui @ 2021-08-16 9:41 UTC (permalink / raw)
To: Srinivas Pandruvada, hdegoede, daniel.lezcano, hpa, mgross,
alex.hung, sujith.thomas, andriy.shevchenko
Cc: linux-pm, platform-driver-x86
On Sun, 2021-08-15 at 20:53 -0700, Srinivas Pandruvada wrote:
> Moved drivers/platform/x86/intel_menlow.c to drivers/thermal/intel.
>
> Signed-off-by: Srinivas Pandruvada <
> srinivas.pandruvada@linux.intel.com>
Acked-by: Zhang Rui <rui.zhang@intel.com>
thanks,
rui
> ---
> MAINTAINERS | 4 ++--
> drivers/platform/x86/Kconfig | 10 --------
> --
> drivers/platform/x86/Makefile | 1 -
> drivers/thermal/intel/Kconfig | 9
> +++++++++
> drivers/thermal/intel/Makefile | 1 +
> drivers/{platform/x86 => thermal/intel}/intel_menlow.c | 0
> 6 files changed, 12 insertions(+), 13 deletions(-)
> rename drivers/{platform/x86 => thermal/intel}/intel_menlow.c (100%)
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index fd25e4ecf0b9..4231aea31a6f 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -9459,10 +9459,10 @@ F: include/linux/mfd/intel-m10-bmc.h
>
> INTEL MENLOW THERMAL DRIVER
> M: Sujith Thomas <sujith.thomas@intel.com>
> -L: platform-driver-x86@vger.kernel.org
> +L: linux-pm@vger.kernel.org
> S: Supported
> W: https://01.org/linux-acpi
> -F: drivers/platform/x86/intel_menlow.c
> +F: drivers/thermal/intel/intel_menlow.c
>
> INTEL P-Unit IPC DRIVER
> M: Zha Qipeng <qipeng.zha@intel.com>
> diff --git a/drivers/platform/x86/Kconfig
> b/drivers/platform/x86/Kconfig
> index d12db6c316ea..da312426b4a5 100644
> --- a/drivers/platform/x86/Kconfig
> +++ b/drivers/platform/x86/Kconfig
> @@ -720,16 +720,6 @@ config INTEL_INT0002_VGPIO
> To compile this driver as a module, choose M here: the module
> will
> be called intel_int0002_vgpio.
>
> -config INTEL_MENLOW
> - tristate "Thermal Management driver for Intel menlow platform"
> - depends on ACPI_THERMAL
> - select THERMAL
> - help
> - ACPI thermal management enhancement driver on
> - Intel Menlow platform.
> -
> - If unsure, say N.
> -
> config INTEL_OAKTRAIL
> tristate "Intel Oaktrail Platform Extras"
> depends on ACPI
> diff --git a/drivers/platform/x86/Makefile
> b/drivers/platform/x86/Makefile
> index 7ee369aab10d..0d3af23f1186 100644
> --- a/drivers/platform/x86/Makefile
> +++ b/drivers/platform/x86/Makefile
> @@ -72,7 +72,6 @@ obj-$(CONFIG_INTEL_ATOMISP2_LED) +=
> intel_atomisp2_led.o
> obj-$(CONFIG_INTEL_ATOMISP2_PM) += intel_atomisp2_pm.o
> obj-$(CONFIG_INTEL_HID_EVENT) += intel-hid.o
> obj-$(CONFIG_INTEL_INT0002_VGPIO) += intel_int0002_vgpio.o
> -obj-$(CONFIG_INTEL_MENLOW) += intel_menlow.o
> obj-$(CONFIG_INTEL_OAKTRAIL) += intel_oaktrail.o
> obj-$(CONFIG_INTEL_VBTN) += intel-vbtn.o
>
> diff --git a/drivers/thermal/intel/Kconfig
> b/drivers/thermal/intel/Kconfig
> index e4299ca3423c..c83ea5d04a1d 100644
> --- a/drivers/thermal/intel/Kconfig
> +++ b/drivers/thermal/intel/Kconfig
> @@ -90,3 +90,12 @@ config INTEL_TCC_COOLING
> Note that, on different platforms, the behavior might be
> different
> on how fast the setting takes effect, and how much the CPU
> frequency
> is reduced.
> +
> +config INTEL_MENLOW
> + tristate "Thermal Management driver for Intel menlow platform"
> + depends on ACPI_THERMAL
> + help
> + ACPI thermal management enhancement driver on
> + Intel Menlow platform.
> +
> + If unsure, say N.
> diff --git a/drivers/thermal/intel/Makefile
> b/drivers/thermal/intel/Makefile
> index 5ff2afa388f7..960b56268b4a 100644
> --- a/drivers/thermal/intel/Makefile
> +++ b/drivers/thermal/intel/Makefile
> @@ -12,3 +12,4 @@ obj-$(CONFIG_INTEL_BXT_PMIC_THERMAL) +=
> intel_bxt_pmic_thermal.o
> obj-$(CONFIG_INTEL_PCH_THERMAL) += intel_pch_thermal.o
> obj-$(CONFIG_INTEL_TCC_COOLING) += intel_tcc_cooling.o
> obj-$(CONFIG_X86_THERMAL_VECTOR) += therm_throt.o
> +obj-$(CONFIG_INTEL_MENLOW) += intel_menlow.o
> diff --git a/drivers/platform/x86/intel_menlow.c
> b/drivers/thermal/intel/intel_menlow.c
> similarity index 100%
> rename from drivers/platform/x86/intel_menlow.c
> rename to drivers/thermal/intel/intel_menlow.c
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] thermal/drivers/intel: Move intel_menlow to thermal drivers
2021-08-16 3:53 [PATCH] thermal/drivers/intel: Move intel_menlow to thermal drivers Srinivas Pandruvada
2021-08-16 7:55 ` Hans de Goede
2021-08-16 9:41 ` Zhang Rui
@ 2021-08-17 12:20 ` Hans de Goede
2 siblings, 0 replies; 6+ messages in thread
From: Hans de Goede @ 2021-08-17 12:20 UTC (permalink / raw)
To: Srinivas Pandruvada, rui.zhang, daniel.lezcano, hpa, mgross,
alex.hung, sujith.thomas, andriy.shevchenko
Cc: linux-pm, platform-driver-x86
Hi,
On 8/16/21 5:53 AM, Srinivas Pandruvada wrote:
> Moved drivers/platform/x86/intel_menlow.c to drivers/thermal/intel.
>
> Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Thank you for your patch, I've applied this patch to my review-hans
branch:
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans
(with the 2 acks from the thermal subsys maintainers added)
Once I've run some tests on this branch the patches there will be
added to the platform-drivers-x86/for-next branch and eventually
will be included in the pdx86 pull-request to Linus for the next
merge-window.
Regards,
Hans
> ---
> MAINTAINERS | 4 ++--
> drivers/platform/x86/Kconfig | 10 ----------
> drivers/platform/x86/Makefile | 1 -
> drivers/thermal/intel/Kconfig | 9 +++++++++
> drivers/thermal/intel/Makefile | 1 +
> drivers/{platform/x86 => thermal/intel}/intel_menlow.c | 0
> 6 files changed, 12 insertions(+), 13 deletions(-)
> rename drivers/{platform/x86 => thermal/intel}/intel_menlow.c (100%)
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index fd25e4ecf0b9..4231aea31a6f 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -9459,10 +9459,10 @@ F: include/linux/mfd/intel-m10-bmc.h
>
> INTEL MENLOW THERMAL DRIVER
> M: Sujith Thomas <sujith.thomas@intel.com>
> -L: platform-driver-x86@vger.kernel.org
> +L: linux-pm@vger.kernel.org
> S: Supported
> W: https://01.org/linux-acpi
> -F: drivers/platform/x86/intel_menlow.c
> +F: drivers/thermal/intel/intel_menlow.c
>
> INTEL P-Unit IPC DRIVER
> M: Zha Qipeng <qipeng.zha@intel.com>
> diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
> index d12db6c316ea..da312426b4a5 100644
> --- a/drivers/platform/x86/Kconfig
> +++ b/drivers/platform/x86/Kconfig
> @@ -720,16 +720,6 @@ config INTEL_INT0002_VGPIO
> To compile this driver as a module, choose M here: the module will
> be called intel_int0002_vgpio.
>
> -config INTEL_MENLOW
> - tristate "Thermal Management driver for Intel menlow platform"
> - depends on ACPI_THERMAL
> - select THERMAL
> - help
> - ACPI thermal management enhancement driver on
> - Intel Menlow platform.
> -
> - If unsure, say N.
> -
> config INTEL_OAKTRAIL
> tristate "Intel Oaktrail Platform Extras"
> depends on ACPI
> diff --git a/drivers/platform/x86/Makefile b/drivers/platform/x86/Makefile
> index 7ee369aab10d..0d3af23f1186 100644
> --- a/drivers/platform/x86/Makefile
> +++ b/drivers/platform/x86/Makefile
> @@ -72,7 +72,6 @@ obj-$(CONFIG_INTEL_ATOMISP2_LED) += intel_atomisp2_led.o
> obj-$(CONFIG_INTEL_ATOMISP2_PM) += intel_atomisp2_pm.o
> obj-$(CONFIG_INTEL_HID_EVENT) += intel-hid.o
> obj-$(CONFIG_INTEL_INT0002_VGPIO) += intel_int0002_vgpio.o
> -obj-$(CONFIG_INTEL_MENLOW) += intel_menlow.o
> obj-$(CONFIG_INTEL_OAKTRAIL) += intel_oaktrail.o
> obj-$(CONFIG_INTEL_VBTN) += intel-vbtn.o
>
> diff --git a/drivers/thermal/intel/Kconfig b/drivers/thermal/intel/Kconfig
> index e4299ca3423c..c83ea5d04a1d 100644
> --- a/drivers/thermal/intel/Kconfig
> +++ b/drivers/thermal/intel/Kconfig
> @@ -90,3 +90,12 @@ config INTEL_TCC_COOLING
> Note that, on different platforms, the behavior might be different
> on how fast the setting takes effect, and how much the CPU frequency
> is reduced.
> +
> +config INTEL_MENLOW
> + tristate "Thermal Management driver for Intel menlow platform"
> + depends on ACPI_THERMAL
> + help
> + ACPI thermal management enhancement driver on
> + Intel Menlow platform.
> +
> + If unsure, say N.
> diff --git a/drivers/thermal/intel/Makefile b/drivers/thermal/intel/Makefile
> index 5ff2afa388f7..960b56268b4a 100644
> --- a/drivers/thermal/intel/Makefile
> +++ b/drivers/thermal/intel/Makefile
> @@ -12,3 +12,4 @@ obj-$(CONFIG_INTEL_BXT_PMIC_THERMAL) += intel_bxt_pmic_thermal.o
> obj-$(CONFIG_INTEL_PCH_THERMAL) += intel_pch_thermal.o
> obj-$(CONFIG_INTEL_TCC_COOLING) += intel_tcc_cooling.o
> obj-$(CONFIG_X86_THERMAL_VECTOR) += therm_throt.o
> +obj-$(CONFIG_INTEL_MENLOW) += intel_menlow.o
> diff --git a/drivers/platform/x86/intel_menlow.c b/drivers/thermal/intel/intel_menlow.c
> similarity index 100%
> rename from drivers/platform/x86/intel_menlow.c
> rename to drivers/thermal/intel/intel_menlow.c
>
^ permalink raw reply [flat|nested] 6+ messages in thread