From: Christoph Hellwig <hch@lst.de>
To: David Woodhouse <dwmw2@infradead.org>, Joerg Roedel <joro@8bytes.org>
Cc: iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org
Subject: per-device dma_map_ops for intel-iommu?
Date: Tue, 9 Apr 2019 15:59:24 +0200 [thread overview]
Message-ID: <20190409135924.GA11431@lst.de> (raw)
Hi David and Joerg,
do you remember a good reason why intel-iommu is not using per-device
dma_map_ops like the AMD iommu or the various ARM iommus?
Right now intel-iommu.c contains a half-asses reimplementation of the
dma direct code for the iommu_no_mapping() case, and it would seem
much nicer to just fall back to that case and not even call into
intel-iommu in that case.
WARNING: multiple messages have this Message-ID (diff)
From: Christoph Hellwig <hch@lst.de>
To: David Woodhouse <dwmw2@infradead.org>, Joerg Roedel <joro@8bytes.org>
Cc: iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org
Subject: per-device dma_map_ops for intel-iommu?
Date: Tue, 9 Apr 2019 15:59:24 +0200 [thread overview]
Message-ID: <20190409135924.GA11431@lst.de> (raw)
Message-ID: <20190409135924.tKs8W0Sotc1yh4wLovc1K6E2xVxPG38z9q-CJh9xPQ4@z> (raw)
Hi David and Joerg,
do you remember a good reason why intel-iommu is not using per-device
dma_map_ops like the AMD iommu or the various ARM iommus?
Right now intel-iommu.c contains a half-asses reimplementation of the
dma direct code for the iommu_no_mapping() case, and it would seem
much nicer to just fall back to that case and not even call into
intel-iommu in that case.
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
next reply other threads:[~2019-04-09 13:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-09 13:59 Christoph Hellwig [this message]
2019-04-09 13:59 ` per-device dma_map_ops for intel-iommu? Christoph Hellwig
[not found] ` <20190409135924.GA11431-jcswGhMUV9g@public.gmane.org>
2019-04-09 14:03 ` David Woodhouse
2019-04-09 14:03 ` David Woodhouse
2019-04-09 14:03 ` David Woodhouse
2019-04-11 13:57 ` Joerg Roedel
2019-04-11 13:57 ` 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=20190409135924.GA11431@lst.de \
--to=hch@lst.de \
--cc=dwmw2@infradead.org \
--cc=iommu@lists.linux-foundation.org \
--cc=joro@8bytes.org \
--cc=linux-kernel@vger.kernel.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 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.