openwrt/target/linux/ipq807x/patches-6.1
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
..
0040-v6.2-arm64-dts-qcom-ipq8074-add-A53-PLL-node.patch
0042-v6.2-thermal-drivers-tsens-Add-support-for-combined-inter.patch ipq807x: 6.1: refresh patches 2023-05-28 08:57:09 +02:00
0043-v6.2-thermal-drivers-tsens-Allow-configuring-min-and-max-.patch ipq807x: 6.1: refresh patches 2023-05-28 08:57:09 +02:00
0044-v6.2-thermal-drivers-tsens-Add-IPQ8074-support.patch ipq807x: 6.1: refresh patches 2023-05-28 08:57:09 +02:00
0045-v6.2-arm64-dts-qcom-ipq8074-add-thermal-nodes.patch
0046-v6.2-arm64-dts-qcom-ipq8074-add-clocks-to-APCS.patch
0047-v6.2-clk-qcom-ipq8074-convert-to-parent-data.patch
0049-v6.2-clk-qcom-reset-support-resetting-multiple-bits.patch
0050-v6.2-dt-bindings-clock-qcom-ipq8074-add-missing-networkin.patch
0051-v6.2-clk-qcom-ipq8074-add-missing-networking-resets.patch
0052-v6.2-clk-qcom-ipq8074-populate-fw_name-for-all-parents.patch
0053-v6.2-arm64-dts-qcom-ipq8074-pass-XO-and-sleep-clocks-to-G.patch
0066-v6.2-arm64-dts-qcom-add-PMP8074-DTSI.patch
0067-v6.2-arm64-dts-qcom-ipq8074-hk01-add-VQMMC-supply.patch ipq807x: 6.1: refresh patches 2023-05-28 08:57:09 +02:00
0068-v6.2-arm64-dts-qcom-hk01-use-GPIO-flags-for-tlmm.patch ipq807x: 6.1: refresh patches 2023-05-28 08:57:09 +02:00
0069-v6.2-arm64-dts-qcom-ipq8074-Fix-up-comments.patch
0070-v6.2-arm64-dts-qcom-ipq8074-align-TLMM-pin-configuration-.patch
0079-v6.2-dt-bindings-arm-qcom-document-qcom-msm-id-and-qcom-b.patch
0080-v6.3-arm64-dts-qcom-ipq8074-set-Gen2-PCIe-pcie-max-link-s.patch
0081-v6.3-PCI-qcom-Add-support-for-IPQ8074-Gen3-port.patch ipq807x: 6.1: refresh patches 2023-05-28 08:57:09 +02:00
0082-v6.3-clk-qcom-ipq8074-populate-fw_name-for-usb3phy-s.patch
0100-clk-qcom-clk-rcg2-introduce-support-for-multiple-con.patch
0101-clk-qcom-gcc-ipq8074-rework-nss_port5-6-clock-to-mul.patch
0102-arm64-dts-ipq8074-add-reserved-memory-nodes.patch
0110-arm64-dts-qcom-ipq8074-pass-QMP-PCI-PHY-PIPE-clocks-.patch
0111-arm64-dts-qcom-ipq8074-use-msi-parent-for-PCIe.patch
0112-remoteproc-qcom-Add-PRNG-proxy-clock.patch ipq807x: 6.1: refresh patches 2023-05-28 08:57:09 +02:00
0113-remoteproc-qcom-Add-secure-PIL-support.patch ipq807x: 6.1: refresh patches 2023-05-28 08:57:09 +02:00
0114-remoteproc-qcom-Add-support-for-split-q6-m3-wlan-fir.patch ipq807x: 6.1: refresh patches 2023-05-28 08:57:09 +02:00
0115-remoteproc-qcom-Add-ssr-subdevice-identifier.patch ipq807x: 6.1: refresh patches 2023-05-28 08:57:09 +02:00
0116-remoteproc-qcom-Update-regmap-offsets-for-halt-regis.patch ipq807x: 6.1: refresh patches 2023-05-28 08:57:09 +02:00
0117-dt-bindings-clock-qcom-Add-reset-for-WCSSAON.patch
0118-clk-qcom-Add-WCSSAON-reset.patch
0119-remoteproc-wcss-disable-auto-boot-for-IPQ8074.patch ipq807x: 6.1: refresh patches 2023-05-28 08:57:09 +02:00
0120-arm64-dts-qcom-Enable-Q6v5-WCSS-for-ipq8074-SoC.patch
0121-arm64-dts-ipq8074-Add-WLAN-node.patch
0122-arm64-dts-ipq8074-add-CPU-clock.patch
0123-arm64-dts-ipq8074-add-cooling-cells-to-CPU-nodes.patch
0124-soc-qcom-socinfo-move-SMEM-item-struct-and-defines-t.patch ipq807x: 6.1: refresh patches 2023-05-28 08:57:09 +02:00
0125-cpufreq-qcom-nvmem-reuse-socinfo-SMEM-item-struct.patch ipq807x: 6.1: refresh patches 2023-05-28 08:57:09 +02:00
0126-cpufreq-qcom-nvmem-use-SoC-ID-s-from-bindings.patch ipq807x: 6.1: refresh patches 2023-05-28 08:57:09 +02:00
0127-cpufreq-qcom-nvmem-make-qcom_cpufreq_get_msm_id-retu.patch ipq807x: 6.1: refresh patches 2023-05-28 08:57:09 +02:00
0128-cpufreq-qcom-nvmem-add-support-for-IPQ8074.patch ipq807x: 6.1: refresh patches 2023-05-28 08:57:09 +02:00
0129-arm64-dts-qcom-ipq8074-add-QFPROM-fuses.patch
0130-arm64-dts-qcom-ipq8074-add-CPU-OPP-table.patch
0131-soc-qcom-mdt_loader-Fix-unconditional-call-to-scm_pa.patch ipq807x: 6.1: fix remoteproc booting 2023-05-28 08:57:10 +02:00
0132-mmc-core-disable-TRIM-on-Micron-MTFC4GACAJCN-1M.patch ipq807x: 6.1: fix I/O WRITE_ZEROES errors on some eMMC devices 2023-06-01 19:23:25 +02:00
0133-mmc-core-disable-TRIM-on-Kingston-EMMC04G-M627.patch ipq807x: 6.1: fix I/O WRITE_ZEROES errors on some eMMC devices 2023-06-01 19:23:25 +02:00
0900-power-Add-Qualcomm-APM.patch
0901-regulator-add-Qualcomm-CPR-regulators.patch ipq807x: 6.1: refresh patches 2023-05-28 08:57:09 +02:00
0902-arm64-dts-ipq8074-add-label-to-clocks.patch