From: Paul Cercueil <paul@crapouillou.net>
To: "H. Nikolaus Schaller" <hns@goldelico.com>,
"Thomas Bogendoerfer" <tsbogend@alpha.franken.de>,
"Paul Burton" <paulburton@kernel.org>,
"周琰杰, Pengpeng Hou" <pengpeng@iscas.ac.cn>,
"Takashi Iwai" <tiwai@suse.de>,
"Janusz Krzysztofik" <jmkrzyszt@gmail.com>,
"David Heidelberg" <david@ixit.cz>,
"Paul Boddie" <paul@boddie.org.uk>,
"Maciej W . Rozycki" <macro@orcam.me.uk>,
"Jiaxun Yang" <jiaxun.yang@flygoat.com>,
"Danilo Krummrich" <dakr@kernel.org>,
"Vinod Koul" <vkoul@kernel.org>
Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org,
letux-kernel@openphoenux.org, stable@vger.kernel.org
Subject: Re: [PATCH v3 3/8] MIPS: Ingenic: Do not force BUILTIN_DTB in Kconfig
Date: Mon, 30 Nov 2026 17:48:25 +0100 [thread overview]
Message-ID: <9a3676280c8cd5f7226318298f9c6931a33d6cb1.camel@crapouillou.net> (raw)
In-Reply-To: <0dc01e3a7a5de5f566be2ef6cbff1860af489913.1795886445.git.hns@goldelico.com>
Le samedi 28 novembre 2026 à 18:20 +0100, H. Nikolaus Schaller a écrit :
> Remove the unconditional selection of BUILTIN_DTB for MACH_INGENIC
> when MIPS_NO_APPENDED_DTB is enabled.
>
> The current Kconfig logic selects BUILTIN_DTB when
> MIPS_NO_APPENDED_DTB is set, although this configuration is intended
> to prevent the kernel from appending a DTB to the kernel image.
>
> While the kernel gives precedence to a DTB supplied by the boot loader,
> selecting BUILTIN_DTB still triggers additional build steps and may
> add unnecessary code to the resulting uImage.
>
> Note that BUILTIN_DTB controls the build process, not necessarily
> whether a DTB is actually embedded in the kernel image. For example,
> CONFIG_BUILTIN_DTB=y with CONFIG_BUILTIN_DTB_NAME="" still triggers
> the generation of .builtin-dtbs.S, but does not embed a DTB.
>
> The goal is to allow a configuration in which no .builtin-dtbs.S
> is generated and no DTB is appended to or built into the zImage/uImage
> so that the boot loader can provide an individual DTB for a generic
> kernel.
>
> This change depends on the preceding patches making BUILTIN_DTB
> user-selectable and enabling it explicitly in the existing Ingenic
> board defconfigs. Backport those changes together with this fix.
>
> Fixes: f0f4a753079c ("MIPS: generic: Add support for Ingenic SoCs")
> Cc: stable@vger.kernel.org
> Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Cheers,
-Paul
> ---
>
> Notes:
> Changes in v3:
> - fix Fixes: tags and add Cc:
>
> Review: Paul Cercueil pointed out that the two Fixes: trailers
> should be reduced to the verified introducing commit.
>
> arch/mips/Kconfig | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
> index 749d8cc7855aa..156cf9b9ffe98 100644
> --- a/arch/mips/Kconfig
> +++ b/arch/mips/Kconfig
> @@ -127,7 +127,6 @@ config MACH_INGENIC
> select GPIOLIB
> select COMMON_CLK
> select GENERIC_IRQ_CHIP
> - select BUILTIN_DTB if MIPS_NO_APPENDED_DTB
> select USE_OF
> select CPU_SUPPORTS_CPUFREQ
> select MIPS_EXTERNAL_TIMER
next prev parent reply other threads:[~2026-11-30 16:48 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-28 17:20 [PATCH v3 0/8] MIPS: Ingenic: Add XBurst / XBurst II infrastructure and improve overall Ingenic SoC support H. Nikolaus Schaller
2026-11-28 17:20 ` [PATCH v3 1/8] MIPS: Kconfig: Allow user selection of BUILTIN_DTB with description H. Nikolaus Schaller
2026-11-28 17:20 ` [PATCH v3 2/8] MIPS: Ingenic: Configure CONFIG_BUILTIN_DTB=y for Ingenic based devices H. Nikolaus Schaller
2026-11-30 16:47 ` Paul Cercueil
2026-11-28 17:20 ` [PATCH v3 3/8] MIPS: Ingenic: Do not force BUILTIN_DTB in Kconfig H. Nikolaus Schaller
2026-11-30 16:48 ` Paul Cercueil [this message]
2026-11-28 17:20 ` [PATCH v3 4/8] MIPS: Ingenic: Add a new CPU_XBURST2 type H. Nikolaus Schaller
2026-11-30 16:52 ` Paul Cercueil
2026-11-28 17:20 ` [PATCH v3 5/8] MIPS: Ingenic: Update Ingenic XBurst implementation IDs H. Nikolaus Schaller
2026-11-30 16:58 ` Paul Cercueil
2026-11-28 17:20 ` [PATCH v3 6/8] MIPS: generic: Add MACH_INGENIC type and compatible for X1600 and X2600 H. Nikolaus Schaller
2026-11-30 16:58 ` Paul Cercueil
2026-11-28 17:20 ` [PATCH v3 7/8] MIPS: Ingenic: Expand Kconfig for X1600, X2000, and X2600 SoCs H. Nikolaus Schaller
2026-11-30 17:01 ` Paul Cercueil
2026-11-28 17:20 ` [PATCH v3 8/8] MIPS: Ingenic: Expand Kconfig by MACH_JZ4730 H. Nikolaus Schaller
2026-11-30 17:05 ` Paul Cercueil
2026-11-30 19:56 ` Hunter Laux
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=9a3676280c8cd5f7226318298f9c6931a33d6cb1.camel@crapouillou.net \
--to=paul@crapouillou.net \
--cc=dakr@kernel.org \
--cc=david@ixit.cz \
--cc=hns@goldelico.com \
--cc=jiaxun.yang@flygoat.com \
--cc=jmkrzyszt@gmail.com \
--cc=letux-kernel@openphoenux.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=macro@orcam.me.uk \
--cc=paul@boddie.org.uk \
--cc=paulburton@kernel.org \
--cc=pengpeng@iscas.ac.cn \
--cc=stable@vger.kernel.org \
--cc=tiwai@suse.de \
--cc=tsbogend@alpha.franken.de \
--cc=vkoul@kernel.org \
/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
all inboxes | Powered by JetHome®