This enables a ibm,client-architecture-support RTAS call. This allows older distros (such as SLES11 or RHEL6) to work on modern POWERPC hardware (such as POWER8) in "architected" mode.
The previous try was "RFC", so this is "v1". The very first patch here is for the reference, it is already on its way to upstream. Please comment. Thanks! Alexey Kardashevskiy (9): kvm: add set_one_reg/get_one_reg helpers target-ppc: Add "compat" CPU option spapr: Move server# property out of skeleton fdt target-ppc: Implement "compat" CPU option target-ppc: Define Processor Compatibility Masks spapr: Add ibm,client-architecture-support call spapr: Limit threads per core according to current compatibility mode spapr: Implement processor compatibility in ibm,client-architecture-support KVM: PPC: Enable compatibility mode hw/ppc/spapr.c | 149 +++++++++++++++++++++++++++++++++++++++----- hw/ppc/spapr_hcall.c | 108 ++++++++++++++++++++++++++++++++ include/hw/ppc/spapr.h | 9 ++- include/sysemu/kvm.h | 21 +++++++ kvm-all.c | 18 ++++++ target-ppc/cpu-models.h | 17 +++++ target-ppc/cpu-qom.h | 5 ++ target-ppc/cpu.h | 3 + target-ppc/kvm.c | 5 ++ target-ppc/kvm_ppc.h | 6 ++ target-ppc/translate_init.c | 113 +++++++++++++++++++++++++++++++++ trace-events | 9 +++ 12 files changed, 446 insertions(+), 17 deletions(-) -- 1.9.rc0