virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: "Michael S. Tsirkin" <mst@redhat.com>
Cc: virtualization@lists.linux-foundation.org,
	Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
	Andy Lutomirski <luto@amacapital.net>
Subject: Re: virtio DMA API?
Date: Thu, 28 Aug 2014 07:32:23 +1000	[thread overview]
Message-ID: <1409175143.25772.157.camel@pasglop> (raw)
In-Reply-To: <20140827115249.GA16850@redhat.com>

On Wed, 2014-08-27 at 13:52 +0200, Michael S. Tsirkin wrote:

> For x86 as of QEMU 2.0 there's no iommu.
> So a reasonable thing to do for that platform
> might be to always use iommu *if it's there*.
> My understanding is this isn't the case for powerpc?

All 64-bit powerpc have an iommu but not all 32-bit ones.

Also using/emulating one has a cost. Whatever we do shouldn't
impair the fast path of virtio-on-kvm doing direct physical
access.

Cheers,
Ben.

  parent reply	other threads:[~2014-08-27 21:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-25 17:18 virtio DMA API? Andy Lutomirski
2014-08-25 18:54 ` Konrad Rzeszutek Wilk
2014-08-25 19:20   ` Andy Lutomirski
2014-08-27 11:10 ` Rusty Russell
2014-08-27 11:52   ` Michael S. Tsirkin
2014-08-27 19:49     ` Konrad Rzeszutek Wilk
2014-08-27 21:32     ` Benjamin Herrenschmidt [this message]
2014-08-27 14:55   ` Andy Lutomirski
2014-08-27 21:31   ` Benjamin Herrenschmidt
2014-08-29 15:06     ` Konrad Rzeszutek Wilk

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=1409175143.25772.157.camel@pasglop \
    --to=benh@kernel.crashing.org \
    --cc=konrad.wilk@oracle.com \
    --cc=luto@amacapital.net \
    --cc=mst@redhat.com \
    --cc=virtualization@lists.linux-foundation.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).