question about dma-ranges

Mitch Bradley wmb at firmworks.com
Wed Oct 27 11:51:16 EST 2010


  It's probably unnecessary on modern machines, but old PCs were fairly restrictive about DMA addresses due to short 
counters.  The buses on which such restrictions applied are no longer at the root level, but they were once there...

On 10/27/2010 8:48 AM, Yoder Stuart-B08248 wrote:
> Mitch,
>
> In the dma-ranges proposal:
>
> http://playground.sun.com/1275/proposals/Closed/Accepted/410-it.txt
>
> ...there is the following special case described:
>
>     As a special case, a "dma-ranges" property may be present in the
>     root node of the device tree.  In this case, the property value
>     describes the ranges of DMA addresses that the system bus can
>     accept.  In this case, the length of the parent-address portion
>     of each entry in the property value is 0 (because the root node
>     has no parent), so the format reduces to...
>
> A few of us in the ePAPR committee were discussing this and
> were wondering what the use case for a dma-ranges on the
> root is.   Is this special case really needed?
>
> Thanks,
> Stuart Yoder
>
>
>


More information about the devicetree-discuss mailing list