mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v4 0/5] soc: qcom: ice: Fix race between qcom_ice_probe() and of_qcom_ice_get()
@ 2026-03-02 13:00 Manivannan Sadhasivam via B4 Relay
  2026-03-02 13:00 ` [PATCH v4 1/5] " Manivannan Sadhasivam via B4 Relay
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Manivannan Sadhasivam via B4 Relay @ 2026-03-02 13:00 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Adrian Hunter, Ulf Hansson,
	Manivannan Sadhasivam, James E.J. Bottomley, Martin K. Petersen,
	Abel Vesa, Abel Vesa
  Cc: linux-arm-msm, linux-kernel, linux-mmc, linux-scsi, Sumit Garg,
	mani, Neeraj Soni, Manivannan Sadhasivam, stable, Konrad Dybcio

Hi,

This series fixes the race betwen qcom_ice_probe() and of_qcom_ice_get()
but synchronizing the two APIs and properly propagating the error codes to
clients.

Merge Strategy
==============

Due to dependency, all patches should go through Qcom SoC tree.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>
---
Changes in v4:
- For supporting multi-ice instances in a SoC, stored the err ptr in platform
  drvdata instead of in a global pointer.
- Link to v3: https://lore.kernel.org/r/20260223-qcom-ice-fix-v3-0-6ca5846329f7@oss.qualcomm.com

Changes in v3:
- Dropped the platform driver removal patch and used the ice_handle to pass
  error codes. This was done as I learned that we need to have the platform
  driver design going forward and also removing it introduces other issues.
- Link to v2: https://lore.kernel.org/r/20260210-qcom-ice-fix-v2-0-9c1ab5d6502c@oss.qualcomm.com

Changes in v2:

- Added MODULE_* macros back
- Removed spurious platform_device_put()
- Added patches to remove NULL return

---
Manivannan Sadhasivam (5):
      soc: qcom: ice: Fix race between qcom_ice_probe() and of_qcom_ice_get()
      soc: qcom: ice: Return -ENODEV if the ICE platform device is not found
      soc: qcom: ice: Return proper error codes from devm_of_qcom_ice_get() instead of NULL
      mmc: sdhci-msm: Remove NULL check from devm_of_qcom_ice_get()
      scsi: ufs: ufs-qcom: Remove NULL check from devm_of_qcom_ice_get()

 drivers/mmc/host/sdhci-msm.c | 10 +++++-----
 drivers/soc/qcom/ice.c       | 33 ++++++++++++++++++++++-----------
 drivers/ufs/host/ufs-qcom.c  | 10 +++++-----
 3 files changed, 32 insertions(+), 21 deletions(-)
---
base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
change-id: 20260210-qcom-ice-fix-d2a3a045b32d

Best regards,
-- 
Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>



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

end of thread, other threads:[~2026-03-06 14:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-02 13:00 [PATCH v4 0/5] soc: qcom: ice: Fix race between qcom_ice_probe() and of_qcom_ice_get() Manivannan Sadhasivam via B4 Relay
2026-03-02 13:00 ` [PATCH v4 1/5] " Manivannan Sadhasivam via B4 Relay
2026-03-02 13:00 ` [PATCH v4 2/5] soc: qcom: ice: Return -ENODEV if the ICE platform device is not found Manivannan Sadhasivam via B4 Relay
2026-03-02 13:00 ` [PATCH v4 3/5] soc: qcom: ice: Return proper error codes from devm_of_qcom_ice_get() instead of NULL Manivannan Sadhasivam via B4 Relay
2026-03-06  8:47   ` Sumit Garg
2026-03-06  9:00     ` Sumit Garg
2026-03-06 14:34       ` Manivannan Sadhasivam
2026-03-02 13:00 ` [PATCH v4 4/5] mmc: sdhci-msm: Remove NULL check from devm_of_qcom_ice_get() Manivannan Sadhasivam via B4 Relay
2026-03-02 13:00 ` [PATCH v4 5/5] scsi: ufs: ufs-qcom: " Manivannan Sadhasivam via B4 Relay

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®