Regression for NOR flash with multiple erase block regions

Mathias Thore Mathias.Thore at infinera.com
Fri Sep 22 06:15:21 PDT 2017


Hello,

Commit 1eeef2d7483a7e3f8d2dd2a5b9939b3b814dc549 included in Linux 4.13 ( https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/mtd/mtdpart.c?h=v4.13&id=1eeef2d7483a7e3f8d2dd2a5b9939b3b814dc549 ) introduces a regression for NOR flash with multiple erase block regions of different sizes.

Only the largest erase block size seems to be considered when determining if partitions are aligned. Partitions in smaller regions will be mounted as read-only. With Linux 4.12 and earlier, read/write access was available for these partitions.


Regards,
Mathias Thore




More information about the linux-mtd mailing list