All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Brian Cain" <bcain@codeaurora.org>
To: 'Christoph Hellwig' <hch@lst.de>,
	iommu@lists.linux-foundation.org,
	'Russell King' <linux@armlinux.org.uk>
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,
	"'Manning, Sid'" <sidneym@quicinc.com>
Subject: RE: add support for the global coherent pool to the dma core
Date: Wed, 28 Jul 2021 10:20:34 -0500	[thread overview]
Message-ID: <03d501d783c4$1d3f10e0$57bd32a0$@codeaurora.org> (raw)
In-Reply-To: <20210712061704.4162464-1-hch@lst.de>



> -----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(-)


WARNING: multiple messages have this Message-ID (diff)
From: "Brian Cain" <bcain@codeaurora.org>
To: "'Christoph Hellwig'" <hch@lst.de>,
	<iommu@lists.linux-foundation.org>,
	"'Russell King'" <linux@armlinux.org.uk>
Cc: 'Vladimir Murzin' <vladimir.murzin@arm.com>,
	"'Manning, Sid'" <sidneym@quicinc.com>,
	linux-hexagon@vger.kernel.org, linux-kernel@vger.kernel.org,
	'Dillon Min' <dillon.minfei@gmail.com>,
	linux-arm-kernel@lists.infradead.org
Subject: RE: add support for the global coherent pool to the dma core
Date: Wed, 28 Jul 2021 10:20:34 -0500	[thread overview]
Message-ID: <03d501d783c4$1d3f10e0$57bd32a0$@codeaurora.org> (raw)
In-Reply-To: <20210712061704.4162464-1-hch@lst.de>



> -----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(-)

_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

WARNING: multiple messages have this Message-ID (diff)
From: "Brian Cain" <bcain@codeaurora.org>
To: "'Christoph Hellwig'" <hch@lst.de>,
	<iommu@lists.linux-foundation.org>,
	"'Russell King'" <linux@armlinux.org.uk>
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>,
	"'Manning, Sid'" <sidneym@quicinc.com>
Subject: RE: add support for the global coherent pool to the dma core
Date: Wed, 28 Jul 2021 10:20:34 -0500	[thread overview]
Message-ID: <03d501d783c4$1d3f10e0$57bd32a0$@codeaurora.org> (raw)
In-Reply-To: <20210712061704.4162464-1-hch@lst.de>



> -----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(-)


  parent reply	other threads:[~2021-07-28 15:20 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-12  6:16 add support for the global coherent pool to the dma core Christoph Hellwig
2021-07-12  6:16 ` Christoph Hellwig
2021-07-12  6:16 ` Christoph Hellwig
2021-07-12  6:16 ` Christoph Hellwig
     [not found] ` <20210712061704.4162464-1-hch-jcswGhMUV9g@public.gmane.org>
2021-07-12  6:16   ` [PATCH 1/7] dma-direct: add support for dma_coherent_default_memory Christoph Hellwig
2021-07-12  6:16     ` Christoph Hellwig
2021-07-12  6:16     ` Christoph Hellwig
2021-07-12  6:16     ` Christoph Hellwig
2021-07-12  6:16   ` [PATCH 2/7] ARM/nommu: use the generic dma-direct code for non-coherent devices Christoph Hellwig
2021-07-12  6:16     ` Christoph Hellwig
2021-07-12  6:16     ` Christoph Hellwig
2021-07-12  6:16     ` Christoph Hellwig
2021-07-12  6:17   ` [PATCH 3/7] dma-mapping: allow using the global coherent pool for !ARM Christoph Hellwig
2021-07-12  6:17     ` Christoph Hellwig
2021-07-12  6:17     ` Christoph Hellwig
2021-07-12  6:17     ` Christoph Hellwig
2021-07-12  6:17   ` [PATCH 4/7] dma-mapping: simplify dma_init_coherent_memory Christoph Hellwig
2021-07-12  6:17     ` Christoph Hellwig
2021-07-12  6:17     ` Christoph Hellwig
2021-07-12  6:17     ` Christoph Hellwig
2021-07-12  6:17   ` [PATCH 5/7] dma-mapping: add a dma_init_global_coherent helper Christoph Hellwig
2021-07-12  6:17     ` Christoph Hellwig
2021-07-12  6:17     ` Christoph Hellwig
2021-07-12  6:17     ` Christoph Hellwig
2021-07-12  6:17   ` [PATCH 6/7] dma-mapping: make the global coherent pool conditional Christoph Hellwig
2021-07-12  6:17     ` Christoph Hellwig
2021-07-12  6:17     ` Christoph Hellwig
2021-07-12  6:17     ` Christoph Hellwig
2021-07-23 21:41     ` Atish Patra
2021-07-23 21:41       ` Atish Patra
2021-07-23 21:41       ` Atish Patra
2021-07-23 21:41       ` Atish Patra
2021-07-12  6:17   ` [PATCH 7/7] hexagon: use the generic global coherent pool Christoph Hellwig
2021-07-12  6:17     ` Christoph Hellwig
2021-07-12  6:17     ` Christoph Hellwig
2021-07-12  6:17     ` Christoph Hellwig
2021-08-14  1:57     ` Brian Cain
2021-08-14  1:57       ` Brian Cain
2021-08-14  1:57       ` Brian Cain
2021-08-18 14:27       ` 'Christoph Hellwig'
2021-08-18 14:27         ` 'Christoph Hellwig'
2021-08-18 14:27         ` 'Christoph Hellwig'
2021-07-28 15:20 ` Brian Cain [this message]
2021-07-28 15:20   ` add support for the global coherent pool to the dma core Brian Cain
2021-07-28 15:20   ` Brian Cain
2021-08-12 13:09   ` 'Christoph Hellwig'
2021-08-12 13:09     ` 'Christoph Hellwig'
2021-08-12 13:09     ` 'Christoph Hellwig'
2021-08-14  7:03 ` Christoph Hellwig
2021-08-14  7:03   ` Christoph Hellwig
2021-08-14  7:03   ` Christoph Hellwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='03d501d783c4$1d3f10e0$57bd32a0$@codeaurora.org' \
    --to=bcain@codeaurora.org \
    --cc=dillon.minfei@gmail.com \
    --cc=hch@lst.de \
    --cc=iommu@lists.linux-foundation.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-hexagon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=sidneym@quicinc.com \
    --cc=vladimir.murzin@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.