[PATCH] mtd: Introduce an expert mode for forensics and debugging purposes
Miquel Raynal
miquel.raynal at bootlin.com
Mon Jan 10 07:01:13 PST 2022
Hi Geert,
geert at linux-m68k.org wrote on Mon, 10 Jan 2022 15:57:49 +0100:
> 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...
BTW if you want to contribute this change you're welcome, otherwise
I'll do it when I have a bit of time.
Thanks,
Miquèl
More information about the linux-mtd
mailing list