Re: [PATCH RFC 46/51] ARM: DMA-API: better handing of DMA masks for coherent allocations

2013-08-09 Thread Tushar Behera
On 08/02/2013 03:50 AM, Russell King wrote: > We need to start treating DMA masks as something which is specific to > the bus that the device resides on, otherwise we're going to hit all > sorts of nasty issues with LPAE and 32-bit DMA controllers in >32-bit > systems, where memory is offset from

Re: [PATCH RFC 46/51] ARM: DMA-API: better handing of DMA masks for coherent allocations

2013-08-09 Thread Tushar Behera
On 08/02/2013 03:50 AM, Russell King wrote: We need to start treating DMA masks as something which is specific to the bus that the device resides on, otherwise we're going to hit all sorts of nasty issues with LPAE and 32-bit DMA controllers in 32-bit systems, where memory is offset from PFN

Re: [PATCH RFC 46/51] ARM: DMA-API: better handing of DMA masks for coherent allocations

2013-08-05 Thread Russell King - ARM Linux
On Mon, Aug 05, 2013 at 05:43:47PM -0500, Rob Herring wrote: > On Thu, Aug 1, 2013 at 5:20 PM, Russell King > wrote: > > We need to start treating DMA masks as something which is specific to > > the bus that the device resides on, otherwise we're going to hit all > > sorts of nasty issues with

Re: [PATCH RFC 46/51] ARM: DMA-API: better handing of DMA masks for coherent allocations

2013-08-05 Thread Rob Herring
On Thu, Aug 1, 2013 at 5:20 PM, Russell King wrote: > We need to start treating DMA masks as something which is specific to > the bus that the device resides on, otherwise we're going to hit all > sorts of nasty issues with LPAE and 32-bit DMA controllers in >32-bit > systems, where memory is

Re: [PATCH RFC 46/51] ARM: DMA-API: better handing of DMA masks for coherent allocations

2013-08-05 Thread Rob Herring
On Thu, Aug 1, 2013 at 5:20 PM, Russell King rmk+ker...@arm.linux.org.uk wrote: We need to start treating DMA masks as something which is specific to the bus that the device resides on, otherwise we're going to hit all sorts of nasty issues with LPAE and 32-bit DMA controllers in 32-bit

Re: [PATCH RFC 46/51] ARM: DMA-API: better handing of DMA masks for coherent allocations

2013-08-05 Thread Russell King - ARM Linux
On Mon, Aug 05, 2013 at 05:43:47PM -0500, Rob Herring wrote: On Thu, Aug 1, 2013 at 5:20 PM, Russell King rmk+ker...@arm.linux.org.uk wrote: We need to start treating DMA masks as something which is specific to the bus that the device resides on, otherwise we're going to hit all sorts of

[PATCH RFC 46/51] ARM: DMA-API: better handing of DMA masks for coherent allocations

2013-08-01 Thread Russell King
We need to start treating DMA masks as something which is specific to the bus that the device resides on, otherwise we're going to hit all sorts of nasty issues with LPAE and 32-bit DMA controllers in >32-bit systems, where memory is offset from PFN 0. In order to start doing this, we convert the

[PATCH RFC 46/51] ARM: DMA-API: better handing of DMA masks for coherent allocations

2013-08-01 Thread Russell King
We need to start treating DMA masks as something which is specific to the bus that the device resides on, otherwise we're going to hit all sorts of nasty issues with LPAE and 32-bit DMA controllers in 32-bit systems, where memory is offset from PFN 0. In order to start doing this, we convert the