From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eYq5v-0006Kc-H5 for qemu-devel@nongnu.org; Tue, 09 Jan 2018 04:21:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eYq5u-00013H-Lv for qemu-devel@nongnu.org; Tue, 09 Jan 2018 04:21:19 -0500 From: Suraj Jitindar Singh Date: Tue, 9 Jan 2018 20:21:00 +1100 Message-Id: <20180109092103.18458-1-sjitindarsingh@gmail.com> Subject: [Qemu-devel] [QEMU-PPC] [RFC 0/3] target/ppc: Rework spapr_caps List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-ppc@nongnu.org Cc: qemu-devel@nongnu.org, david@gibson.dropbear.id.au, paulus@ozlabs.org, Suraj Jitindar Singh The following patch series reworks the implementation of spapr_caps to allow for a increased number of possible values in the internal representation. It also adds 3 new tristate capabilities. A new H-Call is implemented which a guest will use to query the requirement for and availability of workarounds for certain cpu behaviours. Suraj Jitindar Singh (3): hw/ppc/spapr_caps: Rework spapr_caps to use uint8 internal representation hw/spapr/spapr_caps: Add new caps safe_[cache/bounds_check/indirect_branch] target/ppc: Add H-Call H_GET_CPU_CHARACTERISTICS hw/ppc/spapr.c | 25 ++- hw/ppc/spapr_caps.c | 555 ++++++++++++++++++++++++++++++++++------------ hw/ppc/spapr_hcall.c | 81 +++++++ include/hw/ppc/spapr.h | 57 +++-- linux-headers/linux/kvm.h | 3 + target/ppc/kvm.c | 28 +++ target/ppc/kvm_ppc.h | 18 ++ 7 files changed, 595 insertions(+), 172 deletions(-) -- 2.13.6