Skip to contentSkip to conversation

FAILED: patch "[PATCH] arm64: dts: meson-gx: Make mmc host controller interrupts" failed to apply to 4.14-stable tree

PATCH [email protected] 1 participant 1 message Feb 13, 2023

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

The patch below does not apply to the 4.14-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.

Possible dependencies:

66e45351f7d6 ("arm64: dts: meson-gx: Make mmc host controller interrupts level-sensitive") e490520c902e ("ARM64: dts: meson: fix register ranges for SD/eMMC") 221cf34bac54 ("ARM64: dts: meson-axg: enable the eMMC controller") 777fa58db622 ("ARM64: dts: meson-axg: add RMII pins for ethernet controller") 7d6d8a2053e6 ("ARM64: dts: meson-axg: enable I2C Master-1 for the audio speaker") 29390d277d01 ("ARM64: dts: meson-axg: add ethernet mac controller") 7bd46a79aad5 ("ARM64: dts: meson-axg: enable IR controller")
06b7a631878a ("arm64: dts: meson-axg: switch uart_ao clock to CLK81") 4a81e5ddfb43 ("ARM64: dts: meson-axg: add PWM DT info for Meson-Axg SoC") de05ded6a99f ("ARM64: dts: meson-axg: add pinctrl DT info for Meson-AXG SoC") 0cb6c604232c ("ARM64: dts: amlogic: use generic bus node names") 9d59b708500f ("arm64: dts: meson-axg: add initial A113D SoC DT support")

thanks,

greg k-h

------------------ original commit in Linus's tree ------------------

From 66e45351f7d6798751f98001d1fcd572024d87f0 Mon Sep 17 00:00:00 2001
From: Heiner Kallweit <[email protected]>
Date: Thu, 9 Feb 2023 21:11:47 +0100
Subject: [PATCH] arm64: dts: meson-gx: Make mmc host controller interrupts
level-sensitive

The usage of edge-triggered interrupts lead to lost interrupts under load, see [0]. This was confirmed to be fixed by using level-triggered interrupts.
The report was about SDIO. However, as the host controller is the same for SD and MMC, apply the change to all mmc controller instances.

[0] https://www.spinics.net/lists/linux-mmc/msg73991.html

arch/arm64/boot/dts/amlogic/meson-gx.dtsi +3 -3
index e3c12e0be99d..5eed15035b67 100644
@@ -603,21 +603,21 @@ apb: apb@d0000000 {
 			sd_emmc_a: mmc@70000 {
 				compatible = "amlogic,meson-gx-mmc", "amlogic,meson-gxbb-mmc";
 				reg = <0x0 0x70000 0x0 0x800>;
-				interrupts = <GIC_SPI 216 IRQ_TYPE_EDGE_RISING>;
+				interrupts = <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>;
 				status = "disabled";
 			};
 
 			sd_emmc_b: mmc@72000 {
 				compatible = "amlogic,meson-gx-mmc", "amlogic,meson-gxbb-mmc";
 				reg = <0x0 0x72000 0x0 0x800>;
-				interrupts = <GIC_SPI 217 IRQ_TYPE_EDGE_RISING>;
+				interrupts = <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>;
 				status = "disabled";
 			};
 
 			sd_emmc_c: mmc@74000 {
 				compatible = "amlogic,meson-gx-mmc", "amlogic,meson-gxbb-mmc";
 				reg = <0x0 0x74000 0x0 0x800>;
-				interrupts = <GIC_SPI 218 IRQ_TYPE_EDGE_RISING>;
+				interrupts = <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>;
 				status = "disabled";
 			};
 		};