On Sunday, October 11, 2015 at 03:48:58 AM, Thomas Chou wrote:
> Hi Marek,
Hi,
> On 10/11/2015 02:19 AM, Marek Vasut wrote:
> > It might be wrong to keep DMA address looks alive but actually dead.
> >
> > I don't quite understand this sentence, can you please rephrase it ?
>
> Sorry. I meant th
Hi Marek,
On 10/11/2015 02:19 AM, Marek Vasut wrote:
It might be wrong to keep DMA address looks alive but actually dead.
I don't quite understand this sentence, can you please rephrase it ?
Sorry. I meant the *handle, which is the DMA address, should be
invalidated to NULL when the allocati
On Saturday, October 10, 2015 at 07:33:06 AM, Thomas Chou wrote:
> Hi Marek,
Hi!
> On 10/09/2015 10:49 PM, Marek Vasut wrote:
> >> + *handle = (unsigned long)memalign(ARCH_DMA_MINALIGN, len);
> >
> > This still modifies the handle in both cases (failure and success).
> > We really want to modif
Hi Marek,
On 10/09/2015 10:49 PM, Marek Vasut wrote:
+ *handle = (unsigned long)memalign(ARCH_DMA_MINALIGN, len);
This still modifies the handle in both cases (failure and success).
We really want to modify external variables in case of failure, no?
The *handle return a DMA address, an
On Friday, October 09, 2015 at 01:31:02 PM, Thomas Chou wrote:
> Convert dma_alloc_coherent to use memalign.
>
> Signed-off-by: Thomas Chou
> ---
> v2
> use memalign.
> v3
> check memalign() return for out of memory.
>
> arch/nios2/include/asm/dma-mapping.h | 23 ++-
> 1
Convert dma_alloc_coherent to use memalign.
Signed-off-by: Thomas Chou
---
v2
use memalign.
v3
check memalign() return for out of memory.
arch/nios2/include/asm/dma-mapping.h | 23 ++-
1 file changed, 10 insertions(+), 13 deletions(-)
diff --git a/arch/nios2/include/asm
6 matches
Mail list logo