Re: [PATCH v3 1/7] device: introduce per device dma_pfn_offset

2014-05-01 Thread Rob Herring
On Thu, Apr 24, 2014 at 10:30 AM, Santosh Shilimkar wrote: > On few architectures, there are few restrictions on DMAble area of system > RAM. That also means that devices needs to know about this restrictions so > that the dma_masks can be updated accordingly and dma address translation > helpers

Re: [PATCH v3 1/7] device: introduce per device dma_pfn_offset

2014-05-01 Thread Rob Herring
On Thu, Apr 24, 2014 at 10:30 AM, Santosh Shilimkar santosh.shilim...@ti.com wrote: On few architectures, there are few restrictions on DMAble area of system RAM. That also means that devices needs to know about this restrictions so that the dma_masks can be updated accordingly and dma address

[PATCH v3 1/7] device: introduce per device dma_pfn_offset

2014-04-24 Thread Santosh Shilimkar
On few architectures, there are few restrictions on DMAble area of system RAM. That also means that devices needs to know about this restrictions so that the dma_masks can be updated accordingly and dma address translation helpers can add/subtract the dma offset. In most of cases DMA addresses

[PATCH v3 1/7] device: introduce per device dma_pfn_offset

2014-04-24 Thread Santosh Shilimkar
On few architectures, there are few restrictions on DMAble area of system RAM. That also means that devices needs to know about this restrictions so that the dma_masks can be updated accordingly and dma address translation helpers can add/subtract the dma offset. In most of cases DMA addresses