openwrt/target/linux/ipq807x
Robert Marko 10be819a16
ipq807x: 6.1: fix I/O WRITE_ZEROES errors on some eMMC devices
Linux 5.19 added a feature where if there is TRIM support being advertised
on eMMC kernel will use TRIM to offload erasing to zero.

However, like always there are eMMC IC-s that advertise TRIM and kind of
work but trying to use TRIM for offloading will cause I/O errors like:
[   18.085950] I/O error, dev loop0, sector 596 op 0x9:(WRITE_ZEROES) flags 0x800 phys_seg 0 prio class 2

So, lets utilize the kernel MMC quirks DB to disable TRIM for eMMC models
that are known to cause this.

This will fix the WRITE_ZEROES error on:
Qnap 301W which uses Micron MTFC4GACAJCN-1M
Zyxel NBG7815 which uses Kingston EMMC04G-M627

Tested-By: Enrico Mioso <mrkiko.rs@gmail.com> # NBG7815
Signed-off-by: Robert Marko <robimarko@gmail.com>
2023-06-01 19:23:25 +02:00
..
base-files ipq807x: add support for Compex WPQ873 2023-05-26 13:05:02 +03:00
files/arch/arm64/boot/dts/qcom ipq807x: add support for Compex WPQ873 2023-05-26 13:05:02 +03:00
generic ipq807x: add Qualcomm Atheros IPQ807x target 2023-01-16 12:42:23 +01:00
image ipq807x: add support for Compex WPQ873 2023-05-26 13:05:02 +03:00
patches-5.15 ipq807x: mark merged patches as backports 2023-05-28 08:57:08 +02:00
patches-6.1 ipq807x: 6.1: fix I/O WRITE_ZEROES errors on some eMMC devices 2023-06-01 19:23:25 +02:00
config-5.15 kernel: move CONFIG_PAGE_POOL to generic 2023-03-04 10:20:58 +01:00
config-6.1 ipq807x: 6.1: refresh kernel config 2023-05-28 08:57:09 +02:00
Makefile ipq807x: enable selecting 6.1 as testing kernel 2023-05-28 08:57:10 +02:00