[PATCH v5 2/3] virtio_pci: Use the DMA API for virtqueues when possible

David Woodhouse
Sun, 21 Sep 2014 06:01:46 -0000

On Sat, 2014-09-20 at 22:48 -0700, Andy Lutomirski
wrote:
>
> I'm all for doing this as some kind of bus property, if needed,
> although David Woodhouse may be right that the best solution is to
> *always* have the IOMMU there and to just ask it for an identity map
> if desired.

That's the right solution for x86, certainly. For POWER it's a little
less clear-cut because I don't think the IOMMU normally supports
identity mapping there. You could still do an identity mapping (hell, we
do at the moment) but it'd be a very special case.

--
dwmw2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5745 bytes
Desc: not available
URL:
<http://lists.linuxfoundation.org/pipermail/virtualization/attachments/20140920/0cfa038b/attachment.bin>