From patchwork Thu Oct 16 19:30:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pingfan Liu X-Patchwork-Id: 400176 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3DA9A1400A0 for ; Thu, 16 Oct 2014 18:35:20 +1100 (AEDT) Received: from ozlabs.org (ozlabs.org [103.22.144.67]) by lists.ozlabs.org (Postfix) with ESMTP id 255221A2238 for ; Thu, 16 Oct 2014 18:35:20 +1100 (AEDT) X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Received: from mail-pd0-x234.google.com (mail-pd0-x234.google.com [IPv6:2607:f8b0:400e:c02::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 81F6D1A0588 for ; Thu, 16 Oct 2014 18:26:27 +1100 (AEDT) Received: by mail-pd0-f180.google.com with SMTP id fp1so2720948pdb.25 for ; Thu, 16 Oct 2014 00:26:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Npuz7AIOWzyUzDTNavXadx2VRPjou8gAmuUMDsjZXVk=; b=NCqnEskhJrrHuVC0/s/WvnY11/wpIhFFYDH6OrC82vQNxjh/9rteCJTUxhHNGFCltS SvVRI84RFlYNIJeHJNWRmwh7I8wzXDfQ0xu5MaXgkVJXDT2naqivzlZ6pKdLLud8Ao4/ LKHHSsVp9VegjrZ5pGq9+4JhDzuzFxJ2X008PxWI/xmKcxw/8luv/X/d8Zsj9J7sBQEL iJ3UHJcRDWyrjrUQUnYI6gtxtA1FyYYSRBW0M3tdXSvNjwekcKAzt0DhJgANxcmNeVnZ r31xfY9Vzk7Pi0X5dY/HZtnZWfceVdJtG+qSEGOux7DV8NKuaitAf4h5vd//xHhuVEMW kRqw== X-Received: by 10.68.194.226 with SMTP id hz2mr332046pbc.163.1413444385705; Thu, 16 Oct 2014 00:26:25 -0700 (PDT) Received: from localhost ([202.108.130.193]) by mx.google.com with ESMTPSA id kk7sm19107889pab.31.2014.10.16.00.26.24 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Oct 2014 00:26:25 -0700 (PDT) From: kernelfans@gmail.com To: linuxppc-dev@lists.ozlabs.org, kvm-ppc@vger.kernel.org Subject: [RFC 11/11] powerpc: kvm: Kconfig add an option for enabling secondary hwthread Date: Thu, 16 Oct 2014 15:30:00 -0400 Message-Id: <1413487800-7162-12-git-send-email-kernelfans@gmail.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1413487800-7162-1-git-send-email-kernelfans@gmail.com> References: <1413487800-7162-1-git-send-email-kernelfans@gmail.com> Cc: Paul Mackerras , Alexander Graf X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" Signed-off-by: Liu Ping Fan --- arch/powerpc/kvm/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/powerpc/kvm/Kconfig b/arch/powerpc/kvm/Kconfig index 602eb51..de38566 100644 --- a/arch/powerpc/kvm/Kconfig +++ b/arch/powerpc/kvm/Kconfig @@ -93,6 +93,10 @@ config KVM_BOOK3S_64_HV If unsure, say N. +config KVMPPC_ENABLE_SECONDARY + tristate "KVM support for running on secondary hwthread in host" + depends on KVM_BOOK3S_64_HV + config KVM_BOOK3S_64_PR tristate "KVM support without using hypervisor mode in host" depends on KVM_BOOK3S_64