thermal: add COMPILE_TEST (on drivers)
Subsystems (5)
Eduardo Valentin
maintainerPATCH 1/17 thermal: hisi: allow compile test
In reply to Eduardo ValentinAdding COMPILE_TEST flag to hisi driver to facilitate maintenance.
--- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/Kconfig +1 -1
@@ -163,7 +163,7 @@ config THERMAL_EMULATION config HISI_THERMAL tristate "Hisilicon thermal driver" - depends on ARCH_HISI && CPU_THERMAL && OF + depends on (ARCH_HISI && CPU_THERMAL && OF) || COMPILE_TEST help Enable this to plug hisilicon's thermal sensor driver into the Linux thermal framework. cpufreq is used as the cooling device to throttle
Signature · 1 line
2.5.0
Eduardo Valentin
maintainerPATCH 2/17 thermal: spear: allow compile test
In reply to Eduardo ValentinAdding COMPILE_TEST flag to spear driver to facilitate maintenance.
--- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/Kconfig +1 -1
@@ -182,7 +182,7 @@ config IMX_THERMAL config SPEAR_THERMAL bool "SPEAr thermal sensor driver" - depends on PLAT_SPEAR + depends on PLAT_SPEAR || COMPILE_TEST depends on OF help Enable this to plug the SPEAr thermal sensor driver into the Linux
Signature · 1 line
2.5.0
Eduardo Valentin
maintainerPATCH 3/17 thermal: rockchip: allow compile test
In reply to Eduardo ValentinAdding COMPILE_TEST flag to rockchip driver to facilitate maintenance.
--- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/Kconfig +1 -1
@@ -190,7 +190,7 @@ config SPEAR_THERMAL config ROCKCHIP_THERMAL tristate "Rockchip thermal driver" - depends on ARCH_ROCKCHIP + depends on ARCH_ROCKCHIP || COMPILE_TEST depends on RESET_CONTROLLER help Rockchip thermal driver provides support for Temperature sensor
Signature · 1 line
2.5.0
Eduardo Valentin
maintainerPATCH 4/17 thermal: kirkwood: allow compile test
In reply to Eduardo ValentinAdding COMPILE_TEST flag to kirkwood driver to facilitate maintenance.
--- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/Kconfig +1 -1
@@ -208,7 +208,7 @@ config RCAR_THERMAL config KIRKWOOD_THERMAL tristate "Temperature sensor on Marvell Kirkwood SoCs" - depends on MACH_KIRKWOOD + depends on MACH_KIRKWOOD || COMPILE_TEST depends on OF help Support for the Kirkwood thermal sensor driver into the Linux thermal
Signature · 1 line
2.5.0
Eduardo Valentin
maintainerPATCH 6/17 thermal: u8500: allow compile test
In reply to Eduardo ValentinAdding COMPILE_TEST flag to u8500 driver to facilitate maintenance.
--- drivers/thermal/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/thermal/Kconfig +2 -2
@@ -224,7 +224,7 @@ config DOVE_THERMAL config DB8500_THERMAL bool "DB8500 thermal management" - depends on ARCH_U8500 + depends on ARCH_U8500 || COMPILE_TEST default y help Adds DB8500 thermal management implementation according to the thermal
@@ -252,7 +252,7 @@ config TEGRA_SOCTHERM config DB8500_CPUFREQ_COOLING tristate "DB8500 cpufreq cooling" - depends on ARCH_U8500 + depends on ARCH_U8500 || COMPILE_TEST depends on CPU_THERMAL default y help
Signature · 1 line
2.5.0
Eduardo Valentin
maintainerPATCH 7/17 thermal: armada: allow compile test
In reply to Eduardo ValentinAdding COMPILE_TEST flag to armada driver to facilitate maintenance.
--- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/Kconfig +1 -1
@@ -234,7 +234,7 @@ config DB8500_THERMAL config ARMADA_THERMAL tristate "Armada 370/XP thermal management" - depends on ARCH_MVEBU + depends on ARCH_MVEBU || COMPILE_TEST depends on OF help Enable this option if you want to have support for thermal management
Signature · 1 line
2.5.0
Eduardo Valentin
maintainerPATCH 8/17 thermal: tegra: allow compile test
In reply to Eduardo ValentinAdding COMPILE_TEST flag to tegra driver to facilitate maintenance.
--- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/Kconfig +1 -1
@@ -242,7 +242,7 @@ config ARMADA_THERMAL config TEGRA_SOCTHERM tristate "Tegra SOCTHERM thermal management" - depends on ARCH_TEGRA + depends on ARCH_TEGRA || COMPILE_TEST help Enable this option for integrated thermal management support on NVIDIA Tegra124 systems-on-chip. The driver supports four thermal zones
Signature · 1 line
2.5.0
Eduardo Valentin
maintainerPATCH 9/17 thermal: powerclamp: allow compile test
In reply to Eduardo ValentinAdding COMPILE_TEST flag to powerclamp driver to facilitate maintenance.
--- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/Kconfig +1 -1
@@ -264,7 +264,7 @@ config DB8500_CPUFREQ_COOLING config INTEL_POWERCLAMP tristate "Intel PowerClamp idle injection driver" depends on THERMAL - depends on X86 + depends on X86 || COMPILE_TEST depends on CPU_SUP_INTEL help Enable this to enable Intel PowerClamp idle injection driver. This
Signature · 1 line
2.5.0
Eduardo Valentin
maintainerPATCH 10/17 thermal: intel_soc_dts_iosf: allow compile test
In reply to Eduardo ValentinAdding COMPILE_TEST flag to intel_soc_dts_iosf driver to facilitate maintenance.
--- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/Kconfig +1 -1
@@ -284,7 +284,7 @@ config X86_PKG_TEMP_THERMAL config INTEL_SOC_DTS_IOSF_CORE tristate - depends on X86 + depends on X86 || COMPILE_TEST select IOSF_MBI help This is becoming a common feature for Intel SoCs to expose the additional
Signature · 1 line
2.5.0
Eduardo Valentin
maintainerPATCH 11/17 thermal: intel_soc_dts: allow compile test
In reply to Eduardo ValentinAdding COMPILE_TEST flag to intel_soc_dts driver to facilitate maintenance.
--- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/Kconfig +1 -1
@@ -294,7 +294,7 @@ config INTEL_SOC_DTS_IOSF_CORE config INTEL_SOC_DTS_THERMAL tristate "Intel SoCs DTS thermal driver" - depends on X86 + depends on X86 || COMPILE_TEST select INTEL_SOC_DTS_IOSF_CORE help Enable this to register Intel SoCs (e.g. Bay Trail) platform digital
Signature · 1 line
2.5.0
Eduardo Valentin
maintainerPATCH 12/17 thermal: intel_quark: allow compile test
In reply to Eduardo ValentinAdding COMPILE_TEST flag to intel_quark driver to facilitate maintenance.
--- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/Kconfig +1 -1
@@ -307,7 +307,7 @@ config INTEL_SOC_DTS_THERMAL config INTEL_QUARK_DTS_THERMAL tristate "Intel Quark DTS thermal driver" - depends on X86_INTEL_QUARK + depends on X86_INTEL_QUARK || COMPILE_TEST help Enable this to register Intel Quark SoC (e.g. X1000) platform digital temperature sensor (DTS). For X1000 SoC, it has one on-die DTS.
Signature · 1 line
2.5.0
Eduardo Valentin
maintainerPATCH 13/17 thermal: int340x: allow compile test
In reply to Eduardo ValentinAdding COMPILE_TEST flag to int340x driver to facilitate maintenance.
--- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/Kconfig +1 -1
@@ -317,7 +317,7 @@ config INTEL_QUARK_DTS_THERMAL config INT340X_THERMAL tristate "ACPI INT340X thermal drivers" - depends on X86 && ACPI + depends on (X86 && ACPI) || COMPILE_TEST select THERMAL_GOV_USER_SPACE select ACPI_THERMAL_REL select ACPI_FAN
Signature · 1 line
2.5.0
Eduardo Valentin
maintainerPATCH 14/17 thermal: exynos: allow compile test
In reply to Eduardo ValentinAdding COMPILE_TEST flag to exynos driver to facilitate maintenance.
--- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/Kconfig +1 -1
@@ -345,7 +345,7 @@ source "drivers/thermal/ti-soc-thermal/Kconfig" endmenu menu "Samsung thermal drivers" -depends on ARCH_EXYNOS +depends on ARCH_EXYNOS || COMPILE_TEST source "drivers/thermal/samsung/Kconfig" endmenu
Signature · 1 line
2.5.0
Eduardo Valentin
maintainerPATCH 15/17 thermal: st: allow compile test
In reply to Eduardo ValentinAdding COMPILE_TEST flag to st driver to facilitate maintenance.
--- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/Kconfig +1 -1
@@ -350,7 +350,7 @@ source "drivers/thermal/samsung/Kconfig" endmenu menu "STMicroelectronics thermal drivers" -depends on ARCH_STI && OF +depends on (ARCH_STI || COMPILE_TEST) && OF source "drivers/thermal/st/Kconfig" endmenu
Signature · 1 line
2.5.0
Eduardo Valentin
maintainerPATCH 17/17 thermal: ti-soc: allow compile test
In reply to Eduardo ValentinAdding COMPILE_TEST flag to ti-soc driver to facilitate maintenance.
--- drivers/thermal/ti-soc-thermal/Kconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/thermal/ti-soc-thermal/Kconfig +4 -4
@@ -1,7 +1,7 @@ config TI_SOC_THERMAL tristate "Texas Instruments SoCs temperature sensor driver" depends on THERMAL - depends on ARCH_HAS_BANDGAP + depends on ARCH_HAS_BANDGAP || COMPILE_TEST help If you say yes here you get support for the Texas Instruments OMAP4460+ on die bandgap temperature sensor support. The register
@@ -24,7 +24,7 @@ config TI_THERMAL config OMAP4_THERMAL bool "Texas Instruments OMAP4 thermal support" depends on TI_SOC_THERMAL - depends on ARCH_OMAP4 + depends on ARCH_OMAP4 || COMPILE_TEST help If you say yes here you get thermal support for the Texas Instruments OMAP4 SoC family. The current chip supported are:
@@ -38,7 +38,7 @@ config OMAP4_THERMAL config OMAP5_THERMAL bool "Texas Instruments OMAP5 thermal support" depends on TI_SOC_THERMAL - depends on SOC_OMAP5 + depends on SOC_OMAP5 || COMPILE_TEST help If you say yes here you get thermal support for the Texas Instruments OMAP5 SoC family. The current chip supported are:
@@ -50,7 +50,7 @@ config OMAP5_THERMAL config DRA752_THERMAL bool "Texas Instruments DRA752 thermal support" depends on TI_SOC_THERMAL - depends on SOC_DRA7XX + depends on SOC_DRA7XX || COMPILE_TEST help If you say yes here you get thermal support for the Texas Instruments DRA752 SoC family. The current chip supported are:
Signature · 1 line
2.5.0
Eduardo Valentin
maintainercover thermal: add COMPILE_TEST (on drivers)
Hello all,
This is a simple series to add the COMPILE_TEST on thermal drivers. The idea is to help compiling and maintaining.
Split into smaller patches so people can have their own voices on their drivers.
Let me know if this is a problem.
BR,
Eduardo Valentin (17):
thermal: hisi: allow compile test
thermal: spear: allow compile test
thermal: rockchip: allow compile test
thermal: kirkwood: allow compile test
thermal: dove: allow compile test
thermal: u8500: allow compile test
thermal: armada: allow compile test
thermal: tegra: allow compile test
thermal: powerclamp: allow compile test
thermal: intel_soc_dts_iosf: allow compile test
thermal: intel_soc_dts: allow compile test
thermal: intel_quark: allow compile test
thermal: int340x: allow compile test
thermal: exynos: allow compile test
thermal: st: allow compile test
thermal: qcom_spmi: allow compile test
thermal: ti-soc: allow compile test
drivers/thermal/Kconfig | 34 +++++++++++++++++----------------- drivers/thermal/ti-soc-thermal/Kconfig | 8 ++++---- 2 files changed, 21 insertions(+), 21 deletions(-)
Signature · 1 line
2.5.0
Eduardo Valentin
maintainerPATCH 5/17 thermal: dove: allow compile test
Adding COMPILE_TEST flag to dove driver to facilitate maintenance.
--- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/Kconfig +1 -1
@@ -216,7 +216,7 @@ config KIRKWOOD_THERMAL config DOVE_THERMAL tristate "Temperature sensor on Marvell Dove SoCs" - depends on ARCH_DOVE || MACH_DOVE + depends on ARCH_DOVE || MACH_DOVE || COMPILE_TEST depends on OF help Support for the Dove thermal sensor driver in the Linux thermal
Signature · 1 line
2.5.0
Eduardo Valentin
maintainerPATCH 16/17 thermal: qcom_spmi: allow compile test
In reply to Eduardo ValentinAdding COMPILE_TEST flag to qcom_spmi driver to facilitate maintenance.
--- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/Kconfig +1 -1
@@ -356,7 +356,7 @@ endmenu config QCOM_SPMI_TEMP_ALARM tristate "Qualcomm SPMI PMIC Temperature Alarm" - depends on OF && SPMI && IIO + depends on OF && (SPMI || COMPILE_TEST) && IIO select REGMAP_SPMI help This enables a thermal sysfs driver for Qualcomm plug-and-play (QPNP)
Signature · 1 line
2.5.0
Re: [PATCH 02/17] thermal: spear: allow compile test
In reply to Eduardo ValentinQuoted 16 lines · Eduardo Valentin
Adding
COMPILE_TESTflag to spear driver to facilitate maintenance.Cc Zhang Rui <[email protected]>Signed-off-by Eduardo Valentin <[email protected]>--- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/thermal/Kconfig +0
-0
drivers/thermal/Kconfig config IMX_THERMAL · line 188
Quoted 8 lines
drivers/thermal/Kconfig +1
-1@@ -182,7 +182,7 @@ config IMX_THERMAL config SPEAR_THERMAL bool "SPEAr thermal sensor driver" - depends on PLAT_SPEAR + depends on PLAT_SPEAR || COMPILE_TEST depends on OF help Enable this to plug the SPEAr thermal sensor driver into the Linux
Hi Eduardo,
Quoted 2 lines · Eduardo Valentin
This is a simple series to add the
COMPILE_TESTon thermal drivers. The idea is to help compiling and maintaining.
Thanks, good idea!
Quoted 3 lines
Split into smaller patches so people can have their own voices on their drivers.
Let me know if this is a problem.
Have you compile-tested this?
I'm seeing too many failures.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Re: [PATCH 10/17] thermal: intel_soc_dts_iosf: allow compile test
In reply to Eduardo Valentindrivers/thermal/Kconfig config X86_PKG_TEMP_THERMAL · line 287
Quoted 8 lines · Eduardo Valentin
drivers/thermal/Kconfig +1
-1@@ -284,7 +284,7 @@ config X86_PKG_TEMP_THERMAL config INTEL_SOC_DTS_IOSF_CORE tristate - depends on X86 + depends on X86 || COMPILE_TEST
drivers/thermal/intel_soc_dts_iosf.c:21:26: error: asm/iosf_mbi.h: No such file or directory
x86-only header file
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Re: [PATCH 11/17] thermal: intel_soc_dts: allow compile test
In reply to Eduardo Valentindrivers/thermal/Kconfig config INTEL_SOC_DTS_IOSF_CORE · line 297
Quoted 8 lines · Eduardo Valentin
drivers/thermal/Kconfig +1
-1@@ -294,7 +294,7 @@ config INTEL_SOC_DTS_IOSF_CORE config INTEL_SOC_DTS_THERMAL tristate "Intel SoCs DTS thermal driver" - depends on X86 + depends on X86 || COMPILE_TEST
drivers/thermal/intel_soc_dts_thermal.c:20:31: error:asm/cpu_device_id.h: No such file or directory
x86-only header file
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Re: [PATCH 12/17] thermal: intel_quark: allow compile test
In reply to Eduardo Valentindrivers/thermal/Kconfig config INTEL_SOC_DTS_THERMAL · line 310
Quoted 8 lines · Eduardo Valentin
drivers/thermal/Kconfig +1
-1@@ -307,7 +307,7 @@ config INTEL_SOC_DTS_THERMAL config INTEL_QUARK_DTS_THERMAL tristate "Intel Quark DTS thermal driver" - depends on X86_INTEL_QUARK + depends on X86_INTEL_QUARK || COMPILE_TEST
drivers/thermal/intel_quark_dts_thermal.c:64:31: error:asm/cpu_device_id.h: No such file or directory drivers/thermal/intel_quark_dts_thermal.c:65:26: error:asm/iosf_mbi.h: No such file or directory
x86-only header files
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Re: [PATCH 13/17] thermal: int340x: allow compile test
In reply to Eduardo Valentindrivers/thermal/Kconfig config INTEL_QUARK_DTS_THERMAL · line 323
Quoted 11 lines · Eduardo Valentin
drivers/thermal/Kconfig +1
-1@@ -317,7 +317,7 @@ config INTEL_QUARK_DTS_THERMAL config INT340X_THERMAL tristate "ACPI INT340X thermal drivers" - depends on X86 && ACPI + depends on (X86 && ACPI) || COMPILE_TEST select THERMAL_GOV_USER_SPACE select ACPI_THERMAL_REL select ACPI_FAN
This driver selects INTEL_SOC_DTS_IOSF_CORE, which uses an x86-specific header file.
drivers/thermal/int340x_thermal/int3400_thermal.c: In function ‘int3400_thermal_get_uuids’:drivers/thermal/int340x_thermal/int3400_thermal.c:120: error:
dereferencing pointer to incomplete type
Missing #include <linux/fs.h>
drivers/thermal/int340x_thermal/acpi_thermal_rel.c: In function ‘acpi_parse_trt’:drivers/thermal/int340x_thermal/acpi_thermal_rel.c:85: error: implicit declaration of function ‘acpi_has_method’
Missing #include <acpi/acpi_bus.h>
drivers/thermal/int340x_thermal/acpi_thermal_rel.c: In function ‘acpi_parse_trt’:drivers/thermal/int340x_thermal/acpi_thermal_rel.c:125: error:
implicit declaration of function ‘acpi_bus_get_device’
Definition depends on CONFIG_ACPI
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Re: [PATCH 06/17] thermal: u8500: allow compile test
In reply to Eduardo Valentindrivers/thermal/Kconfig config DOVE_THERMAL · line 227
Quoted 8 lines · Eduardo Valentin
drivers/thermal/Kconfig +1
-1@@ -224,7 +224,7 @@ config DOVE_THERMAL config DB8500_THERMAL bool "DB8500 thermal management" - depends on ARCH_U8500 + depends on ARCH_U8500 || COMPILE_TEST
In file included from drivers/thermal/db8500_thermal.c:23:include/linux/mfd/dbx500-prcmu.h:437: error: redefinition of ‘prcmu_abb_read’ include/linux/mfd/db8500-prcmu.h:648: error: previous definition of ‘prcmu_abb_read’ was hereinclude/linux/mfd/dbx500-prcmu.h:442: error: redefinition of ‘prcmu_abb_write’ include/linux/mfd/db8500-prcmu.h:653: error: previous definition of ‘prcmu_abb_write’ was hereinclude/linux/mfd/dbx500-prcmu.h:453: error: redefinition of ‘prcmu_config_clkout’include/linux/mfd/db8500-prcmu.h:618: error: previous definition of ‘prcmu_config_clkout’ was here include/linux/mfd/dbx500-prcmu.h:520: error: redefinition of ‘prcmu_ac_wake_req’ include/linux/mfd/db8500-prcmu.h:658: error: previous definition of ‘prcmu_ac_wake_req’ was hereinclude/linux/mfd/dbx500-prcmu.h:524: error: redefinition of ‘prcmu_ac_sleep_req’include/linux/mfd/db8500-prcmu.h:662: error: previous definition of ‘prcmu_ac_sleep_req’ was here
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Re: [PATCH 08/17] thermal: tegra: allow compile test
In reply to Eduardo Valentindrivers/thermal/Kconfig config ARMADA_THERMAL · line 245
Quoted 8 lines · Eduardo Valentin
drivers/thermal/Kconfig +1
-1@@ -242,7 +242,7 @@ config ARMADA_THERMAL config TEGRA_SOCTHERM tristate "Tegra SOCTHERM thermal management" - depends on ARCH_TEGRA + depends on ARCH_TEGRA || COMPILE_TEST
ERROR: "tegra_fuse_readl" [drivers/thermal/tegra_soctherm.ko] undefined!
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Eduardo Valentin
maintainerQuoted 6 lines · Geert Uytterhoeven
Hi Eduardo,
Quoted 2 lines · Eduardo Valentin
This is a simple series to add the
COMPILE_TESTon thermal drivers. The idea is to help compiling and maintaining.
Quoted 8 lines
Thanks, good idea!
Quoted 3 lines
Split into smaller patches so people can have their own voices on their drivers.
Let me know if this is a problem.
Have you compile-tested this?
I'm seeing too many failures.
Yes I did, but apparently I missed some drivers in my test. I had x86 target while compile arm drivers, thats probably why I did not see the cpuid problems. I am trying again, as I really did not see all errors you mentioned on arm drivers.
That generating errors will need to be left out of the series and should have its own set of changes to allow compile test.
Quoted 11 lines
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Hi Eduardo,
Quoted 11 lines · Eduardo Valentin
Quoted 10 lines · Geert Uytterhoeven
Quoted 2 lines · Eduardo Valentin
This is a simple series to add the
COMPILE_TESTon thermal drivers. The idea is to help compiling and maintaining.Thanks, good idea!
Quoted 3 lines
Split into smaller patches so people can have their own voices on their drivers.
Let me know if this is a problem.
Quoted 7 lines
Quoted 2 lines
Have you compile-tested this?
I'm seeing too many failures.Yes I did, but apparently I missed some drivers in my test. I had x86 target while compile arm drivers, thats probably why I did not see the cpuid problems. I am trying again, as I really did not see all errors you mentioned on arm drivers.
I compiled on m68k, to make sure none of the drivers are native ;-)
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Re: [PATCH 15/17] thermal: st: allow compile test
In reply to Eduardo ValentinQuoted 12 lines · Eduardo Valentin
Adding
COMPILE_TESTflag to st driver to facilitate maintenance.Cc Zhang Rui <[email protected]>Cc Nicolas Boichat <[email protected]>Cc Mark Brown <[email protected]>Cc Fabian Frederick <[email protected]>Cc Wolfram Sang <[email protected]>Cc Lee Jones <[email protected]>Signed-off-by Eduardo Valentin <[email protected]>
Quoted 3 lines
--- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Sounds reasonable.
So long as it's been tested and nothing breaks:
Quoted 13 lines
drivers/thermal/Kconfig +1
-1@@ -350,7 +350,7 @@ source "drivers/thermal/samsung/Kconfig" endmenu menu "STMicroelectronics thermal drivers" -depends on ARCH_STI && OF +depends on (ARCH_STI || COMPILE_TEST) && OF source "drivers/thermal/st/Kconfig" endmenu
Signature · 4 lines
Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog
Eduardo Valentin
maintainerRe: [PATCH 15/17] thermal: st: allow compile test
Quoted 18 lines · Lee Jones
Quoted 12 lines · Eduardo Valentin
Adding
COMPILE_TESTflag to st driver to facilitate maintenance.Cc Zhang Rui <[email protected]>Cc Nicolas Boichat <[email protected]>Cc Mark Brown <[email protected]>Cc Fabian Frederick <[email protected]>Cc Wolfram Sang <[email protected]>Cc Lee Jones <[email protected]>Signed-off-by Eduardo Valentin <[email protected]>Quoted 3 lines
--- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 5 lines
Sounds reasonable.
So long as it's been tested and nothing breaks:
Acked-by Lee Jones <[email protected]>
Thanks for the review. But now checking the compilation test using bfin as target, I see several compilation issues.
So, I am leaving this one out for now. It requires further changes.
BR,
Quoted 20 lines
Quoted 14 lines
drivers/thermal/Kconfig +1
-1@@ -350,7 +350,7 @@ source "drivers/thermal/samsung/Kconfig" endmenu menu "STMicroelectronics thermal drivers" -depends on ARCH_STI && OF +depends on (ARCH_STI || COMPILE_TEST) && OF source "drivers/thermal/st/Kconfig" endmenuSignature · 4 lines
Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog
Re: [PATCH 13/17] thermal: int340x: allow compile test
In reply to Geert UytterhoevenQuoted 28 lines · Geert Uytterhoeven
drivers/thermal/Kconfig config INTEL_QUARK_DTS_THERMAL · line 323
Quoted 11 lines · Eduardo Valentin
drivers/thermal/Kconfig +1
-1@@ -317,7 +317,7 @@ config INTEL_QUARK_DTS_THERMAL config INT340X_THERMAL tristate "ACPI INT340X thermal drivers" - depends on X86 && ACPI + depends on (X86 && ACPI) || COMPILE_TEST select THERMAL_GOV_USER_SPACE select ACPI_THERMAL_REL select ACPI_FANThis driver selects
INTEL_SOC_DTS_IOSF_CORE, which uses an x86-specific header file.
drivers/thermal/int340x_thermal/int3400_thermal.c: In function ‘int3400_thermal_get_uuids’:drivers/thermal/int340x_thermal/int3400_thermal.c:120: error:
dereferencing pointer to incomplete typeMissing #include <
linux/fs.h>
drivers/thermal/int340x_thermal/acpi_thermal_rel.c: In function ‘acpi_parse_trt’:drivers/thermal/int340x_thermal/acpi_thermal_rel.c:85: error: implicit declaration of function ‘acpi_has_method’
Quoted 9 lines
Missing #include <
acpi/acpi_bus.h>
drivers/thermal/int340x_thermal/acpi_thermal_rel.c: In function ‘acpi_parse_trt’:drivers/thermal/int340x_thermal/acpi_thermal_rel.c:125: error:
implicit declaration of function ‘acpi_bus_get_device’Definition depends on
CONFIG_ACPI
Yes. This has dependency on ACPI. We need to also include ACPI modules to build. For IOSF we need to have stub functions for core calls.
Thanks,
Srinivas
Quoted 14 lines
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html