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

Miquel Raynal miquel.raynal at bootlin.com
Fri Dec 3 05:37:31 PST 2021


On Thu, 2021-11-18 at 11:46:59 UTC, Miquel Raynal 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>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next.

Miquel



More information about the linux-mtd mailing list