Re: [EXT] Re: [PATCH V1] mtd: core: Micron SLC NAND filling block

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Zoltan,

"Zoltan Szubbocsev (zszubbocsev)" <zszubbocsev@xxxxxxxxxx> wrote on
Wed, 19 Dec 2018 13:59:49 +0000:

> Boris,
> 
> Are there  non UBI/UBIFS cases?
> Can you please be specific?

UBI is one user of MTD.

What about direct accesses to MTD devices? Squashfs?

In any case, I don't think it is exaggerated to say that Linux has been
built on "layering". This issue is NAND chip specific, hence must be
handled at the NAND core level. In the NAND erase path I would like to
see a call to a vendor specific hook that:
1/ checks if the part is affected by comparing its ID to a list,
2/ if yes, checks if the block must be filled before erasing.

The logic of 1/ and 2/ should probably reside in
drivers/mtd/nand/raw/nand_micron.c


Thanks,
Miquèl

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux