Re: [PATCH 2/4] ARM: dma: define DMA_ALIGNMENT instead of defining dma_alloc

2023-09-21 Thread Marco Felsch
Hi Ahmad, On 23-09-21, Ahmad Fatoum wrote: > There's a suitable fallback dma_alloc implementation already in dma.h, > which we can use as soon as we define DMA_ALIGNMENT. By doing that, we > also can use the __dma_aligned attribute that will come in handy in the > follow-up commit. > >

[PATCH 2/4] ARM: dma: define DMA_ALIGNMENT instead of defining dma_alloc

2023-09-21 Thread Ahmad Fatoum
There's a suitable fallback dma_alloc implementation already in dma.h, which we can use as soon as we define DMA_ALIGNMENT. By doing that, we also can use the __dma_aligned attribute that will come in handy in the follow-up commit. Signed-off-by: Ahmad Fatoum --- arch/arm/include/asm/dma.h | 6