Re: [PATCH 2/4] dma-mapping: add get_required_mask if arch overrides default

2011-09-16 Thread FUJITA Tomonori
Sorry for the late reply, On Thu, 01 Sep 2011 15:35:11 +1000 Benjamin Herrenschmidt wrote: > On Wed, 2011-06-29 at 17:19 +0900, FUJITA Tomonori wrote: > > On Fri, 24 Jun 2011 12:05:23 -0700 > > Nishanth Aravamudan wrote: > > > > > From: Milton Miller > > > > > > If an architecture sets ARCH_

Re: [PATCH 2/4] dma-mapping: add get_required_mask if arch overrides default

2011-08-31 Thread Benjamin Herrenschmidt
On Wed, 2011-06-29 at 17:19 +0900, FUJITA Tomonori wrote: > On Fri, 24 Jun 2011 12:05:23 -0700 > Nishanth Aravamudan wrote: > > > From: Milton Miller > > > > If an architecture sets ARCH_HAS_DMA_GET_REQUIRED_MASK and has settable > > dma_map_ops, the required mask may change by the ops implemen

Re: [PATCH 2/4] dma-mapping: add get_required_mask if arch overrides default

2011-06-29 Thread FUJITA Tomonori
On Fri, 24 Jun 2011 12:05:23 -0700 Nishanth Aravamudan wrote: > From: Milton Miller > > If an architecture sets ARCH_HAS_DMA_GET_REQUIRED_MASK and has settable > dma_map_ops, the required mask may change by the ops implementation. > For example, a system that always has an mmu inline may only r

[PATCH 2/4] dma-mapping: add get_required_mask if arch overrides default

2011-06-24 Thread Nishanth Aravamudan
From: Milton Miller If an architecture sets ARCH_HAS_DMA_GET_REQUIRED_MASK and has settable dma_map_ops, the required mask may change by the ops implementation. For example, a system that always has an mmu inline may only require 32 bits while a swiotlb would desire bits to cover all of memory.