Received: from eggs.gnu.org ([2001:4830:134:3::10]:57035) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpYsy-0007NQ-V0 for qemu-devel@nongnu.org; Thu, 29 Sep 2016 06:48:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bpYst-0002qp-Us for qemu-devel@nongnu.org; Thu, 29 Sep 2016 06:48:16 -0400 From: Thomas Huth Date: Thu, 29 Sep 2016 12:48:05 +0200 Message-Id: <1475146087-19865-1-git-send-email-thuth@redhat.com> Subject: [Qemu-devel] [PATCH 0/2] ppc/kvm: Always allow transactional memory on POWER8 KVM-HV List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Gibson , qemu-ppc@nongnu.org Cc: Alexander Graf , qemu-devel@nongnu.org KVM-HV also supports transactional memory on POWER8 with older kernels that do not support the KVM_CAP_PPC_HTM extension yet. The first patch introduces a proper function for checking whether we're running on KVM-PR or KVM-HV, which is then used in the second patch to check that we're running on POWER8 with KVM-HV, so we can allow TM there, too. Thomas Huth (2): target-ppc/kvm: Add a wrapper function to check for KVM-PR target-ppc/kvm: Enable transactional memory on POWER8 with KVM-HV, too hw/ppc/spapr.c | 2 +- target-ppc/kvm.c | 32 +++++++++++++++++++++----------- 2 files changed, 22 insertions(+), 12 deletions(-) -- 1.8.3.1