]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: exynos: gs101: ufs: add dma-coherent property
authorPeter Griffin <peter.griffin@linaro.org>
Fri, 14 Mar 2025 15:38:02 +0000 (15:38 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:34:16 +0000 (16:34 +0200)
commit 4292564c71cffd8094abcc52dd4840870d05cd30 upstream.

ufs-exynos driver configures the sysreg shareability as
cacheable for gs101 so we need to set the dma-coherent
property so the descriptors are also allocated cacheable.

This fixes the UFS stability issues we have seen with
the upstream UFS driver on gs101.

Fixes: 4c65d7054b4c ("arm64: dts: exynos: gs101: Add ufs and ufs-phy dt nodes")
Cc: stable@vger.kernel.org
Suggested-by: Will McVicker <willmcvicker@google.com>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Tested-by: Will McVicker <willmcvicker@google.com>
Tested-by: André Draszik <andre.draszik@linaro.org>
Reviewed-by: André Draszik <andre.draszik@linaro.org>
Link: https://lore.kernel.org/r/20250314-ufs-dma-coherent-v1-1-bdf9f9be2919@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/exynos/google/gs101.dtsi

index 94aa0ffb9a9760c58818c0417001fd187b048ea8..0f6592658b982d75eadc41e6c79e307281f99399 100644 (file)
                                 <&cmu_hsi2 CLK_GOUT_HSI2_SYSREG_HSI2_PCLK>;
                        clock-names = "core_clk", "sclk_unipro_main", "fmp",
                                      "aclk", "pclk", "sysreg";
+                       dma-coherent;
                        freq-table-hz = <0 0>, <0 0>, <0 0>, <0 0>, <0 0>, <0 0>;
                        pinctrl-0 = <&ufs_rst_n &ufs_refclk_out>;
                        pinctrl-names = "default";