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

David Woodhouse
2014-09-21T06:01:46Z

[-- Attachment #1.1: Type: text/plain, Size: 568 bytes --]

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

[-- Attachment #1.2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 5745 bytes --]

[-- Attachment #2: Type: text/plain, Size: 183 bytes --]

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org