On 18 April 2013 21:00, Russell King - ARM Linux wrote:
> On Thu, Apr 04, 2013 at 07:51:43PM +0900, Kukjin Kim wrote:
>> +static u64 dma_mask64 = DMA_BIT_MASK(64);
> ...
>> + if (event != BUS_NOTIFY_ADD_DEVICE)
>> + return NOTIFY_DONE;
>> +
>> + dev->dma_mask = &dma_mask64;
>
>
On Thu, Apr 04, 2013 at 07:51:43PM +0900, Kukjin Kim wrote:
> +static u64 dma_mask64 = DMA_BIT_MASK(64);
...
> + if (event != BUS_NOTIFY_ADD_DEVICE)
> + return NOTIFY_DONE;
> +
> + dev->dma_mask = &dma_mask64;
Sharing the dma mask in this way is a potential issue should you hav
From: Thomas Abraham
Use a platform bus notifier callback function to set the correct dma_mask and
coherent_dma_mask for every device registered on Exynos5440 based machine.
Signed-off-by: Thomas Abraham
Signed-off-by: Kukjin Kim
---
arch/arm/mach-exynos/mach-exynos5-dt.c | 23 +