Received: from eggs.gnu.org ([2001:4830:134:3::10]:55890) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wktpy-0000av-0l for qemu-devel@nongnu.org; Thu, 15 May 2014 07:28:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wktpm-0005Jw-PF for qemu-devel@nongnu.org; Thu, 15 May 2014 07:28:33 -0400 Received: from e23smtp04.au.ibm.com ([202.81.31.146]:51994) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wktpl-0005J2-V5 for qemu-devel@nongnu.org; Thu, 15 May 2014 07:28:22 -0400 Received: from /spool/local by e23smtp04.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 15 May 2014 21:28:19 +1000 From: Alexey Kardashevskiy Date: Thu, 15 May 2014 21:28:02 +1000 Message-Id: <1400153291-20759-1-git-send-email-aik@ozlabs.ru> Subject: [Qemu-devel] [PATCH 0/9] spapr: Enable ibm, client-architecture-support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Alexey Kardashevskiy , qemu-ppc@nongnu.org, Alexander Graf 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