Re: [PATCH v1] of: calculate masks of the device based on dma-range size

2015-03-03 Thread Bjorn Helgaas
On Tue, Mar 03, 2015 at 12:59:52PM -0500, Murali Karicheri wrote: > On 02/25/2015 07:20 PM, Bjorn Helgaas wrote: > >[+cc Catalin] > > > >On Wed, Feb 11, 2015 at 12:53:35PM -0500, Murali Karicheri wrote: > >>This patch update of_dma_configure() API to calculate the > >>masks (dma_mask and coherent_d

Re: [PATCH v1] of: calculate masks of the device based on dma-range size

2015-03-03 Thread Murali Karicheri
On 02/25/2015 07:20 PM, Bjorn Helgaas wrote: [+cc Catalin] On Wed, Feb 11, 2015 at 12:53:35PM -0500, Murali Karicheri wrote: This patch update of_dma_configure() API to calculate the masks (dma_mask and coherent_dma_mask) based on the dma-range values set in DT for the device. Also limit the ma

Re: [PATCH v1] of: calculate masks of the device based on dma-range size

2015-02-27 Thread Murali Karicheri
On 02/25/2015 07:20 PM, Bjorn Helgaas wrote: [+cc Catalin] On Wed, Feb 11, 2015 at 12:53:35PM -0500, Murali Karicheri wrote: This patch update of_dma_configure() API to calculate the masks (dma_mask and coherent_dma_mask) based on the dma-range values set in DT for the device. Also limit the ma

Re: [PATCH v1] of: calculate masks of the device based on dma-range size

2015-02-25 Thread Bjorn Helgaas
[+cc Catalin] On Wed, Feb 11, 2015 at 12:53:35PM -0500, Murali Karicheri wrote: > This patch update of_dma_configure() API to calculate the > masks (dma_mask and coherent_dma_mask) based on the dma-range > values set in DT for the device. Also limit the mask to lower > of the default mask and mask

Re: [PATCH v1] of: calculate masks of the device based on dma-range size

2015-02-11 Thread Catalin Marinas
On Wed, Feb 11, 2015 at 12:53:35PM -0500, Murali Karicheri wrote: > diff --git a/drivers/of/device.c b/drivers/of/device.c > index 314c8a9..167ad2d 100644 > --- a/drivers/of/device.c > +++ b/drivers/of/device.c > @@ -90,10 +90,11 @@ void of_dma_configure(struct device *dev, struct > device_node *n