From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=185.119.170.32 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796057310; b=DzX+q3N+pFriD+OkLKRaRLJ5HQD3tzMp6vFxjP/5RxF5HKLAXTbCU7Qxufdn0V6oTSsr wG9yj1iUCaFJwsOMcJA7LXlM2IaO/fCG8h/uN2Ht5Zpi7ZzMmLlWIJOFuBFm8ieS8wKZH M0BFMWG6sQiwBR4HxlcC2YoLdKm/Ot2G8YTlvskbIOD9uyx63YhhJcHzwGzaiU3eS8tjX ruU52WzIsI0tCDvs8tr3prT5qEgeCjr0oonJ+NgLfJtFhWqYeJV0PtH0fDnoj7q9768JK WIPJnjB+Xg8vM0XIdCbQX3jwKA9DhqAKzrNmQ10jjBJyQNa6sakcbSWwTzUudYFQgSA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796057310; h=DMARC-Filter:Message-ID:Subject:From:To:Cc:Date:In-Reply-To: References:Content-Type:Content-Transfer-Encoding:MIME-Version; bh=3TaZJGD631j3kcmxPwnH8+YeIeIWHVyHgeWjbRIiVb8=; b=x6ZK8CuZDyXGQA5jwbs38Ir0TBkTjxyYM8ZWNsq2maIy37AlYjs9V7awVq7g8lWEYL6D sKm5ZLChgEEISHK85GDec80pOC6ZvyVktXMS6+PWLKhrBLYwEUpVHAGobSSQhe+1KUfiJ zED3Qp7eGlNmEJClD8MRJe4P+CMObBDqVLqoHe36JgWIF7JLNOKqbJZ00QLOaq/KZlz4r 9gs0yVzyIZLxy13+aobbZ5Texei0je//Au387ClAmiS6y9T1m65oq6YSs8tsWqYla6gVs JOcamw3muzqJka0A0tWVjLkt03DpP+j/hzOUiRqXAbnXvPutO1eWP3yBuvGkgwKF4KQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=crapouillou.net; spf=pass smtp.mailfrom=crapouillou.net; arc=none smtp.remote-ip=185.119.170.32 Received: from aposti.net (aposti.net [185.119.170.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D2696606A320; Mon, 30 Nov 2026 16:48:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D2696606A320 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=crapouillou.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=crapouillou.net Message-ID: <9a3676280c8cd5f7226318298f9c6931a33d6cb1.camel@crapouillou.net> Subject: Re: [PATCH v3 3/8] MIPS: Ingenic: Do not force BUILTIN_DTB in Kconfig From: Paul Cercueil To: "H. Nikolaus Schaller" , Thomas Bogendoerfer , Paul Burton , =?UTF-8?Q?=E5=91=A8=E7=90=B0=E6=9D=B0=2C?= Pengpeng Hou , Takashi Iwai , Janusz Krzysztofik , David Heidelberg , Paul Boddie , "Maciej W . Rozycki" , Jiaxun Yang , Danilo Krummrich , Vinod Koul Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, letux-kernel@openphoenux.org, stable@vger.kernel.org Date: Mon, 30 Nov 2026 17:48:25 +0100 In-Reply-To: <0dc01e3a7a5de5f566be2ef6cbff1860af489913.1795886445.git.hns@goldelico.com> References: <0dc01e3a7a5de5f566be2ef6cbff1860af489913.1795886445.git.hns@goldelico.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Le samedi 28 novembre 2026 =C3=A0 18:20 +0100, H. Nikolaus Schaller a =C3= =A9crit=C2=A0: > Remove the unconditional selection of BUILTIN_DTB for MACH_INGENIC > when MIPS_NO_APPENDED_DTB is enabled. >=20 > 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. >=20 > 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. >=20 > 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=3Dy with CONFIG_BUILTIN_DTB_NAME=3D"" still triggers > the generation of .builtin-dtbs.S, but does not embed a DTB. >=20 > 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. >=20 > 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. >=20 > Fixes: f0f4a753079c ("MIPS: generic: Add support for Ingenic SoCs") > Cc: stable@vger.kernel.org > Signed-off-by: H. Nikolaus Schaller Reviewed-by: Paul Cercueil Cheers, -Paul > --- >=20 > Notes: > =C2=A0=C2=A0=C2=A0 Changes in v3: > =C2=A0=C2=A0=C2=A0 - fix Fixes: tags and add Cc: > =C2=A0=C2=A0=C2=A0=20 > =C2=A0=C2=A0=C2=A0 Review: Paul Cercueil pointed out that the two Fixes: = trailers > =C2=A0=C2=A0=C2=A0 should be reduced to the verified introducing commit. >=20 > =C2=A0arch/mips/Kconfig | 1 - > =C2=A01 file changed, 1 deletion(-) >=20 > 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 > =C2=A0 select GPIOLIB > =C2=A0 select COMMON_CLK > =C2=A0 select GENERIC_IRQ_CHIP > - select BUILTIN_DTB if MIPS_NO_APPENDED_DTB > =C2=A0 select USE_OF > =C2=A0 select CPU_SUPPORTS_CPUFREQ > =C2=A0 select MIPS_EXTERNAL_TIMER