Discussion about iopa()

Kumar Gala galak at kernel.crashing.org
Sat Feb 10 10:06:47 EST 2007


On Feb 9, 2007, at 4:51 PM, Timur Tabi wrote:

> Kumar Gala wrote:
>
>> My feeling is to leave the code alone until we have the dma  
>> mapping api setup to handle MURAM.  If we can't do alloc/map/free  
>> with the same mechanism I dont see the value in just doing 'map'.   
>> It just makes the code more confusing w/o any big gain.
>
> So you don't want to see a patch where we store the physical  
> address in our own data structures when the memory is mapped (or  
> allocated if it's regular RAM)?

It doesn't seem like it's that big of a change.  I'd rather the code  
clearly do different things for MURAM vs system memory for ALL accesses.

- k



More information about the Linuxppc-dev mailing list