All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Christoph Hellwig <hch@lst.de>
Cc: iommu@lists.linux-foundation.org,
	Alexey Kardashevskiy <aik@ozlabs.ru>,
	linuxppc-dev@lists.ozlabs.org,
	Lu Baolu <baolu.lu@linux.intel.com>,
	Joerg Roedel <joro@8bytes.org>,
	Robin Murphy <robin.murphy@arm.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/4] dma-mapping: add a dma_ops_bypass flag to struct device
Date: Tue, 14 Apr 2020 14:47:12 +0200	[thread overview]
Message-ID: <20200414124712.GA720223@kroah.com> (raw)
In-Reply-To: <20200414122506.438134-4-hch@lst.de>

On Tue, Apr 14, 2020 at 02:25:05PM +0200, Christoph Hellwig wrote:
> Several IOMMU drivers have a bypass mode where they can use a direct
> mapping if the devices DMA mask is large enough.  Add generic support
> to the core dma-mapping code to do that to switch those drivers to
> a common solution.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>  include/linux/device.h |  6 ++++
>  kernel/dma/mapping.c   | 70 +++++++++++++++++++++++++++++-------------
>  2 files changed, 55 insertions(+), 21 deletions(-)

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

WARNING: multiple messages have this Message-ID (diff)
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Christoph Hellwig <hch@lst.de>
Cc: Alexey Kardashevskiy <aik@ozlabs.ru>,
	linuxppc-dev@lists.ozlabs.org, Joerg Roedel <joro@8bytes.org>,
	linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org,
	Robin Murphy <robin.murphy@arm.com>,
	Lu Baolu <baolu.lu@linux.intel.com>
Subject: Re: [PATCH 3/4] dma-mapping: add a dma_ops_bypass flag to struct device
Date: Tue, 14 Apr 2020 14:47:12 +0200	[thread overview]
Message-ID: <20200414124712.GA720223@kroah.com> (raw)
In-Reply-To: <20200414122506.438134-4-hch@lst.de>

On Tue, Apr 14, 2020 at 02:25:05PM +0200, Christoph Hellwig wrote:
> Several IOMMU drivers have a bypass mode where they can use a direct
> mapping if the devices DMA mask is large enough.  Add generic support
> to the core dma-mapping code to do that to switch those drivers to
> a common solution.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>  include/linux/device.h |  6 ++++
>  kernel/dma/mapping.c   | 70 +++++++++++++++++++++++++++++-------------
>  2 files changed, 55 insertions(+), 21 deletions(-)

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

WARNING: multiple messages have this Message-ID (diff)
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Christoph Hellwig <hch@lst.de>
Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org,
	iommu@lists.linux-foundation.org,
	Robin Murphy <robin.murphy@arm.com>
Subject: Re: [PATCH 3/4] dma-mapping: add a dma_ops_bypass flag to struct device
Date: Tue, 14 Apr 2020 14:47:12 +0200	[thread overview]
Message-ID: <20200414124712.GA720223@kroah.com> (raw)
In-Reply-To: <20200414122506.438134-4-hch@lst.de>

On Tue, Apr 14, 2020 at 02:25:05PM +0200, Christoph Hellwig wrote:
> Several IOMMU drivers have a bypass mode where they can use a direct
> mapping if the devices DMA mask is large enough.  Add generic support
> to the core dma-mapping code to do that to switch those drivers to
> a common solution.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>  include/linux/device.h |  6 ++++
>  kernel/dma/mapping.c   | 70 +++++++++++++++++++++++++++++-------------
>  2 files changed, 55 insertions(+), 21 deletions(-)

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

  reply	other threads:[~2020-04-14 12:47 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-14 12:25 generic DMA bypass flag v3 Christoph Hellwig
2020-04-14 12:25 ` Christoph Hellwig
2020-04-14 12:25 ` Christoph Hellwig
2020-04-14 12:25 ` [PATCH 1/4] dma-mapping: move the remaining DMA API calls out of line Christoph Hellwig
2020-04-14 12:25   ` Christoph Hellwig
2020-04-14 12:25   ` Christoph Hellwig
2020-04-15  2:26   ` Alexey Kardashevskiy
2020-04-15  2:26     ` Alexey Kardashevskiy
2020-04-15  2:26     ` Alexey Kardashevskiy
2020-04-15  6:18     ` Christoph Hellwig
2020-04-15  6:18       ` Christoph Hellwig
2020-04-15  6:18       ` Christoph Hellwig
2020-04-15 11:21       ` Alexey Kardashevskiy
2020-04-15 11:21         ` Alexey Kardashevskiy
2020-04-15 11:21         ` Alexey Kardashevskiy
2020-04-17  7:58         ` Christoph Hellwig
2020-04-17  7:58           ` Christoph Hellwig
2020-04-17  7:58           ` Christoph Hellwig
2020-05-05  4:18           ` Alexey Kardashevskiy
2020-05-05  4:18             ` Alexey Kardashevskiy
2020-05-05  4:18             ` Alexey Kardashevskiy
2020-05-09  8:19             ` Christoph Hellwig
2020-05-09  8:19               ` Christoph Hellwig
2020-05-09  8:19               ` Christoph Hellwig
2020-05-09 14:07               ` Alexey Kardashevskiy
2020-05-09 14:07                 ` Alexey Kardashevskiy
2020-05-09 14:07                 ` Alexey Kardashevskiy
2020-06-03  4:13               ` Alexey Kardashevskiy
2020-06-03  4:13                 ` Alexey Kardashevskiy
2020-06-03  4:13                 ` Alexey Kardashevskiy
2020-07-07  0:43                 ` Alexey Kardashevskiy
2020-07-07  0:43                   ` Alexey Kardashevskiy
2020-07-07  0:43                   ` Alexey Kardashevskiy
2020-07-07 14:51                   ` Christoph Hellwig
2020-07-07 14:51                     ` Christoph Hellwig
2020-07-07 14:51                     ` Christoph Hellwig
2020-04-14 12:25 ` [PATCH 2/4] dma-mapping: inline the fast path dma-direct calls Christoph Hellwig
2020-04-14 12:25   ` Christoph Hellwig
2020-04-14 12:25   ` Christoph Hellwig
2020-04-14 12:25 ` [PATCH 3/4] dma-mapping: add a dma_ops_bypass flag to struct device Christoph Hellwig
2020-04-14 12:25   ` Christoph Hellwig
2020-04-14 12:25   ` Christoph Hellwig
2020-04-14 12:47   ` Greg Kroah-Hartman [this message]
2020-04-14 12:47     ` Greg Kroah-Hartman
2020-04-14 12:47     ` Greg Kroah-Hartman
2020-04-18 12:42   ` Joerg Roedel
2020-04-18 12:42     ` Joerg Roedel
2020-04-18 12:42     ` Joerg Roedel
2020-04-19  8:00     ` Christoph Hellwig
2020-04-19  8:00       ` Christoph Hellwig
2020-04-19  8:00       ` Christoph Hellwig
2020-04-19 12:25       ` Joerg Roedel
2020-04-19 12:25         ` Joerg Roedel
2020-04-19 12:25         ` Joerg Roedel
2020-04-19 14:46         ` Alexey Kardashevskiy
2020-04-19 14:46           ` Alexey Kardashevskiy
2020-04-19 14:46           ` Alexey Kardashevskiy
2020-04-14 12:25 ` [PATCH 4/4] powerpc: use the generic dma_ops_bypass mode Christoph Hellwig
2020-04-14 12:25   ` Christoph Hellwig
2020-04-14 12:25   ` 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=20200414124712.GA720223@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=aik@ozlabs.ru \
    --cc=baolu.lu@linux.intel.com \
    --cc=hch@lst.de \
    --cc=iommu@lists.linux-foundation.org \
    --cc=joro@8bytes.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=robin.murphy@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.