Re: [PATCH 07/11] dts: arm64: layerscape: add dma-ranges property to qoric-mc node

From
Shawn Guo <hidden>
Date
2019-10-14 11:09:33
Also in
dmaengine, dri-devel, linux-arm-kernel, linux-arm-msm, linux-media, linux-pci, linux-tegra, linux-wireless, lkml, xen-devel
Reply to
Nicolas Saenz Julienne, 2019-10-14
On Mon, Oct 14, 2019 at 12:00:25PM +0200, Nicolas Saenz Julienne wrote:
On Mon, 2019-10-14 at 16:28 +0800, Shawn Guo wrote:
quoted
On Tue, Sep 24, 2019 at 08:12:38PM +0200, Nicolas Saenz Julienne wrote:
quoted
qoriq-mc's dpmacs DMA configuration is inherited from their parent node,
which acts a bus in this regard. So far it maked all devices as
dma-coherent but no dma-ranges recommendation is made.

The truth is that the underlying interconnect has DMA constraints, so
add an empty dma-ranges in qoriq-mc's node in order for DT's DMA
configuration code to get the DMA constraints from it.

Signed-off-by: Nicolas Saenz Julienne <redacted>
Updated subject prefix as 'arm64: dts: ...', and applied the patch.
Hi Shawn,
these two patches are no longer needed. This series has been superseded by this
patch[1] 951d48855d ('of: Make of_dma_get_range() work on bus nodes', available
in linux-next) which fixed the issue directly in OF code.

Sorry for the noise.
Okay, thanks for letting me know.  Dropped them.

Shawn
Thread (27 messages) 27 messages, 5 authors, last reply 2019-10-14
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help