All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: "Michael S. Tsirkin"
	<mst-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
	David Woodhouse <dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
Cc: Kevin Wolf <kwolf-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
	cornelia.huck-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org,
	Wei Liu <wei.liu2-Sxgqhf6Nn4DQT0dZR+AlfA@public.gmane.org>,
	Stefan Hajnoczi
	<stefanha-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
	qemu-block-qX2TKyscuCcdnm+yROfE0A@public.gmane.org,
	Stefano Stabellini
	<stefano.stabellini-mvvWK6WmYclDPfheJLI6IQ@public.gmane.org>,
	qemu-devel-qX2TKyscuCcdnm+yROfE0A@public.gmane.org,
	peterx-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Christian Borntraeger
	<borntraeger-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>,
	iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org,
	Andy Lutomirski <luto-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Amit Shah <amit.shah-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
	virtualization-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org,
	Anthony PERARD
	<anthony.perard-Sxgqhf6Nn4DQT0dZR+AlfA@public.gmane.org>,
	Jason Wang <jasowang-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Subject: Re: [PATCH V2 RFC] fixup! virtio: convert to use DMA api
Date: Mon, 9 May 2016 13:09:24 +0200	[thread overview]
Message-ID: <57306FE4.4050006@redhat.com> (raw)
In-Reply-To: <20160428182341-mutt-send-email-mst-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>



On 28/04/2016 17:37, Michael S. Tsirkin wrote:
> > All the internally-emulated devices *can* be either translated or
> > untranslated. That's just a matter of software. Surely, you currently
> > *can't* have translated assigned devices (until someone implements the
> > whole VT-d page table shadowing or whatever), so you'll be barred from
> > assigning a device to a slot which *previously* had an untranslated
> > device. But so what? Put it in a different slot instead.
> 
> Unfortunately people got used to be able to put any device
> in any slot, and built external tools around that ability.
> It's rather painful to break this assumption.

Once you move to PCIe, a lot of things become more complicated.  This is
just one of them; instead of needing half a dozen PCI bridges, you'll
need half a dozen plus one.

Paolo

WARNING: multiple messages have this Message-ID (diff)
From: Paolo Bonzini <pbonzini@redhat.com>
To: "Michael S. Tsirkin" <mst@redhat.com>,
	David Woodhouse <dwmw2@infradead.org>
Cc: Joerg Roedel <joro@8bytes.org>, Kevin Wolf <kwolf@redhat.com>,
	Wei Liu <wei.liu2@citrix.com>, Andy Lutomirski <luto@kernel.org>,
	qemu-block@nongnu.org,
	Christian Borntraeger <borntraeger@de.ibm.com>,
	Jason Wang <jasowang@redhat.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
	qemu-devel@nongnu.org, peterx@redhat.com,
	linux-kernel@vger.kernel.org, Amit Shah <amit.shah@redhat.com>,
	iommu@lists.linux-foundation.org,
	Stefan Hajnoczi <stefanha@redhat.com>,
	kvm@vger.kernel.org, cornelia.huck@de.ibm.com,
	virtualization@lists.linux-foundation.org,
	Anthony PERARD <anthony.perard@citrix.com>
Subject: Re: [PATCH V2 RFC] fixup! virtio: convert to use DMA api
Date: Mon, 9 May 2016 13:09:24 +0200	[thread overview]
Message-ID: <57306FE4.4050006@redhat.com> (raw)
In-Reply-To: <20160428182341-mutt-send-email-mst@redhat.com>



On 28/04/2016 17:37, Michael S. Tsirkin wrote:
> > All the internally-emulated devices *can* be either translated or
> > untranslated. That's just a matter of software. Surely, you currently
> > *can't* have translated assigned devices (until someone implements the
> > whole VT-d page table shadowing or whatever), so you'll be barred from
> > assigning a device to a slot which *previously* had an untranslated
> > device. But so what? Put it in a different slot instead.
> 
> Unfortunately people got used to be able to put any device
> in any slot, and built external tools around that ability.
> It's rather painful to break this assumption.

Once you move to PCIe, a lot of things become more complicated.  This is
just one of them; instead of needing half a dozen PCI bridges, you'll
need half a dozen plus one.

Paolo

WARNING: multiple messages have this Message-ID (diff)
From: Paolo Bonzini <pbonzini@redhat.com>
To: "Michael S. Tsirkin" <mst@redhat.com>,
	David Woodhouse <dwmw2@infradead.org>
Cc: Joerg Roedel <joro@8bytes.org>, Kevin Wolf <kwolf@redhat.com>,
	Wei Liu <wei.liu2@citrix.com>, Andy Lutomirski <luto@kernel.org>,
	qemu-block@nongnu.org,
	Christian Borntraeger <borntraeger@de.ibm.com>,
	Jason Wang <jasowang@redhat.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
	qemu-devel@nongnu.org, peterx@redhat.com,
	linux-kernel@vger.kernel.org, Amit Shah <amit.shah@redhat.com>,
	iommu@lists.linux-foundation.org,
	Stefan Hajnoczi <stefanha@redhat.com>,
	kvm@vger.kernel.org, cornelia.huck@de.ibm.com,
	virtualization@lists.linux-foundation.org,
	Anthony PERARD <anthony.perard@citrix.com>
Subject: Re: [Qemu-devel] [PATCH V2 RFC] fixup! virtio: convert to use DMA api
Date: Mon, 9 May 2016 13:09:24 +0200	[thread overview]
Message-ID: <57306FE4.4050006@redhat.com> (raw)
In-Reply-To: <20160428182341-mutt-send-email-mst@redhat.com>



On 28/04/2016 17:37, Michael S. Tsirkin wrote:
> > All the internally-emulated devices *can* be either translated or
> > untranslated. That's just a matter of software. Surely, you currently
> > *can't* have translated assigned devices (until someone implements the
> > whole VT-d page table shadowing or whatever), so you'll be barred from
> > assigning a device to a slot which *previously* had an untranslated
> > device. But so what? Put it in a different slot instead.
> 
> Unfortunately people got used to be able to put any device
> in any slot, and built external tools around that ability.
> It's rather painful to break this assumption.

Once you move to PCIe, a lot of things become more complicated.  This is
just one of them; instead of needing half a dozen PCI bridges, you'll
need half a dozen plus one.

Paolo

  parent reply	other threads:[~2016-05-09 11:09 UTC|newest]

Thread overview: 98+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-21 13:43 [PATCH V2 RFC] fixup! virtio: convert to use DMA api Michael S. Tsirkin
2016-04-21 13:43 ` [Qemu-devel] " Michael S. Tsirkin
2016-04-21 13:43 ` Michael S. Tsirkin
2016-04-21 13:54 ` Wei Liu
2016-04-21 13:54 ` Wei Liu
2016-04-21 13:54   ` [Qemu-devel] " Wei Liu
2016-04-21 13:54   ` Wei Liu
2016-04-27 12:18   ` David Woodhouse
2016-04-27 12:18     ` [Qemu-devel] " David Woodhouse
2016-04-27 13:37     ` Michael S. Tsirkin
2016-04-27 13:37       ` [Qemu-devel] " Michael S. Tsirkin
     [not found]       ` <20160427153345-mutt-send-email-mst-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-04-27 14:23         ` Joerg Roedel
2016-04-27 14:23           ` [Qemu-devel] " Joerg Roedel
2016-04-27 14:23           ` Joerg Roedel
2016-04-27 14:31           ` Andy Lutomirski
2016-04-27 14:31             ` [Qemu-devel] " Andy Lutomirski
2016-04-27 14:31             ` Andy Lutomirski
2016-04-27 14:38             ` Michael S. Tsirkin
     [not found]             ` <CALCETrVkSSJbjoK8i7pLsSYR0o=Wy1UP-mrmn2uxYUd81g18dg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-04-27 14:38               ` Michael S. Tsirkin
2016-04-27 14:38                 ` [Qemu-devel] " Michael S. Tsirkin
2016-04-27 14:38                 ` Michael S. Tsirkin
2016-04-27 14:43                 ` Andy Lutomirski
2016-04-27 14:43                   ` [Qemu-devel] " Andy Lutomirski
2016-04-27 14:43                   ` Andy Lutomirski
2016-04-27 14:54                   ` Michael S. Tsirkin
2016-04-27 14:54                   ` Michael S. Tsirkin
2016-04-27 14:54                     ` [Qemu-devel] " Michael S. Tsirkin
2016-04-27 14:54                     ` Michael S. Tsirkin
2016-04-27 14:58                     ` Joerg Roedel
2016-04-27 14:58                       ` [Qemu-devel] " Joerg Roedel
2016-04-27 15:09                       ` Michael S. Tsirkin
2016-04-27 15:09                         ` [Qemu-devel] " Michael S. Tsirkin
2016-04-27 15:09                         ` Michael S. Tsirkin
2016-04-27 15:09                       ` Michael S. Tsirkin
2016-04-27 14:58                     ` Joerg Roedel
2016-04-27 15:10                     ` Andy Lutomirski
2016-04-27 15:10                     ` Andy Lutomirski
2016-04-27 15:10                       ` [Qemu-devel] " Andy Lutomirski
2016-04-27 15:10                       ` Andy Lutomirski
2016-04-27 14:43                 ` Andy Lutomirski
2016-04-27 14:34           ` Michael S. Tsirkin
2016-04-27 14:34             ` [Qemu-devel] " Michael S. Tsirkin
2016-04-27 14:34             ` Michael S. Tsirkin
2016-04-27 14:56             ` Joerg Roedel
     [not found]             ` <20160427172630-mutt-send-email-mst-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-04-27 14:56               ` Joerg Roedel
2016-04-27 14:56                 ` [Qemu-devel] " Joerg Roedel
2016-04-27 14:56                 ` Joerg Roedel
2016-04-27 15:05                 ` Michael S. Tsirkin
     [not found]                 ` <20160427145632.GI17926-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
2016-04-27 15:05                   ` Michael S. Tsirkin
2016-04-27 15:05                     ` [Qemu-devel] " Michael S. Tsirkin
2016-04-27 15:05                     ` Michael S. Tsirkin
2016-04-27 15:15                     ` David Woodhouse
2016-04-27 15:15                     ` David Woodhouse
2016-04-27 15:15                       ` [Qemu-devel] " David Woodhouse
2016-04-27 15:15                       ` David Woodhouse
2016-04-27 18:17                       ` Michael S. Tsirkin
2016-04-27 18:17                         ` [Qemu-devel] " Michael S. Tsirkin
2016-04-27 18:17                         ` Michael S. Tsirkin
2016-04-27 19:16                         ` David Woodhouse
2016-04-27 19:16                         ` David Woodhouse
2016-04-27 19:16                           ` [Qemu-devel] " David Woodhouse
2016-04-27 19:16                           ` David Woodhouse
2016-04-28 14:34                           ` Michael S. Tsirkin
     [not found]                           ` <1461784617.118304.181.camel-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2016-04-28 14:34                             ` Michael S. Tsirkin
2016-04-28 14:34                               ` [Qemu-devel] " Michael S. Tsirkin
2016-04-28 14:34                               ` Michael S. Tsirkin
2016-04-28 15:11                               ` David Woodhouse
2016-04-28 15:11                                 ` [Qemu-devel] " David Woodhouse
2016-04-28 15:11                                 ` David Woodhouse
     [not found]                                 ` <1461856314.33870.98.camel-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2016-04-28 15:37                                   ` Michael S. Tsirkin
2016-04-28 15:37                                     ` [Qemu-devel] " Michael S. Tsirkin
2016-04-28 15:37                                     ` Michael S. Tsirkin
2016-04-28 15:48                                     ` David Woodhouse
2016-04-28 15:48                                     ` David Woodhouse
2016-04-28 15:48                                       ` [Qemu-devel] " David Woodhouse
2016-04-28 15:48                                       ` David Woodhouse
2016-05-01 10:37                                       ` Michael S. Tsirkin
2016-05-01 10:37                                         ` [Qemu-devel] " Michael S. Tsirkin
2016-05-01 10:37                                         ` Michael S. Tsirkin
     [not found]                                     ` <20160428182341-mutt-send-email-mst-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-05-09 11:09                                       ` Paolo Bonzini [this message]
2016-05-09 11:09                                         ` [Qemu-devel] " Paolo Bonzini
2016-05-09 11:09                                         ` Paolo Bonzini
2016-05-09 11:09                                     ` Paolo Bonzini
2016-04-28 15:37                                 ` Michael S. Tsirkin
2016-04-27 18:17                       ` Michael S. Tsirkin
2016-04-27 14:23       ` Joerg Roedel
2016-04-27 13:37     ` Michael S. Tsirkin
2016-04-27 12:18   ` David Woodhouse
2016-04-21 14:56 ` Stefan Hajnoczi
2016-04-21 14:56 ` Stefan Hajnoczi
2016-04-21 14:56   ` [Qemu-devel] " Stefan Hajnoczi
2016-04-21 15:11   ` Michael S. Tsirkin
2016-04-21 15:11     ` [Qemu-devel] " Michael S. Tsirkin
2016-04-21 15:11     ` Michael S. Tsirkin
2016-04-22  9:33     ` Stefan Hajnoczi
2016-04-22  9:33       ` [Qemu-devel] " Stefan Hajnoczi
2016-04-22  9:33       ` Stefan Hajnoczi
2016-04-22  9:33     ` Stefan Hajnoczi

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=57306FE4.4050006@redhat.com \
    --to=pbonzini-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=amit.shah-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=anthony.perard-Sxgqhf6Nn4DQT0dZR+AlfA@public.gmane.org \
    --cc=borntraeger-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org \
    --cc=cornelia.huck-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org \
    --cc=dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org \
    --cc=iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
    --cc=jasowang-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=kwolf-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=luto-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=mst-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=peterx-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=qemu-block-qX2TKyscuCcdnm+yROfE0A@public.gmane.org \
    --cc=qemu-devel-qX2TKyscuCcdnm+yROfE0A@public.gmane.org \
    --cc=stefanha-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=stefano.stabellini-mvvWK6WmYclDPfheJLI6IQ@public.gmane.org \
    --cc=virtualization-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
    --cc=wei.liu2-Sxgqhf6Nn4DQT0dZR+AlfA@public.gmane.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.