immortalwrt/target/linux/generic
John Thomson bd70c67338 kernel: fix mtd partition erase < parent_erasesize writes
This bug applied where mtd partition end address,
or erase start address, was not cleanly divisible by parent mtd erasesize.

This error would cause the bits following the end of the partition
to the next erasesize block boundary to be erased,
and this partition-overflow data to be written to the partition erase
address (missing additional partition offset address)
of the mtd (top) parent device.

Fixes: FS#2428

Signed-off-by: John Thomson <git@johnthomson.fastmail.com.au>
Tested-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
[shorten commit title, add Fixes, fix kernel 4.19 as well]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-09-20 11:36:15 +08:00
..
backport-4.14 Merge Mainline 2020-09-12 23:35:51 +08:00
backport-4.19 kernel: use proper upstream inclusion version for patch 2020-09-12 11:35:50 +08:00
backport-5.4 ramips/mediatek: improve GRO performance, fix PPE packet parsing 2020-09-14 10:33:36 +08:00
files kernel: add support for ALLNET devices in mtdsplit 2020-09-15 11:38:32 +08:00
hack-4.14 Merge Mainline 2020-09-12 23:35:51 +08:00
hack-4.19 Merge Mainline 2020-09-12 23:35:51 +08:00
hack-5.4 kernel: bump 5.4 to 5.4.65 2020-09-12 23:34:20 +08:00
image update source 2017-09-06 19:19:45 +08:00
other-files update source 2017-09-06 19:19:45 +08:00
pending-4.14 Merge Mainline 2020-09-12 23:35:51 +08:00
pending-4.19 kernel: fix mtd partition erase < parent_erasesize writes 2020-09-20 11:36:15 +08:00
pending-5.4 kernel: fix mtd partition erase < parent_erasesize writes 2020-09-20 11:36:15 +08:00
config-4.14 kernel: add recently introduced CONFIG_MTD_SPLIT_ELF_FW 2020-09-10 17:32:22 +08:00
config-4.19 kernel: add recently introduced CONFIG_MTD_SPLIT_ELF_FW 2020-09-10 17:32:22 +08:00
config-5.4 kernel: add recently introduced CONFIG_MTD_SPLIT_ELF_FW 2020-09-10 17:32:22 +08:00
PATCHES update source 2017-09-06 19:19:45 +08:00