openwrt/target/linux
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
..
airoha airoha: spi-en7523: Fix compile warning 2023-05-31 21:30:49 +02:00
apm821xx apm821xx: make crypto4xx as a standalone module 2023-05-30 01:58:20 +02:00
archs38 treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
armvirt armvirt: 6.1: enable kernel for testing 2023-05-28 07:45:50 +02:00
at91 treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
ath25 kernel: refresh IFF_NO_IP_ALIGN ifdef for kernel >= 6.1 2023-05-22 22:28:17 +02:00
ath79 ath79: add support for D-Link DIR-859 A3 2023-05-22 14:45:03 +02:00
bcm27xx kernel: bump 5.15 to 5.15.114 2023-05-31 07:31:41 +02:00
bcm47xx treewide: Disable building 8M RAM devices 2023-05-21 01:08:31 +02:00
bcm53xx nu801: add kmod-leds-uleds to MR26 + MR18 2023-05-18 16:17:52 +02:00
bcm63xx treewide: Disable building 32M RAM devices 2023-05-21 01:08:22 +02:00
bcm4908 kernel: bump 5.15 to 5.15.111 2023-05-13 22:38:35 +02:00
bmips bmips: enable testing kernel version with 6.1 version 2023-05-30 21:00:34 +02:00
gemini treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
generic kernel: 6.1: add missing CONFIG_TEST_DYNAMIC_DEBUG option 2023-05-31 21:06:18 +02:00
imx imx: image: ventana: add blkdev compressed disk image 2023-05-18 17:11:43 +02:00
ipq40xx ipq40xx: e2600ac-c1 remove KERNEL_SIZE 2023-05-29 12:25:14 +02:00
ipq806x ipq806x: Add support for Netgear Nighthawk Pro Gaming XR450 2023-05-25 23:53:00 +02:00
ipq807x ipq807x: 6.1: fix I/O WRITE_ZEROES errors on some eMMC devices 2023-06-01 19:23:25 +02:00
kirkwood kirkwood: add support for Iomega Storcenter ix4-200d 2023-05-20 15:35:37 +02:00
lantiq lantiq: add patches headers 2023-05-31 21:58:05 +02:00
layerscape layerscape: kernel: enable MC userspace support 2023-05-28 20:22:23 +02:00
malta malta: 6.1: enable kernel for testing 2023-05-28 07:45:50 +02:00
mediatek mediatek: sync MT7988 USXGMII with SDK driver 2023-05-27 21:57:01 +01:00
mpc85xx mpc85xx: add support for Aerohive BR200-WP 2023-05-14 00:08:35 +02:00
mvebu mvebu: use PHY LED trigger for speed LEDs on FortiGate 50E 2023-05-18 16:17:52 +02:00
mxs generic: enable CONFIG_ARM_CRYPTO for 32bit arm targets 2023-05-10 19:01:45 +02:00
octeon treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
octeontx kernel: enable (ARM|ARM64)_MODULE_PLTS in generic config 2023-05-23 05:49:46 -07:00
omap treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
oxnas oxnas: 5.15: fix mangle bootargs patch compilation warning 2023-05-12 03:15:38 +02:00
pistachio treewide: cleanup kernel symbol references 2023-05-12 13:02:44 +02:00
qoriq kernel: fix handling of CONFIG_DYNAMIC_DEBUG 2023-05-03 10:26:17 -07:00
ramips mediatek: sync MT7988 USXGMII with SDK driver 2023-05-27 21:57:01 +01:00
realtek kernel: bump 5.15 to 5.15.113 2023-05-26 11:50:37 +02:00
rockchip rockchip: add Orange Pi R1 Plus LTS support 2023-05-31 21:41:46 +02:00
sifiveu sifiveu: add new target for SiFive U-based boards 2023-05-28 13:19:11 +02:00
sunxi treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
tegra treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
uml uml: add Kernel 6.1 support via testing 2023-05-28 20:22:23 +02:00
x86 base-files: x86 fix 01_leds Syntax error 2023-05-28 20:22:23 +02:00
zynq generic: enable CONFIG_ARM_CRYPTO for 32bit arm targets 2023-05-10 19:01:45 +02:00
Makefile build: fix issues with targets installed via feeds 2022-09-27 13:41:12 +02:00