Skip to contentSkip to conversation

dt-bindings: ufs: qcom: allow 'dma-coherent' property

PATCH RESEND Applied Johan Hovold 2 participants 3 messages Jan 16, 2023 – Jan 27, 2023

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 dt-bindings: ufs: qcom: allow 'dma-coherent' property

UFS controllers may be cache coherent and must be marked as such in the devicetree to avoid data corruption.

This is specifically needed on recent Qualcomm platforms like SC8280XP.

---

James and Martin,

I'm resending as reminder in case you missed the first submission which included an arm64 dts update and also did not have you on CC as I was following scripts/get_maintainer.pl too literally:

	https://lore.kernel.org/all/[email protected]/

I've added Rob and Bjorn's Reviewed-by tags from the above thread.

Could you take this one through the scsi tree?

Johan

 Documentation/devicetree/bindings/ufs/qcom,ufs.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/ufs/qcom,ufs.yaml +2 -0
index f2d6298d926c..1f1d286749c0 100644
@@ -44,6 +44,8 @@ properties:
     minItems: 8
     maxItems: 11
 
+  dma-coherent: true
+
   interconnects:
     minItems: 2
     maxItems: 2
Signature · 1 line
2.38.2
#1 lore raw

Johan,

Quoted 2 lines

UFS controllers may be cache coherent and must be marked as such in the devicetree to avoid data corruption.

Applied to 6.3/scsi-staging, thanks!

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering
#2 lore raw
In reply to Johan Hovold
Quoted 6 lines · Johan Hovold

UFS controllers may be cache coherent and must be marked as such in the devicetree to avoid data corruption.

This is specifically needed on recent Qualcomm platforms like SC8280XP.

Applied to 6.3/scsi-queue, thanks!

[1/1] dt-bindings: ufs: qcom: allow 'dma-coherent' property

      https://git.kernel.org/mkp/scsi/c/85e182b48a33
Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering