lkml.org 
[lkml]   [2015]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v3 2/4] of: move of_dma_configure() to device,c to help re-use
Date
On Thursday 08 January 2015 18:44:31 Murali Karicheri wrote:
> The grep of dma-ranges for arch/arm shows the size used is mask + 1 as
>
> ./boot/dts/keystone.dtsi: dma-ranges = <0x80000000 0x8 0x00000000
> 0x80000000>;
> ./boot/dts/keystone.dtsi: dma-ranges;
> ./boot/dts/keystone.dtsi: dma-ranges;
> ./boot/dts/r8a7790.dtsi: dma-ranges = <0x42000000 0 0x40000000 0
> 0x40000000 0 0x80000000
> ./boot/dts/integratorap.dts: dma-ranges = <0x80000000 0x0 0x80000000>;
> ./boot/dts/r8a7791.dtsi: dma-ranges = <0x42000000 0 0x40000000 0
> 0x40000000 0 0x80000000
> ./boot/dts/.k2hk-evm.dtb.dts.tmp: dma-ranges = <0x80000000 0x8
> 0x00000000 0x80000000>;
> ./boot/dts/.k2hk-evm.dtb.dts.tmp: dma-ranges;
> ./boot/dts/.k2l-evm.dtb.dts.tmp: dma-ranges = <0x80000000 0x8
> 0x00000000 0x80000000>;
> ./boot/dts/.k2l-evm.dtb.dts.tmp: dma-ranges;
> ./boot/dts/.k2e-evm.dtb.dts.tmp: dma-ranges = <0x80000000 0x8
> 0x00000000 0x80000000>;
> ./boot/dts/.k2e-evm.dtb.dts.tmp: dma-ranges;
> ./boot/dts/.k2e-evm.dtb.dts.tmp: dma-ranges;
> ./boot/dts/k2e.dtsi: dma-ranges;
> ./boot/dts/k2e.dtsi: dma-ranges;
>
> So for ARM 32 the below case doesn't seem to apply.
>

Ah, I guess that is because an empty dma-ranges property serves the same
purpose.

Arnd


\
 
 \ /
  Last update: 2015-01-09 01:21    [W:0.118 / U:1.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site