Thread (13 messages) flat view 13 messages, 3 authors, 2017-03-30

[RFC PATCH 3/3] of: fix node traversing in of_dma_get_range

From: robh@kernel.org (Rob Herring)
Date: 2017-03-27 14:35:25
Also in: linux-devicetree, linux-iommu, linux-pci, lkml

On Sat, Mar 25, 2017 at 12:31 AM, Oza Pawandeep [off-list ref] wrote:
it jumps to the parent node without examining the child node.
also with that, it throws "no dma-ranges found for node"
for pci dma-ranges.

this patch fixes device node traversing for dma-ranges.
What's the DT look like that doesn't work?

dma-ranges is supposed to be a bus property, not a device's property.
So looking at the parent is correct behavior generally.

Rob
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help