From: David Gibson <david@gibson.dropbear.id.au>
To: Alexey Kardashevskiy <aik@ozlabs.ru>
Cc: pbonzini@redhat.com, qemu-ppc@nongnu.org, qemu-devel@nongnu.org,
bharata@linux.vnet.ibm.com
Subject: Re: [Qemu-devel] [PATCH] pseries: Allow TCG h_enter to work with hotplugged memory
Date: Thu, 21 Jan 2016 14:50:20 +1100 [thread overview]
Message-ID: <20160121035020.GK27454@voom.redhat.com> (raw)
In-Reply-To: <56A038FE.4060700@ozlabs.ru>
[-- Attachment #1: Type: text/plain, Size: 1047 bytes --]
On Thu, Jan 21, 2016 at 12:48:46PM +1100, Alexey Kardashevskiy wrote:
> On 01/21/2016 12:41 PM, David Gibson wrote:
> >The implementation of the H_ENTER hypercall for PAPR guests needs to
> >enforce correct access attributes on the inserted HPTE. This means
> >determining if the HPTE's real address is a regular RAM address (which
> >requires attributes for coherent access) or an IO address (which requires
> >attributes for cache-inhibited access).
> >
> >At the moment this check is implemented with (raddr < machine->ram_size),
> >but that only handles addresses in the base RAM area, not any hotplugged
> >RAM.
> >
> >This patch corrects the problem with a new helper.
> >
> >Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
>
>
> Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Thanks, merged to ppc-for-2.6.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2016-01-21 3:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-21 1:41 [Qemu-devel] [PATCH] pseries: Allow TCG h_enter to work with hotplugged memory David Gibson
2016-01-21 1:48 ` Alexey Kardashevskiy
2016-01-21 3:50 ` David Gibson [this message]
2016-01-21 10:19 ` Paolo Bonzini
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=20160121035020.GK27454@voom.redhat.com \
--to=david@gibson.dropbear.id.au \
--cc=aik@ozlabs.ru \
--cc=bharata@linux.vnet.ibm.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@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).