kernel: backport MEMREAD ioctl
authorMichał Kępień <openwrt@kempniu.pl>
Fri, 31 Mar 2023 10:40:31 +0000 (12:40 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Tue, 18 Apr 2023 11:53:03 +0000 (13:53 +0200)
commitfa4dc86e980851f01e243f94ffe7e0a928f6c16d
tree128407f050363a1640636a512329de2d56416a7a
parent3d110053f80be9d118cdc499e25076c202f79945
kernel: backport MEMREAD ioctl

MEMREAD is a new ioctl for MTD character devices that was first included
in Linux 6.1.  It allows userspace applications to use the Linux
kernel's OOB autoplacement mechanism while reading data from NAND
devices.  The Yafut tool needs this ioctl to do its job.

Signed-off-by: Michał Kępień <openwrt@kempniu.pl>
15 files changed:
target/linux/generic/backport-5.15/423-v6.1-0001-mtd-track-maximum-number-of-bitflips-for-each-read-r.patch [new file with mode: 0644]
target/linux/generic/backport-5.15/423-v6.1-0002-mtd-always-initialize-stats-in-struct-mtd_oob_ops.patch [new file with mode: 0644]
target/linux/generic/backport-5.15/423-v6.1-0003-mtd-add-ECC-error-accounting-for-each-read-request.patch [new file with mode: 0644]
target/linux/generic/backport-5.15/423-v6.1-0004-mtdchar-add-MEMREAD-ioctl.patch [new file with mode: 0644]
target/linux/generic/pending-5.15/400-mtd-mtdsplit-support.patch
target/linux/generic/pending-5.15/402-mtd-spi-nor-write-support-for-minor-aligned-partitions.patch
target/linux/generic/pending-5.15/486-01-mtd-spinand-add-support-for-ESMT-F50x1G41LB.patch
target/linux/generic/pending-5.15/487-mtd-spinand-Add-support-for-Etron-EM73D044VCx.patch
target/linux/mediatek/patches-5.15/120-08-v5.18-mtd-spinand-Delay-a-little-bit-the-dirmap-creation.patch
target/linux/mediatek/patches-5.15/120-09-v5.18-mtd-spinand-Create-direct-mapping-descriptors-for-EC.patch
target/linux/mediatek/patches-5.15/121-hack-spi-nand-1b-bbm.patch
target/linux/mediatek/patches-5.15/330-snand-mtk-bmt-support.patch
target/linux/mediatek/patches-5.15/340-mtd-spinand-Add-support-for-the-Fidelix-FM35X1GA.patch
target/linux/mediatek/patches-5.15/435-drivers-mtd-spinand-Add-calibration-support-for-spin.patch
target/linux/mediatek/patches-5.15/436-drivers-mtd-spi-nor-Add-calibration-support-for-spi-.patch