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