From: Mikko Perttunen <mperttunen@nvidia.com>
To: linux-tegra@vger.kernel.org, Rosen Penev <rosenp@gmail.com>
Cc: Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>,
Thierry Reding <thierry.reding@gmail.com>,
Jonathan Hunter <jonathanh@nvidia.com>,
"open list:COMMON CLK FRAMEWORK" <linux-clk@vger.kernel.org>,
open list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCHv2] firmware/tegra: add COMPILE_TEST
Date: Tue, 24 Mar 2026 15:01:00 +0900 [thread overview]
Message-ID: <2776817.iZASKD2KPV@senjougahara> (raw)
In-Reply-To: <20260324015722.12507-1-rosenp@gmail.com>
On Tuesday, March 24, 2026 10:57 AM Rosen Penev wrote:
> For this driver specifically, there's no arch specific stuff needed.
>
> Build the tegra clk stuff as tegra_bpmp_init_clocks is defined there.
> CLK_TEGRA_BPMP also depends on TEGRA_BPMP.
>
> Signed-off-by: Rosen Penev <rosenp@gmail.com>
> ---
> v2: also build the tegra clk stuff.
> drivers/clk/Makefile | 2 +-
> drivers/firmware/tegra/Kconfig | 4 ++--
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile
> index 760d9643705f..334d5c522394 100644
> --- a/drivers/clk/Makefile
> +++ b/drivers/clk/Makefile
> @@ -154,7 +154,7 @@ obj-$(CONFIG_ARCH_STM32) += stm32/
> obj-y += starfive/
> obj-$(CONFIG_ARCH_SUNXI) += sunxi/
> obj-y += sunxi-ng/
> -obj-$(CONFIG_ARCH_TEGRA) += tegra/
> +obj-y += tegra/
clk/tegra/Makefile doesn't separately check for ARCH_TEGRA, so this will cause
much of it to get built on non-Tegra platforms as well.
Cheers,
Mikko
> obj-y += tenstorrent/
> obj-$(CONFIG_ARCH_THEAD) += thead/
> obj-y += ti/
> diff --git a/drivers/firmware/tegra/Kconfig b/drivers/firmware/tegra/Kconfig
> index 91f2320c0d0f..ae21f460807d 100644
> --- a/drivers/firmware/tegra/Kconfig
> +++ b/drivers/firmware/tegra/Kconfig
> @@ -3,7 +3,7 @@ menu "Tegra firmware driver"
>
> config TEGRA_IVC
> bool "Tegra IVC protocol" if COMPILE_TEST
> - depends on ARCH_TEGRA
> + depends on ARCH_TEGRA || COMPILE_TEST
> help
> IVC (Inter-VM Communication) protocol is part of the IPC
> (Inter Processor Communication) framework on Tegra. It maintains
the
> @@ -13,7 +13,7 @@ config TEGRA_IVC
>
> config TEGRA_BPMP
> bool "Tegra BPMP driver"
> - depends on ARCH_TEGRA && TEGRA_HSP_MBOX
> + depends on (ARCH_TEGRA && TEGRA_HSP_MBOX) || COMPILE_TEST
> depends on !CPU_BIG_ENDIAN
> select TEGRA_IVC
> help
> --
> 2.53.0
next prev parent reply other threads:[~2026-03-24 6:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-24 1:57 [PATCHv2] firmware/tegra: add COMPILE_TEST Rosen Penev
2026-03-24 6:01 ` Mikko Perttunen [this message]
2026-03-24 6:42 ` Rosen Penev
2026-03-24 11:33 ` Thierry Reding
2026-03-26 19:35 ` kernel test robot
2026-03-26 19:35 ` kernel test robot
2026-03-26 21:51 ` kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2776817.iZASKD2KPV@senjougahara \
--to=mperttunen@nvidia.com \
--cc=jonathanh@nvidia.com \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=rosenp@gmail.com \
--cc=sboyd@kernel.org \
--cc=thierry.reding@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox