From: Paolo Bonzini <pbonzini@redhat.com>
To: David Gibson <david@gibson.dropbear.id.au>
Cc: Alexey Kardashevskiy <aik@ozlabs.ru>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 16/17] spapr_vio: take care of creating our own AddressSpace/DMAContext
Date: Wed, 01 May 2013 18:09:21 +0200 [thread overview]
Message-ID: <51813E31.5070500@redhat.com> (raw)
In-Reply-To: <20130501051631.GB14106@truffula.fritz.box>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Il 01/05/2013 07:16, David Gibson ha scritto:
> Lack of atomicity makes me a little nervous there, although I
> guess its ok since qemu is single-threaded.
Yes. The original plan was to add a boolean return value to
address_space_rw, but I left this for later since I wasn't sure of the
semantics for multipage writes. What happens if the second half of
the destination buffer has an invalid translation? Right now it's
atomic, but it sounds weird for real hardware.
Paolo
> It does mean we do the translations twice, effectively, which isn't
> ideal, although emulated devices are already so slow it probably
> doesn't matter.
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQIcBAEBAgAGBQJRgT4xAAoJEBvWZb6bTYbyePoP/3BC7W/3LC/YfEJ16CbSsnhN
tJ2kLdjuI9+OAzAfb++TKoxkAAGtPSCFpBiS7s1T2r9gTSYMQX15enppU+lBFxwq
qfK7UF11carjnsDB3rXhUnZTGYPWYwA17mR4U2PBFy4EeZZ1p57m1QmJsrgI9UI7
u7QyC+NrNPM3fA0R/CCSn5ld3hh14GK3gEv+SK9IIsnwmoyQ6NKsDi3AAzdnSbMZ
pnMpFCb2Vu2MT/8M80r7J3aRUMGsVwlQgVyqxDpWJ4YJSDO6SaoIj7U+0gv867sa
gJwg94N6umurU49esGGjOzvTxlwdgQQDkG/sDUeMPsGS/cqb4RYeJKRK6ieFqdTY
SPUOz0ssUQhqzRX9zoUQE8aA0rt/CLL+E9+8MYmqAkKMLPpMmLsqrZxl11d19MTN
WdZnYmJvVLAVn+YUae4N0ehhgXSMv2MTabb39V7VG2QziEdcIn8wQIWGTTTw6o/p
GBFu0P05mXL8jvSQ5CQp3k36OqwKGlgjaHB4MOsbCKTahLBQ9VoarKB6Xh/4xWxj
3+kYjYdydnJMogOe4FE5mld6LJnlo66e/GJNdZyHzsdyB9cK9qMg+i3yXQElNSp9
H34sMKfpFgJ/6z/cwbrNrSWesgKDTqhhXKzocgvZkQUbvJCF5I2xigi8aKB3vC+N
wjEs5RUYBzb3ARKWCwy/
=Jr5p
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2013-05-01 16:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1367378320-9246-1-git-send-email-david@gibson.dropbear.id.au>
[not found] ` <1367378320-9246-7-git-send-email-david@gibson.dropbear.id.au>
2013-05-01 4:02 ` [Qemu-devel] [PATCH 07/17] memory: add address_space_valid David Gibson
2013-05-01 7:17 ` Paolo Bonzini
[not found] ` <1367378320-9246-11-git-send-email-david@gibson.dropbear.id.au>
2013-05-01 4:38 ` [Qemu-devel] [PATCH 11/17] spapr: convert TCE API to use an opaque type David Gibson
[not found] ` <1367378320-9246-13-git-send-email-david@gibson.dropbear.id.au>
2013-05-01 4:46 ` [Qemu-devel] [PATCH 13/17] spapr: use memory core for iommu support David Gibson
[not found] ` <1367378320-9246-14-git-send-email-david@gibson.dropbear.id.au>
2013-05-01 4:49 ` [Qemu-devel] [PATCH 14/17] dma: eliminate old-style IOMMU support David Gibson
[not found] ` <1367378320-9246-15-git-send-email-david@gibson.dropbear.id.au>
2013-05-01 5:06 ` [Qemu-devel] [PATCH 15/17] pci: use memory core for iommu support David Gibson
2013-05-01 16:07 ` Paolo Bonzini
[not found] ` <1367378320-9246-16-git-send-email-david@gibson.dropbear.id.au>
2013-05-01 5:16 ` [Qemu-devel] [PATCH 16/17] spapr_vio: take care of creating our own AddressSpace/DMAContext David Gibson
2013-05-01 16:09 ` Paolo Bonzini [this message]
2013-05-02 2:24 ` David Gibson
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=51813E31.5070500@redhat.com \
--to=pbonzini@redhat.com \
--cc=aik@ozlabs.ru \
--cc=david@gibson.dropbear.id.au \
--cc=qemu-devel@nongnu.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).