Re: [U-Boot] [PATCH] mmc/dw_mmc: Fix DMA descriptor corruption

2013-09-06 Thread Pantelis Antoniou
Hi Mischa, On Jul 26, 2013, at 3:08 PM, Mischa Jonker wrote: In dwmci_prepare_data, the descriptors are allocated for DMA transfer. These are allocated using the ALLOC_CACHE_ALIGN_BUFFER. This macro uses the stack to allocate these descriptors. This becomes a problem if the DMA transfer

Re: [U-Boot] [PATCH] mmc/dw_mmc: Fix DMA descriptor corruption

2013-08-02 Thread Jaehoon Chung
Hi, Mischa, Looks good to me. Acked-by: Jaehoon Chung jh80.ch...@samsung.com Best Regards, Jaehoon Chung On 07/26/2013 09:08 PM, Mischa Jonker wrote: In dwmci_prepare_data, the descriptors are allocated for DMA transfer. These are allocated using the ALLOC_CACHE_ALIGN_BUFFER. This macro uses

[U-Boot] [PATCH] mmc/dw_mmc: Fix DMA descriptor corruption

2013-07-26 Thread Mischa Jonker
In dwmci_prepare_data, the descriptors are allocated for DMA transfer. These are allocated using the ALLOC_CACHE_ALIGN_BUFFER. This macro uses the stack to allocate these descriptors. This becomes a problem if the DMA transfer continues after the processor leaves the function in which the