qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [QEMU-PPC] [PATCH] Use compat mode to set cpu features
@ 2017-11-16  4:16 Suraj Jitindar Singh
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Suraj Jitindar Singh @ 2017-11-16  4:16 UTC (permalink / raw)
  To: qemu-ppc; +Cc: qemu-devel, david, sam.bobroff, sjitindarsingh

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-11-16 23:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-16  4:16 [Qemu-devel] [QEMU-PPC] [PATCH] Use compat mode to set cpu features Suraj Jitindar Singh
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

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).