mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/7] ufs-exynos stability fixes for gs101
@ 2025-03-19 15:30 Peter Griffin
  2025-03-19 15:30 ` [PATCH v2 1/7] scsi: ufs: exynos: ensure pre_link() executes before exynos_ufs_phy_init() Peter Griffin
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Peter Griffin @ 2025-03-19 15:30 UTC (permalink / raw)
  To: Alim Akhtar, James E.J. Bottomley, Martin K. Petersen,
	Krzysztof Kozlowski, Chanho Park
  Cc: linux-scsi, linux-samsung-soc, linux-arm-kernel, linux-kernel,
	Krzysztof Kozlowski, Eric Biggers, Bart Van Assche, willmcvicker,
	kernel-team, tudor.ambarus, andre.draszik, Peter Griffin, stable

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

Changes since v1:
 * Added patch for correct handling of iocc depedent on dma-coherent property
 * Rebased onto next-20250319
 * Add a gs101 specific suspend hook (Bart)
 * Drop asserting GPIO_OUT in .exit() (Peter)
 * Remove superfluous blank line (Bart)
 * Update PRDT_PREFECT_EN to PRDT_PREFETCH_EN (Bart)
 * Update commit description for desctype type 3 (Eric)
 * https://lore.kernel.org/lkml/20250226220414.343659-1-peter.griffin@linaro.org/

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
Peter Griffin (7):
      scsi: ufs: exynos: ensure pre_link() executes before exynos_ufs_phy_init()
      scsi: ufs: exynos: move ufs shareability value to drvdata
      scsi: ufs: exynos: disable iocc if dma-coherent property isn't set
      scsi: ufs: exynos: ensure consistent phy reference counts
      scsi: ufs: exynos: Enable PRDT pre-fetching with UFSHCD_CAP_CRYPTO
      scsi: ufs: exynos: Move phy calls to .exit() callback
      scsi: ufs: exynos: gs101: put ufs device in reset on .suspend()

 drivers/ufs/host/ufs-exynos.c | 85 ++++++++++++++++++++++++++++++++-----------
 drivers/ufs/host/ufs-exynos.h |  6 ++-
 2 files changed, 68 insertions(+), 23 deletions(-)
---
base-commit: 433ccb6f2e879866b8601fcb1de14e316cdb0d39
change-id: 20250319-exynos-ufs-stability-fixes-e8da9862e3dc

Best regards,
-- 
Peter Griffin <peter.griffin@linaro.org>


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-04-03 14:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-19 15:30 [PATCH v2 0/7] ufs-exynos stability fixes for gs101 Peter Griffin
2025-03-19 15:30 ` [PATCH v2 1/7] scsi: ufs: exynos: ensure pre_link() executes before exynos_ufs_phy_init() Peter Griffin
2025-03-19 15:30 ` [PATCH v2 2/7] scsi: ufs: exynos: move ufs shareability value to drvdata Peter Griffin
2025-03-19 15:30 ` [PATCH v2 3/7] scsi: ufs: exynos: disable iocc if dma-coherent property isn't set Peter Griffin
2025-03-19 15:30 ` [PATCH v2 4/7] scsi: ufs: exynos: ensure consistent phy reference counts Peter Griffin
2025-03-19 15:30 ` [PATCH v2 5/7] scsi: ufs: exynos: Enable PRDT pre-fetching with UFSHCD_CAP_CRYPTO Peter Griffin
2025-03-19 15:30 ` [PATCH v2 6/7] scsi: ufs: exynos: Move phy calls to .exit() callback Peter Griffin
2025-03-19 15:30 ` [PATCH v2 7/7] scsi: ufs: exynos: gs101: put ufs device in reset on .suspend() Peter Griffin
2025-03-21 20:10 ` [PATCH v2 0/7] ufs-exynos stability fixes for gs101 Bart Van Assche
2025-04-03 14:04 ` Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®