Skip to contentSkip to conversation

dt-bindings: PCI: microchip,pcie-host: fix dma coherency property

PATCH Applied Conor Dooley 3 participants 4 messages May 16, 2025

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

PATCH 1/1 dt-bindings: PCI: microchip,pcie-host: fix dma coherency property

From: Conor Dooley <[email protected]>

PolarFire SoC may be configured in a way that requires non-coherent DMA handling. On RISC-V, buses are coherent by default & the dma-noncoherent property is required to denote buses or devices that are non-coherent. For some reason, instead of adding dma-noncoherent to the binding the pointless, NOP, property dma-coherent was. Swap dma-coherent for dma-noncoherent.

Fixes 04aa999eb96fd ("dt-bindings: PCI: microchip,pcie-host: Allow dma-noncoherent")

---
CC: Daire McNamara <[email protected]>
CC: Bjorn Helgaas <[email protected]>
CC: Lorenzo Pieralisi <[email protected]>
CC: Manivannan Sadhasivam <[email protected]>
CC: Rob Herring <[email protected]>
CC: Krzysztof Kozlowski <[email protected]>
CC: Conor Dooley <[email protected]>
CC: [email protected]
CC: [email protected]
CC: [email protected]

---
 Documentation/devicetree/bindings/pci/microchip,pcie-host.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/pci/microchip,pcie-host.yaml +1 -1
index 103574d18dbc2..56397df2a6eec 100644
@@ -50,7 +50,7 @@ properties:
     items:
       pattern: '^fic[0-3]$'
 
-  dma-coherent: true
+  dma-noncoherent: true
 
   ranges:
     minItems: 1
Signature · 1 line
2.45.2
maintainer Applied
#1 lore raw

Hello,

Quoted 8 lines

PolarFire SoC may be configured in a way that requires non-coherent DMA handling. On RISC-V, buses are coherent by default & the dma-noncoherent property is required to denote buses or devices that are non-coherent. For some reason, instead of adding dma-noncoherent to the binding the pointless, NOP, property dma-coherent was. Swap dma-coherent for dma-noncoherent.

[...]

Applied to dt-bindings, thank you!

[1/1] dt-bindings: PCI: microchip,pcie-host: fix dma coherency property

      https://git.kernel.org/pci/pci/c/db8266017e0a

	Krzysztof
#2 lore raw
In reply to Conor Dooley

Hello,

Quoted 6 lines

PolarFire SoC may be configured in a way that requires non-coherent DMA handling. On RISC-V, buses are coherent by default & the dma-noncoherent property is required to denote buses or devices that are non-coherent. For some reason, instead of adding dma-noncoherent to the binding the pointless, NOP, property dma-coherent was. Swap dma-coherent for dma-noncoherent.

I have favour to ask. Can you capitalise (so-called "title case") the subject when submitting patches that are PCI-specific DT bindings?

This is the preferred style for PCI, at least at the moment.

Also, it would save us the need to do it every time. :)

Thank you!

Krzysztof

#3 lore raw
Quoted 11 lines · Krzysztof Wilczyński

Hello,

Quoted 6 lines

PolarFire SoC may be configured in a way that requires non-coherent DMA handling. On RISC-V, buses are coherent by default & the dma-noncoherent property is required to denote buses or devices that are non-coherent. For some reason, instead of adding dma-noncoherent to the binding the pointless, NOP, property dma-coherent was. Swap dma-coherent for dma-noncoherent.

I have favour to ask. Can you capitalise (so-called "title case") the subject when submitting patches that are PCI-specific DT bindings?

Sure, I can add that to my list of things I try to remember while submitting for PCI.

Quoted 8 lines

This is the preferred style for PCI, at least at the moment.

Also, it would save us the need to do it every time. :)

Thank you!

Krzysztof