From: Martin K. Petersen Date: Thu, 3 Apr 2025 13:58:05 +0000 (-0400) Subject: Merge patch series "ufs-exynos stability fixes for gs101" X-Git-Tag: v6.15-rc3~38^2^2~7 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=8a65b75dc4b235349fa6f3c89d381405956d431f;p=linux-2.6-block.git Merge patch series "ufs-exynos stability fixes for gs101" Peter Griffin says: Hi folks, This series fixes several stability issues with the upstream ufs-exynos driver, specifically for the gs101 SoC found in Pixel 6. The main fix is regarding the IO cache coherency setting and ensuring that it is correctly applied depending on if the dma-coherent property is specified in device tree. This fixes the UFS stability issues on gs101 and I would imagine will also fix issues on exynosauto platform that seems to have similar iocc shareability bits. Additionally the phy reference counting is fixed which allows module load/unload to work reliably and keeps the phy state machine in sync with the controller glue driver. regards, Peter Link: https://lore.kernel.org/r/20250319-exynos-ufs-stability-fixes-v2-0-96722cc2ba1b@linaro.org Signed-off-by: Martin K. Petersen --- 8a65b75dc4b235349fa6f3c89d381405956d431f diff --cc drivers/ufs/host/ufs-exynos.h index aac517276189,3c6fe5132190..abe7e472759e --- a/drivers/ufs/host/ufs-exynos.h +++ b/drivers/ufs/host/ufs-exynos.h @@@ -188,9 -189,10 +189,10 @@@ struct exynos_ufs_drv_data int (*pre_pwr_change)(struct exynos_ufs *ufs, struct ufs_pa_layer_attr *pwr); int (*post_pwr_change)(struct exynos_ufs *ufs, - struct ufs_pa_layer_attr *pwr); + const struct ufs_pa_layer_attr *pwr); int (*pre_hce_enable)(struct exynos_ufs *ufs); int (*post_hce_enable)(struct exynos_ufs *ufs); + int (*suspend)(struct exynos_ufs *ufs); }; struct ufs_phy_time_cfg {