* [PATCH] clk: samsung: fix missing Tesla FSD dependency on Exynos
@ 2022-01-29 17:34 ` Krzysztof Kozlowski
2022-01-29 18:00 ` Krzysztof Kozlowski
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2022-01-29 17:34 UTC (permalink / raw)
To: Sylwester Nawrocki, Tomasz Figa, Chanwoo Choi, Alim Akhtar,
Michael Turquette, Stephen Boyd, Krzysztof Kozlowski,
linux-samsung-soc, linux-clk, linux-kernel
Cc: kernel test robot
The Tesla FSD clock controller driver uses shared parts from Exynos
ARM64 clock drivers, so add proper dependency to fix COMPILE_TEST build
errors like:
/usr/bin/aarch64-linux-gnu-ld: drivers/clk/samsung/clk-fsd.o: in function `fsd_cmu_probe':
clk-fsd.c:(.init.text+0x9c): undefined reference to `exynos_arm64_register_cmu'
Reported-by: kernel test robot <lkp@intel.com>
Fixes: e3f3dc3810d3 ("clk: samsung: fsd: Add cmu_peric block clock information")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
---
drivers/clk/samsung/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/samsung/Kconfig b/drivers/clk/samsung/Kconfig
index 5f64c58f120f..8e8245ab3fd1 100644
--- a/drivers/clk/samsung/Kconfig
+++ b/drivers/clk/samsung/Kconfig
@@ -129,6 +129,7 @@ config S3C2443_COMMON_CLK
config TESLA_FSD_COMMON_CLK
bool "Tesla FSD clock controller support" if COMPILE_TEST
depends on COMMON_CLK_SAMSUNG
+ depends on EXYNOS_ARM64_COMMON_CLK
help
Support for the clock controller present on the Tesla FSD SoC.
Choose Y here only if you build for this SoC.
--
2.32.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] clk: samsung: fix missing Tesla FSD dependency on Exynos
2022-01-29 17:34 ` [PATCH] clk: samsung: fix missing Tesla FSD dependency on Exynos Krzysztof Kozlowski
@ 2022-01-29 18:00 ` Krzysztof Kozlowski
2022-01-30 7:19 ` Alim Akhtar
2022-02-01 8:16 ` Krzysztof Kozlowski
2 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2022-01-29 18:00 UTC (permalink / raw)
To: Sylwester Nawrocki, Tomasz Figa, Chanwoo Choi, Alim Akhtar,
Michael Turquette, Stephen Boyd, linux-samsung-soc, linux-clk,
linux-kernel
Cc: kernel test robot
On 29/01/2022 18:34, Krzysztof Kozlowski wrote:
> The Tesla FSD clock controller driver uses shared parts from Exynos
> ARM64 clock drivers, so add proper dependency to fix COMPILE_TEST build
> errors like:
>
> /usr/bin/aarch64-linux-gnu-ld: drivers/clk/samsung/clk-fsd.o: in function `fsd_cmu_probe':
> clk-fsd.c:(.init.text+0x9c): undefined reference to `exynos_arm64_register_cmu'
>
> Reported-by: kernel test robot <lkp@intel.com>
> Fixes: e3f3dc3810d3 ("clk: samsung: fsd: Add cmu_peric block clock information")
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
> ---
> drivers/clk/samsung/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
What I forgot to mention - the commit being fixes is in my tree, so this
should go as well via Samsung SoC.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [PATCH] clk: samsung: fix missing Tesla FSD dependency on Exynos
2022-01-29 17:34 ` [PATCH] clk: samsung: fix missing Tesla FSD dependency on Exynos Krzysztof Kozlowski
2022-01-29 18:00 ` Krzysztof Kozlowski
@ 2022-01-30 7:19 ` Alim Akhtar
2022-02-01 8:16 ` Krzysztof Kozlowski
2 siblings, 0 replies; 4+ messages in thread
From: Alim Akhtar @ 2022-01-30 7:19 UTC (permalink / raw)
To: 'Krzysztof Kozlowski', 'Sylwester Nawrocki',
'Tomasz Figa', 'Chanwoo Choi',
'Michael Turquette', 'Stephen Boyd',
linux-samsung-soc, linux-clk, linux-kernel
Cc: 'kernel test robot'
>-----Original Message-----
>From: Krzysztof Kozlowski [mailto:krzysztof.kozlowski@canonical.com]
>Sent: Saturday, January 29, 2022 11:04 PM
>To: Sylwester Nawrocki <s.nawrocki@samsung.com>; Tomasz Figa
><tomasz.figa@gmail.com>; Chanwoo Choi <cw00.choi@samsung.com>; Alim
>Akhtar <alim.akhtar@samsung.com>; Michael Turquette
><mturquette@baylibre.com>; Stephen Boyd <sboyd@kernel.org>; Krzysztof
>Kozlowski <krzysztof.kozlowski@canonical.com>; linux-samsung-
>soc@vger.kernel.org; linux-clk@vger.kernel.org; linux-
>kernel@vger.kernel.org
>Cc: kernel test robot <lkp@intel.com>
>Subject: [PATCH] clk: samsung: fix missing Tesla FSD dependency on Exynos
>
>The Tesla FSD clock controller driver uses shared parts from Exynos
>ARM64 clock drivers, so add proper dependency to fix COMPILE_TEST build
>errors like:
>
> /usr/bin/aarch64-linux-gnu-ld: drivers/clk/samsung/clk-fsd.o: in function
>`fsd_cmu_probe':
> clk-fsd.c:(.init.text+0x9c): undefined reference to
>`exynos_arm64_register_cmu'
>
>Reported-by: kernel test robot <lkp@intel.com>
>Fixes: e3f3dc3810d3 ("clk: samsung: fsd: Add cmu_peric block clock
>information")
>Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
>---
Thanks Krzysztof for a quick patch
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
> drivers/clk/samsung/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
>diff --git a/drivers/clk/samsung/Kconfig b/drivers/clk/samsung/Kconfig
index
>5f64c58f120f..8e8245ab3fd1 100644
>--- a/drivers/clk/samsung/Kconfig
>+++ b/drivers/clk/samsung/Kconfig
>@@ -129,6 +129,7 @@ config S3C2443_COMMON_CLK config
>TESLA_FSD_COMMON_CLK
> bool "Tesla FSD clock controller support" if COMPILE_TEST
> depends on COMMON_CLK_SAMSUNG
>+ depends on EXYNOS_ARM64_COMMON_CLK
> help
> Support for the clock controller present on the Tesla FSD SoC.
> Choose Y here only if you build for this SoC.
>--
>2.32.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] clk: samsung: fix missing Tesla FSD dependency on Exynos
2022-01-29 17:34 ` [PATCH] clk: samsung: fix missing Tesla FSD dependency on Exynos Krzysztof Kozlowski
2022-01-29 18:00 ` Krzysztof Kozlowski
2022-01-30 7:19 ` Alim Akhtar
@ 2022-02-01 8:16 ` Krzysztof Kozlowski
2 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2022-02-01 8:16 UTC (permalink / raw)
To: Michael Turquette, Alim Akhtar, Stephen Boyd, linux-samsung-soc,
Krzysztof Kozlowski, Tomasz Figa, Sylwester Nawrocki,
linux-kernel, linux-clk, Chanwoo Choi
Cc: kernel test robot
On Sat, 29 Jan 2022 18:34:07 +0100, Krzysztof Kozlowski wrote:
> The Tesla FSD clock controller driver uses shared parts from Exynos
> ARM64 clock drivers, so add proper dependency to fix COMPILE_TEST build
> errors like:
>
> /usr/bin/aarch64-linux-gnu-ld: drivers/clk/samsung/clk-fsd.o: in function `fsd_cmu_probe':
> clk-fsd.c:(.init.text+0x9c): undefined reference to `exynos_arm64_register_cmu'
>
> [...]
Applied, thanks!
[1/1] clk: samsung: fix missing Tesla FSD dependency on Exynos
commit: 0b59bc00a6936e8670b58d4307a2cfba341d40d0
Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-02-01 8:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CGME20220129173417epcas5p35f8f3497b6465c07c481b62ceeff0ef0@epcas5p3.samsung.com>
2022-01-29 17:34 ` [PATCH] clk: samsung: fix missing Tesla FSD dependency on Exynos Krzysztof Kozlowski
2022-01-29 18:00 ` Krzysztof Kozlowski
2022-01-30 7:19 ` Alim Akhtar
2022-02-01 8:16 ` Krzysztof Kozlowski
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.