[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [QEMU-PPC] [PATCH] Use compat mode to set cpu features
From: |
Suraj Jitindar Singh |
Subject: |
[Qemu-devel] [QEMU-PPC] [PATCH] Use compat mode to set cpu features |
Date: |
Thu, 16 Nov 2017 15:16:06 +1100 |
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
- [Qemu-devel] [QEMU-PPC] [PATCH] Use compat mode to set cpu features,
Suraj Jitindar Singh <=