Received: from eggs.gnu.org ([2001:4830:134:3::10]:58745) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfi2j-0000qN-3X for qemu-devel@nongnu.org; Fri, 02 Sep 2016 02:33:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bfi2e-0002ut-Us for qemu-devel@nongnu.org; Fri, 02 Sep 2016 02:33:36 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:38170 helo=mx0a-001b2d01.pphosted.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfi2e-0002ul-P4 for qemu-devel@nongnu.org; Fri, 02 Sep 2016 02:33:32 -0400 Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.17/8.16.0.17) with SMTP id u826MwZO012609 for ; Fri, 2 Sep 2016 02:33:32 -0400 Received: from e23smtp04.au.ibm.com (e23smtp04.au.ibm.com [202.81.31.146]) by mx0b-001b2d01.pphosted.com with ESMTP id 2569eehx1e-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 02 Sep 2016 02:33:31 -0400 Received: from localhost by e23smtp04.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 2 Sep 2016 16:33:26 +1000 From: Nikunj A Dadhania Date: Fri, 2 Sep 2016 12:02:54 +0530 In-Reply-To: <1472797976-24210-1-git-send-email-nikunj@linux.vnet.ibm.com> References: <1472797976-24210-1-git-send-email-nikunj@linux.vnet.ibm.com> Message-Id: <1472797976-24210-3-git-send-email-nikunj@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH RFC 2/4] target-ppc: with MTTCG report more threads List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-ppc@nongnu.org, alex.bennee@linaro.org, david@gibson.dropbear.id.au, rth@twiddle.net Cc: qemu-devel@nongnu.org, nikunj@linux.vnet.ibm.com, benh@kernel.crashing.org Signed-off-by: Nikunj A Dadhania --- target-ppc/kvm.c | 2 +- target-ppc/kvm_ppc.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/target-ppc/kvm.c b/target-ppc/kvm.c index dcb68b9..20eb450 100644 --- a/target-ppc/kvm.c +++ b/target-ppc/kvm.c @@ -2090,7 +2090,7 @@ void kvmppc_set_mpic_proxy(PowerPCCPU *cpu, int mpic_proxy) int kvmppc_smt_threads(void) { - return cap_ppc_smt ? cap_ppc_smt : 1; + return cap_ppc_smt ? cap_ppc_smt : 8; } #ifdef TARGET_PPC64 diff --git a/target-ppc/kvm_ppc.h b/target-ppc/kvm_ppc.h index 5461d10..053db0a 100644 --- a/target-ppc/kvm_ppc.h +++ b/target-ppc/kvm_ppc.h @@ -128,7 +128,7 @@ static inline void kvmppc_set_mpic_proxy(PowerPCCPU *cpu, int mpic_proxy) static inline int kvmppc_smt_threads(void) { - return 1; + return 8; } static inline int kvmppc_or_tsr_bits(PowerPCCPU *cpu, uint32_t tsr_bits) -- 2.7.4