public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: "Luca Ceresoli" <luca.ceresoli@bootlin.com>
To: "Miquel Raynal" <miquel.raynal@bootlin.com>,
	"Richard Weinberger" <richard@nod.at>
Cc: "Vignesh Raghavendra" <vigneshr@ti.com>,
	"Rob Herring" <robh@kernel.org>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	"Conor Dooley" <conor+dt@kernel.org>,
	"Rafał Miłecki" <rafal@milecki.pl>,
	"Amit Kumar Mahapatra" <amit.kumar-mahapatra@amd.com>,
	"Michal Simek" <monstr@monstr.eu>,
	"Bernhard Frauendienst" <kernel@nospam.obeliks.de>,
	"Thomas Petazzoni" <thomas.petazzoni@bootlin.com>,
	linux-mtd@lists.infradead.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v15 0/3] mtd: Add support for stacked memories
Date: Fri, 30 Jan 2026 16:40:59 +0100	[thread overview]
Message-ID: <DG21D6PIVG01.11GV9Y3YCGP1O@bootlin.com> (raw)
In-Reply-To: <87h5s3i31r.fsf@bootlin.com>

Hi Miquèl,

On Fri Jan 30, 2026 at 3:32 PM CET, Miquel Raynal wrote:
> Hello,
>
> On 29/01/2026 at 20:15:32 +01, Miquel Raynal <miquel.raynal@bootlin.com> wrote:
>
>> On Thu, 29 Jan 2026 13:09:26 +0100, Luca Ceresoli wrote:
>>> [TL;DR for v15: as agreed with Amit I'm sending a new iteration of his
>>> patches to fix the build-time failure due to a module dependency
>>> loop. Original cover follows.]
>>>
>>> This patch series adds stacked support by enhancing the existing mtd-concat
>>> driver to be more generic.
>>>
>>> [...]
>>
>> Thank you for finally re-sending the series after fixing the robot
>> warning, I will not wait for merging it because this needs to finally
>> get in, and it's been over the mailing list for 8 months with just a
>> Kconfig symbol to fix, so:
>
> Unfortunately, for the third time, this series breaks when robots go
> over it (see the oe-kbuild-all@lists.linux.dev ML), so I will drop it
> again :-/

Oh, no!

For the records, here are the reports:

  https://lore.kernel.org/oe-kbuild-all/202601302048.TyA0Uh81-lkp@intel.com/T/#u
  https://lore.kernel.org/oe-kbuild-all/202601302001.mGwPwhGE-lkp@intel.com/T/#u

My bad, I apparently haven't tested with CONFIG_MTD_PARTITIONED_MASTER
disabled on the final code. Sorry about that!

At a quick look I think this is the right fix:

	diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c
	index 3760065c4e08..48de269f4514 100644
	--- a/drivers/mtd/mtdcore.c
	+++ b/drivers/mtd/mtdcore.c
	@@ -2638,8 +2638,10 @@ static int __init init_mtd(void)

	 static void __exit cleanup_mtd(void)
	 {
	+	if (IS_REACHABLE(CONFIG_MTD_VIRT_CONCAT)) {
	 		mtd_virt_concat_destroy_joins();
	 		mtd_virt_concat_destroy_items();
	+	}
	 	debugfs_remove_recursive(dfs_dir_mtd);
	 	cleanup_mtdchar();
	 	if (proc_mtd)

It passes my my quick build tests, but I'll wait until next week to double
check and test on hardware before resending.

Luca

--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

      reply	other threads:[~2026-01-30 15:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-29 12:09 [PATCH v15 0/3] mtd: Add support for stacked memories Luca Ceresoli
2026-01-29 12:09 ` [PATCH v15 1/3] dt-bindings: mtd: Describe MTD partitions concatenation Luca Ceresoli
2026-01-29 12:09 ` [PATCH v15 2/3] mtd: Move struct mtd_concat definition to header file Luca Ceresoli
2026-01-29 12:09 ` [PATCH v15 3/3] mtd: Add driver for concatenating devices Luca Ceresoli
2026-01-29 19:15 ` [PATCH v15 0/3] mtd: Add support for stacked memories Miquel Raynal
2026-01-30 14:32   ` Miquel Raynal
2026-01-30 15:40     ` Luca Ceresoli [this message]

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=DG21D6PIVG01.11GV9Y3YCGP1O@bootlin.com \
    --to=luca.ceresoli@bootlin.com \
    --cc=amit.kumar-mahapatra@amd.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=kernel@nospam.obeliks.de \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=miquel.raynal@bootlin.com \
    --cc=monstr@monstr.eu \
    --cc=rafal@milecki.pl \
    --cc=richard@nod.at \
    --cc=robh@kernel.org \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=vigneshr@ti.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