From patchwork Mon Jan 9 06:23:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jintack Lim X-Patchwork-Id: 90336 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp706687qgi; Sun, 8 Jan 2017 22:26:22 -0800 (PST) X-Received: by 10.98.201.135 with SMTP id l7mr5888537pfk.67.1483943182190; Sun, 08 Jan 2017 22:26:22 -0800 (PST) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id w31si87782023pla.3.2017.01.08.22.26.22 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 08 Jan 2017 22:26:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cQTPO-0002Ow-Ei; Mon, 09 Jan 2017 06:26:18 +0000 Received: from outprodmail02.cc.columbia.edu ([128.59.72.51]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cQTP8-0001wM-7L for linux-arm-kernel@lists.infradead.org; Mon, 09 Jan 2017 06:26:04 +0000 Received: from hazelnut (hazelnut.cc.columbia.edu [128.59.213.250]) by outprodmail02.cc.columbia.edu (8.14.4/8.14.4) with ESMTP id v096PWsN005289 for ; Mon, 9 Jan 2017 01:25:33 -0500 Received: from hazelnut (localhost.localdomain [127.0.0.1]) by hazelnut (Postfix) with ESMTP id D769384 for ; Mon, 9 Jan 2017 01:25:33 -0500 (EST) Received: from sendprodmail01.cc.columbia.edu (sendprodmail01.cc.columbia.edu [128.59.72.13]) by hazelnut (Postfix) with ESMTP id B7EC283 for ; Mon, 9 Jan 2017 01:25:33 -0500 (EST) Received: from mail-qk0-f199.google.com (mail-qk0-f199.google.com [209.85.220.199]) by sendprodmail01.cc.columbia.edu (8.14.4/8.14.4) with ESMTP id v096PXS5040440 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for ; Mon, 9 Jan 2017 01:25:33 -0500 Received: by mail-qk0-f199.google.com with SMTP id x64so109011710qkb.5 for ; Sun, 08 Jan 2017 22:25:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=bH8U+aKhwA1fH62Gimwuyq4BxxeHy9XFKgR3ASywMQ8=; b=q3K3Xs3NKuRG43Rtk8nMblLQlGS0rEu8UMX6Ah9OuNYJSYmb93deaSpcQQ3vYW6x1q 06jZ137ysWRSNsimkTFu9VKjd9M1bEpQTxxEJqYvsnWVXkNtNfpCAdmdwLaSt6PlYPyJ okz9HjmzXHhGd3jOWcX6Byy4cYmWaUPLkV5i49y3JWDVV274iMe7ZBfzC5kQloGkeYyI NdlOOnoBwNKuE6m6FnXZwzm7nFxLMALaabulvpEtibyZm2VfiKwJjynoXC0IpCVpRAvZ rNJ0fbgGF1kiA6/Qn1dROOitCUD7+J+JicVKTfj/u/1PRKeDgK5QyWd6tR89viHqQaxE gdJw== X-Gm-Message-State: AIkVDXIfpyMCJQgsSgH17x23Q/ppDgw4Mw1Qi2or6RCeKTuu+G/fRgHHBfK0S/FYG1qiNjefoTvyratvZKbV+v7+hCX5PJiWk067RAPBmpTOUW0UEIwZeVhz/IF+kHegpyGebk0nkRkUdQzi1q/BpKeXczZMb2+SXpu2/g== X-Received: by 10.200.33.244 with SMTP id 49mr81158922qtz.70.1483943133380; Sun, 08 Jan 2017 22:25:33 -0800 (PST) X-Received: by 10.200.33.244 with SMTP id 49mr81158899qtz.70.1483943133224; Sun, 08 Jan 2017 22:25:33 -0800 (PST) Received: from jintack.cs.columbia.edu ([2001:18d8:ffff:16:21a:4aff:feaa:f900]) by smtp.gmail.com with ESMTPSA id h3sm8623257qtc.6.2017.01.08.22.25.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 08 Jan 2017 22:25:32 -0800 (PST) From: Jintack Lim To: christoffer.dall@linaro.org, marc.zyngier@arm.com, pbonzini@redhat.com, rkrcmar@redhat.com, linux@armlinux.org.uk, catalin.marinas@arm.com, will.deacon@arm.com, vladimir.murzin@arm.com, suzuki.poulose@arm.com, mark.rutland@arm.com, james.morse@arm.com, lorenzo.pieralisi@arm.com, kevin.brodsky@arm.com, wcohen@redhat.com, shankerd@codeaurora.org, geoff@infradead.org, andre.przywara@arm.com, eric.auger@redhat.com, anna-maria@linutronix.de, shihwei@cs.columbia.edu, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC 02/55] KVM: arm64: Add nesting config option Date: Mon, 9 Jan 2017 01:23:58 -0500 Message-Id: <1483943091-1364-3-git-send-email-jintack@cs.columbia.edu> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1483943091-1364-1-git-send-email-jintack@cs.columbia.edu> References: <1483943091-1364-1-git-send-email-jintack@cs.columbia.edu> X-No-Spam-Score: Local X-Scanned-By: MIMEDefang 2.78 on 128.59.72.13 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170108_222602_523171_3ABF7B48 X-CRM114-Status: UNSURE ( 9.25 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.3 (-----) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-5.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [128.59.72.51 listed in list.dnswl.org] 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source [209.85.220.199 listed in dnsbl.sorbs.net] -3.2 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jintack@cs.columbia.edu MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org From: Christoffer Dall Add an option that allows nested hypervisor support. Signed-off-by: Christoffer Dall Signed-off-by: Jintack Lim --- arch/arm64/kvm/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) -- 1.9.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel diff --git a/arch/arm64/kvm/Kconfig b/arch/arm64/kvm/Kconfig index 6eaf12c..37263ff 100644 --- a/arch/arm64/kvm/Kconfig +++ b/arch/arm64/kvm/Kconfig @@ -57,6 +57,12 @@ config KVM_ARM_PMU Adds support for a virtual Performance Monitoring Unit (PMU) in virtual machines. +config KVM_ARM_NESTED_HYP + bool "Nested Virtualization" + depends on KVM + ---help--- + Support nested hypervisors in VMs. + source drivers/vhost/Kconfig endif # VIRTUALIZATION