Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1432056 > unrolled thread

[PATCH] devfreq: Add COMPILE_TEST for build coverage

Started byKrzysztof Kozlowski <k.kozlowski@samsung.com>
First post2016-06-27 16:00 +0200
Last post2016-06-29 13:20 +0200
Articles 2 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] devfreq: Add COMPILE_TEST for build coverage Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-06-27 16:00 +0200
    Re: [PATCH] devfreq: Add COMPILE_TEST for build coverage Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-06-29 13:20 +0200

#1432056 — [PATCH] devfreq: Add COMPILE_TEST for build coverage

FromKrzysztof Kozlowski <k.kozlowski@samsung.com>
Date2016-06-27 16:00 +0200
Subject[PATCH] devfreq: Add COMPILE_TEST for build coverage
Message-ID<rOFeW-XV-25@gated-at.bofh.it>
The SoC-specific devfreq and event drivers can be build tested on all
architectures.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>

---

Success of compilation tested on ARM, ARM64, i386, x86_64 and powerpc
architectures (allyesconfigs).
---
 drivers/devfreq/Kconfig       | 4 ++--
 drivers/devfreq/event/Kconfig | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/devfreq/Kconfig b/drivers/devfreq/Kconfig
index 78dac0e9da11..8a93d65cf550 100644
--- a/drivers/devfreq/Kconfig
+++ b/drivers/devfreq/Kconfig
@@ -76,7 +76,7 @@ comment "DEVFREQ Drivers"
 
 config ARM_EXYNOS_BUS_DEVFREQ
 	bool "ARM EXYNOS Generic Memory Bus DEVFREQ Driver"
-	depends on ARCH_EXYNOS
+	depends on ARCH_EXYNOS || COMPILE_TEST
 	select DEVFREQ_GOV_SIMPLE_ONDEMAND
 	select DEVFREQ_GOV_PASSIVE
 	select DEVFREQ_EVENT_EXYNOS_PPMU
@@ -92,7 +92,7 @@ config ARM_EXYNOS_BUS_DEVFREQ
 
 config ARM_TEGRA_DEVFREQ
        tristate "Tegra DEVFREQ Driver"
-       depends on ARCH_TEGRA_124_SOC
+       depends on ARCH_TEGRA_124_SOC || (COMPILE_TEST && HAVE_CLK)
        select DEVFREQ_GOV_SIMPLE_ONDEMAND
        select PM_OPP
        help
diff --git a/drivers/devfreq/event/Kconfig b/drivers/devfreq/event/Kconfig
index 1e8b4f469f38..ad982092359a 100644
--- a/drivers/devfreq/event/Kconfig
+++ b/drivers/devfreq/event/Kconfig
@@ -15,7 +15,7 @@ if PM_DEVFREQ_EVENT
 
 config DEVFREQ_EVENT_EXYNOS_NOCP
 	bool "EXYNOS NoC (Network On Chip) Probe DEVFREQ event Driver"
-	depends on ARCH_EXYNOS
+	depends on ARCH_EXYNOS || COMPILE_TEST
 	select PM_OPP
 	help
 	  This add the devfreq-event driver for Exynos SoC. It provides NoC
@@ -23,7 +23,7 @@ config DEVFREQ_EVENT_EXYNOS_NOCP
 
 config DEVFREQ_EVENT_EXYNOS_PPMU
 	bool "EXYNOS PPMU (Platform Performance Monitoring Unit) DEVFREQ event Driver"
-	depends on ARCH_EXYNOS
+	depends on ARCH_EXYNOS || COMPILE_TEST
 	select PM_OPP
 	help
 	  This add the devfreq-event driver for Exynos SoC. It provides PPMU
-- 
1.9.1

[toc] | [next] | [standalone]


#1433676

FromKrzysztof Kozlowski <k.kozlowski@samsung.com>
Date2016-06-29 13:20 +0200
Message-ID<rPlHb-3vT-7@gated-at.bofh.it>
In reply to#1432056
On 06/27/2016 03:58 PM, Krzysztof Kozlowski wrote:
> The SoC-specific devfreq and event drivers can be build tested on all
> architectures.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> 
> ---
> 
> Success of compilation tested on ARM, ARM64, i386, x86_64 and powerpc
> architectures (allyesconfigs).
> ---
>  drivers/devfreq/Kconfig       | 4 ++--
>  drivers/devfreq/event/Kconfig | 4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)

Hi all,

The patchset depends "clk: Provide notifier stubs when
!COMMON_CLKclk-notify" [1] which you can get by merging clk-notify
branch of clk tree:

git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-notify

Can you pull while applying?

Best regards,
Krzysztof


[1]
https://git.kernel.org/cgit/linux/kernel/git/clk/linux.git/commit/?h=clk-notify&id=e81b87d22a8fed6bac24197972c9c394a2b92b5d

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web