lkml.org 
[lkml]   [2021]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: add support for the global coherent pool to the dma core
Date


> -----Original Message-----
> From: Christoph Hellwig <hch@lst.de>
> Sent: Monday, July 12, 2021 1:17 AM
> To: iommu@lists.linux-foundation.org; Russell King
<linux@armlinux.org.uk>;
> Brian Cain <bcain@codeaurora.org>
> Cc: Dillon Min <dillon.minfei@gmail.com>; Vladimir Murzin
> <vladimir.murzin@arm.com>; linux-arm-kernel@lists.infradead.org; linux-
> hexagon@vger.kernel.org; linux-kernel@vger.kernel.org
> Subject: add support for the global coherent pool to the dma core
>
> Hi all,
>
> this series adds support for using the global coherent (aka uncached)
> pool to the generic dma-direct code and then switches arm-nommu and
> hexagon over to it, together with a bunch of cleanups.

Christoph,

Thanks for sending this -- I will take a look and give some feedback soon.

> Diffstat:
> arch/arm/Kconfig | 5 -
> arch/arm/mm/dma-mapping-nommu.c | 173
+--------------------------------------
> -
> arch/hexagon/Kconfig | 1
> arch/hexagon/kernel/dma.c | 57 ++-----------
> include/linux/dma-map-ops.h | 18 ++--
> kernel/dma/Kconfig | 4
> kernel/dma/coherent.c | 159
+++++++++++++++++-------------------
> kernel/dma/direct.c | 15 +++
> 8 files changed, 124 insertions(+), 308 deletions(-)

\
 
 \ /
  Last update: 2021-07-28 17:21    [W:0.092 / U:1.976 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site