Re: [PATCH v2] dma-mapping: Provide write-combine allocations

From: Marek Szyprowski
Date: Thu Aug 21 2014 - 06:38:56 EST


Hello,

On 2014-08-01 17:19, Russell King - ARM Linux wrote:
On Fri, Aug 01, 2014 at 02:40:59PM +0200, Thierry Reding wrote:
On Fri, Jun 27, 2014 at 11:56:58AM +0200, Thierry Reding wrote:
From: Thierry Reding <treding@xxxxxxxxxx>

Provide an implementation for dma_{alloc,free,mmap}_writecombine() when
the architecture supports DMA attributes.

Signed-off-by: Thierry Reding <treding@xxxxxxxxxx>
---
Changes in v2:
- Add a generic dma_mmap_writecombine() function

arch/arm/include/asm/dma-mapping.h | 16 ----------------
include/asm-generic/dma-mapping-common.h | 8 --------
include/linux/dma-mapping.h | 26 ++++++++++++++++++++++++++
3 files changed, 26 insertions(+), 24 deletions(-)
Ping?
I have no problem with this, but I don't think I can say yes to it; that
depends whether other people are happy for this to live in
include/linux/dma-mapping.h.

I guess consent for this change can only come by no one objecting to it
after several postings.

I will take this patch my dma-mapping-next tree and later send pull request
to Linus, so it will be handled in a similar way as all other changes to
generic dma-mapping subsystem done in last 2 years.

Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/