soc: qcom: ice: Fix race between qcom_ice_probe() and of_qcom_ice_get()
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected] change-id 20260210-qcom-ice-fix-d2a3a045b32dVersions newest first
- v7 Latest5 patches 3 repliesApplied
- v65 patches 1 replySuperseded
- v55 patches 0 repliesSuperseded
Earlier versions · 4
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v4 | 5 patches | 3 replies | Superseded | |
| v3 | 4 patches | 6 replies | Superseded | |
| v2 | 4 patches | 13 replies | Superseded inferred link | |
| v1 | 1 patch | 11 replies | Superseded |
Changes in v7 from the cover letter
- Rebased on top of v7.1-rc1
- Collected tags
Patches in v7 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | soc: qcom: ice: Fix race between qcom_ice_probe() and of_qcom_ice_get()drivers/ | +31 | 0 replies | |
| 2/5 | soc: qcom: ice: Return -ENODEV if the ICE platform device is not founddrivers/ | +1 | 0 replies | |
| 3/5 | soc: qcom: ice: Return proper error codes from devm_of_qcom_ice_get() instead of NULLdrivers/ | +4 | 2 replies | |
| 4/5 | mmc: sdhci-msm: Remove NULL check from devm_of_qcom_ice_get()drivers/ | +5 | 0 replies | |
| 5/5 | scsi: ufs: ufs-qcom: Remove NULL check from devm_of_qcom_ice_get()drivers/ | +5 | 0 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Sumit Garg | Konrad Dybcio | Ulf Hansson | Adrian Hunter | Martin K. Petersen |
|---|---|---|---|---|---|
| 1/5 | T-b A-b | ||||
| 2/5 | T-b A-b | ||||
| 3/5 | T-b A-b | R-b | |||
| 4/5 | T-b A-b | R-b | A-b | A-b | |
| 5/5 | T-b A-b | R-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.
Cover letter [PATCH v7 0/5] soc: qcom: ice: Fix race between qcom_ice_probe() and of_qcom_ice_get()
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.
---
Changes in v7:
- Rebased on top of v7.1-rc1
- Collected tags
Changes in v6:
- Fixed sparse warnings
- Link to v5: https://lore.kernel.org/r/[email protected]
Changes in v5:
- Used Xarray instead of platform drvdata for passing the pointer since driver core frees drvdata on probe failure.
- Link to v4: https://lore.kernel.org/r/[email protected]
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/[email protected]
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/[email protected]
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 | 49 ++++++++++++++++++++++++++++++++------------ drivers/ufs/host/ufs-qcom.c | 10 ++++----- 3 files changed, 46 insertions(+), 23 deletions(-)
---
base-commit: 254f49634ee16a731174d2ae34bc50bd5f45e731
change-id: 20260210-qcom-ice-fix-d2a3a045b32d
Best regards,
Signature · 1 line
Manivannan Sadhasivam <[email protected]>