summaryrefslogtreecommitdiff
path: root/include/linux/of_address.h
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2019-09-04 13:43:30 +0300
committerRob Herring <robh@kernel.org>2019-10-08 21:55:26 +0300
commit81db12ee15cb83926e290a8a3654a2dfebc80935 (patch)
tree0376a0382cb3e0af5f370a1e8e123436213c98e5 /include/linux/of_address.h
parent04db93a95aef392a98f9ffa8745da2e7c58ba75b (diff)
downloadlinux-81db12ee15cb83926e290a8a3654a2dfebc80935.tar.xz
of/address: Translate 'dma-ranges' for parent nodes missing 'dma-ranges'
'dma-ranges' frequently exists without parent nodes having 'dma-ranges'. While this is an error for 'ranges', this is fine because DMA capable devices always have a translatable DMA address. Also, with no 'dma-ranges' at all, the assumption is that DMA addresses are 1:1 with no restrictions unless perhaps the device itself has implicit restrictions. Cc: Robin Murphy <robin.murphy@arm.com> Tested-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de> Reviewed-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'include/linux/of_address.h')
0 files changed, 0 insertions, 0 deletions