Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1381732

Re: [PATCH RFC] fixup! virtio: convert to use DMA api

From David Woodhouse <dwmw2@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH RFC] fixup! virtio: convert to use DMA api
Date 2016-04-18 16:10 +0200
Message-ID <rpi2d-6VB-3@gated-at.bofh.it> (permalink)
References <rpfQK-4Ut-23@gated-at.bofh.it> <rpg0q-502-3@gated-at.bofh.it> <rphfR-6dw-31@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Mon, 2016-04-18 at 16:12 +0300, Michael S. Tsirkin wrote:
> I'm not sure I understand the issue.  The public API is not about how
> the driver works.  It doesn't say "don't use DMA API" anywhere, does it?
> It's about telling device whether to obey the IOMMU and
> about discovering whether a device is in fact under the IOMMU.

Apologies, I was wrongly reading this as a kernel patch.

After a brief struggle with "telling device whether to obey the IOMMU",
which is obviously completely impossible from the guest kernel, I
realise my mistake :)

So... on x86 how does this get reflected in the DMAR tables that the
guest BIOS presents to the guest kernel, so that the guest kernel
*knows* which devices are behind which IOMMU?

(And are you fixing the case of assigned PCI devices, which aren't
behind any IOMMU, at the same time as you answer that? :)

-- 
dwmw2


Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH RFC] fixup! virtio: convert to use DMA api "Michael S. Tsirkin" <mst@redhat.com> - 2016-04-18 13:50 +0200
  Re: [PATCH RFC] fixup! virtio: convert to use DMA api David Woodhouse <dwmw2@infradead.org> - 2016-04-18 14:00 +0200
    Re: [PATCH RFC] fixup! virtio: convert to use DMA api "Michael S. Tsirkin" <mst@redhat.com> - 2016-04-18 15:20 +0200
      Re: [PATCH RFC] fixup! virtio: convert to use DMA api David Woodhouse <dwmw2@infradead.org> - 2016-04-18 16:10 +0200
        Re: [PATCH RFC] fixup! virtio: convert to use DMA api "Michael S. Tsirkin" <mst@redhat.com> - 2016-04-18 16:30 +0200
          Re: [PATCH RFC] fixup! virtio: convert to use DMA api David Woodhouse <dwmw2@infradead.org> - 2016-04-18 17:30 +0200
            Re: [PATCH RFC] fixup! virtio: convert to use DMA api "Michael S. Tsirkin" <mst@redhat.com> - 2016-04-18 17:40 +0200
              Re: [PATCH RFC] fixup! virtio: convert to use DMA api David Woodhouse <dwmw2@infradead.org> - 2016-04-18 18:00 +0200
                Re: [PATCH RFC] fixup! virtio: convert to use DMA api "Michael S. Tsirkin" <mst@redhat.com> - 2016-04-18 18:30 +0200
                Re: [PATCH RFC] fixup! virtio: convert to use DMA api David Woodhouse <dwmw2@infradead.org> - 2016-04-18 20:30 +0200
                Re: [PATCH RFC] fixup! virtio: convert to use DMA api Andy Lutomirski <luto@amacapital.net> - 2016-04-18 21:30 +0200
                Re: [PATCH RFC] fixup! virtio: convert to use DMA api "Michael S. Tsirkin" <mst@redhat.com> - 2016-04-19 12:30 +0200
                Re: [PATCH RFC] fixup! virtio: convert to use DMA api Andy Lutomirski <luto@amacapital.net> - 2016-04-19 18:10 +0200
                Re: [PATCH RFC] fixup! virtio: convert to use DMA api "Michael S. Tsirkin" <mst@redhat.com> - 2016-04-19 18:10 +0200
                Re: [PATCH RFC] fixup! virtio: convert to use DMA api Andy Lutomirski <luto@amacapital.net> - 2016-04-19 18:20 +0200
                Re: [PATCH RFC] fixup! virtio: convert to use DMA api "Michael S. Tsirkin" <mst@redhat.com> - 2016-04-19 18:30 +0200
                Re: [PATCH RFC] fixup! virtio: convert to use DMA api David Woodhouse <dwmw2@infradead.org> - 2016-04-19 19:40 +0200
                Re: [PATCH RFC] fixup! virtio: convert to use DMA api "Michael S. Tsirkin" <mst@redhat.com> - 2016-04-19 20:00 +0200
                Re: [PATCH RFC] fixup! virtio: convert to use DMA api Andy Lutomirski <luto@amacapital.net> - 2016-04-19 20:10 +0200
                Re: [PATCH RFC] fixup! virtio: convert to use DMA api "Michael S. Tsirkin" <mst@redhat.com> - 2016-04-19 22:20 +0200
                Re: [PATCH RFC] fixup! virtio: convert to use DMA api Andy Lutomirski <luto@amacapital.net> - 2016-04-19 22:30 +0200
                Re: [PATCH RFC] fixup! virtio: convert to use DMA api "Michael S. Tsirkin" <mst@redhat.com> - 2016-04-19 23:00 +0200
                Re: [PATCH RFC] fixup! virtio: convert to use DMA api Andy Lutomirski <luto@amacapital.net> - 2016-04-19 23:10 +0200
                Re: [PATCH RFC] fixup! virtio: convert to use DMA api "Michael S. Tsirkin" <mst@redhat.com> - 2016-04-20 15:20 +0200
                Re: [PATCH RFC] fixup! virtio: convert to use DMA api Andy Lutomirski <luto@amacapital.net> - 2016-04-20 17:50 +0200
                Re: [PATCH RFC] fixup! virtio: convert to use DMA api "Michael S. Tsirkin" <mst@redhat.com> - 2016-04-19 11:20 +0200
                Re: [PATCH RFC] fixup! virtio: convert to use DMA api Alex Williamson <alex.williamson@redhat.com> - 2016-04-19 16:50 +0200
                Re: [PATCH RFC] fixup! virtio: convert to use DMA api Andy Lutomirski <luto@amacapital.net> - 2016-04-19 18:10 +0200
                Re: [PATCH RFC] fixup! virtio: convert to use DMA api "Michael S. Tsirkin" <mst@redhat.com> - 2016-04-19 18:10 +0200

csiph-web