From: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
To: qemu-ppc@nongnu.org
Cc: qemu-devel@nongnu.org, david@gibson.dropbear.id.au,
sam.bobroff@au1.ibm.com, sjitindarsingh@gmail.com
Subject: [Qemu-devel] [QEMU-PPC] [PATCH] Use compat mode to set cpu features
Date: Thu, 16 Nov 2017 15:16:06 +1100 [thread overview]
Message-ID: <20171116041607.31852-1-sjitindarsingh@gmail.com> (raw)
Currently the compat mode isn't used when determining the values of the
ibm,arch-vec-5-platform-support and ibm,pa-features device tree nodes.
This means a POWER9 guest run in a prePOWER9 compat mode (or with a
prePOWER9 cpu model for TCG) will still use the radix mmu mode when
it shouldn't, because the capability is exposed through
ibm,arch-vec-5-platform-support.
The following patch fixes the setting of these properties by correctly
taking the compat mode into account.
Suraj Jitindar Singh (1):
target/ppc: Update setting of cpu features to account for compat modes
hw/ppc/spapr.c | 38 +++++++++++++++++++++++++++++++++-----
1 file changed, 33 insertions(+), 5 deletions(-)
--
2.9.5
next reply other threads:[~2017-11-16 4:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-16 4:16 Suraj Jitindar Singh [this message]
2017-11-16 4:16 ` [Qemu-devel] [QEMU-PPC] [PATCH] target/ppc: Update setting of cpu features to account for compat modes Suraj Jitindar Singh
2017-11-16 18:24 ` [Qemu-devel] [Qemu-ppc] " Greg Kurz
2017-11-16 23:47 ` Suraj Jitindar Singh
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=20171116041607.31852-1-sjitindarsingh@gmail.com \
--to=sjitindarsingh@gmail.com \
--cc=david@gibson.dropbear.id.au \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
--cc=sam.bobroff@au1.ibm.com \
/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).