From: hch@lst.de (Christoph Hellwig)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 2/3] iommu/dma: Use fast DMA domain lookup
Date: Fri, 28 Sep 2018 17:33:34 +0200 [thread overview]
Message-ID: <20180928153334.GA9462@lst.de> (raw)
In-Reply-To: <a9eb4b79-1fb8-eec7-0566-966f84022d7b@arm.com>
On Fri, Sep 28, 2018 at 04:31:10PM +0100, Robin Murphy wrote:
> The tricky part is how to reconcile that with those other drivers which
> want to do explicit IOMMU management with their own domain but still use
> the DMA API for coherency of the underlying memory. I do have a couple of
> half-formed ideas, but they're not quite there yet.
It think the only sensible answer is that they can't, and we'll need
coherency API in the iommu API (or augmenting it). Which might be a
real possibility now that I'm almost done lifting the coherency
management to arch hooks instead of dma op methods.
next prev parent reply other threads:[~2018-09-28 15:33 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-12 15:24 [PATCH v2 0/3] iommu: Avoid DMA ops domain refcount contention Robin Murphy
2018-09-12 15:24 ` [PATCH v2 1/3] iommu: Add fast hook for getting DMA domains Robin Murphy
2018-09-12 15:24 ` [PATCH v2 2/3] iommu/dma: Use fast DMA domain lookup Robin Murphy
2018-09-28 13:26 ` Marek Szyprowski
2018-09-28 13:52 ` Robin Murphy
2018-09-28 14:21 ` Marek Szyprowski
2018-09-28 15:31 ` Robin Murphy
2018-09-28 15:33 ` Christoph Hellwig [this message]
2018-09-28 15:46 ` Robin Murphy
[not found] ` <CGME20180928160945eucas1p17ff77fe34854548719880638ecb9c54d@eucas1p1.samsung.com>
2018-09-28 16:09 ` [PATCH] drm/exynos: Use selected dma_dev default iommu domain instead of a fake one Marek Szyprowski
2018-09-28 16:13 ` Robin Murphy
2018-09-28 16:18 ` [PATCH v2 2/3] iommu/dma: Use fast DMA domain lookup Marek Szyprowski
2018-10-01 10:55 ` Inki Dae
2018-09-12 15:24 ` [PATCH v2 3/3] arm64/dma-mapping: Mildly optimise non-coherent IOMMU ops Robin Murphy
2018-09-14 12:48 ` [PATCH v2 0/3] iommu: Avoid DMA ops domain refcount contention Will Deacon
2018-09-17 11:20 ` John Garry
2018-09-20 12:51 ` John Garry
2018-09-17 13:33 ` Christoph Hellwig
2018-09-18 13:28 ` Tom Murphy
2018-09-25 8:24 ` Joerg Roedel
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=20180928153334.GA9462@lst.de \
--to=hch@lst.de \
--cc=linux-arm-kernel@lists.infradead.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).