[PATCH] mtd: Introduce an expert mode for forensics and debugging purposes

Geert Uytterhoeven geert at linux-m68k.org
Mon Jan 10 06:57:49 PST 2022


Hi Miquèl,

On Mon, Jan 10, 2022 at 3:41 PM Miquel Raynal <miquel.raynal at bootlin.com> wrote:
> geert at linux-m68k.org wrote on Mon, 10 Jan 2022 14:15:27 +0100:
> > On Thu, Nov 18, 2021 at 12:47 PM Miquel Raynal
> > <miquel.raynal at bootlin.com> wrote:
> > > When developping NAND controller drivers or when debugging filesystem
> > > corruptions, it is quite common to need hacking locally into the
> > > MTD/NAND core in order to get access to the content of the bad
> > > blocks. Instead of having multiple implementations out there let's
> > > provide a simple yet effective specific MTD-wide debugfs entry to fully
> > > disable these checks on purpose.
> > >
> > > A warning is added to inform the user when this mode gets enabled.
> > >
> > > Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
> >
> > Thanks for your patch, which is now commit 67b967ddd93d0ed5 ("mtd:
> > Introduce an expert mode for forensics and debugging purposes")
> > in mtd/next.
>
> Thanks for reviewing! Unfortunately I've sent the MTD pull-request to
> Linus this morning so I'll have to address this in subsequent
> commits.

Np, as long as no out-of-tree modules start using these symbols ;-)

This is just one of the things I noticed right before the Xmas and
NY holidays, but didn't get to reporting or fixing before...

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds



More information about the linux-mtd mailing list