Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp432455ybz; Tue, 21 Apr 2020 11:52:00 -0700 (PDT) X-Google-Smtp-Source: APiQypKFT6LkYgg/YUmTyon/0PQ5XgPQ1Aa8wWt1IdZWrwOONUF38VGRfwE64umodtCdx8Sx2p/F X-Received: by 2002:a17:906:3709:: with SMTP id d9mr23590735ejc.94.1587495117933; Tue, 21 Apr 2020 11:51:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587495117; cv=none; d=google.com; s=arc-20160816; b=wA2igbCV6DE9rl39abuGM3vsKDfr7bMPjfx8QdupaDUe4FpxddokMt5fFDhOS7qh6J 5OClWweZJnp2eDSD7NTE6GYn86sbmVUhX3pYKg7Kp60o7ZXCq80ZSOpDfT4Sz2vJnZxo RpR9cu/Fkt9WqHtN0s9EOS84di3wNS/h7SFR8LF7OQPDxgJOhnGBD55u/VcTuLqce6ey 9JYVf+qVz8X5rI/qZ28RvkglvwXGeLNpYynLAlkhpo7RwLUJ9jizGxoyR0Ysg0+FNtHT RwS5LP8RSXeI7+N/v+nkRt+DBxzRKld6yYsArvStG3HWadYbR8ar0AmIQTu0D5qTQ25E C0hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=yPMqIkcWHkz3THVCYl7z3197UQiTeNurLglX61WGoIM=; b=FqWaOEGaUcFlr3q0+JaqIKJwKxM8z7fpEKhOW4mLlvVxKlvqMVxsrDVxG9F23J9bnU JTMb9knzBbTU0iniLwpoYtZdfwEgH8q1Gd8M/EdttMCXxZe6MJOun5xkd69WD4DC/5Hu cgPaB8k6jwNhnNK6qT85GgjRx5FalAo5DBGExPYXMvCHb77bY0yLEFSSNm3zkJ4d9PdL AaM8TNYOnTw4HSPpJTzmA3SfxVE20YQrkzMdlCjxEZKDCgAzTBgA38dMlx36wNRoTXrs JfYOtJAP//aa6Rd+G/035headsp3aREtcWNDFqzPqSW4LtasEBq0hVzgag+xQVskDQhy 1Ivg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=fHCnLkAF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a24si2044196eds.168.2020.04.21.11.51.34; Tue, 21 Apr 2020 11:51:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=fHCnLkAF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726502AbgDUSub (ORCPT + 99 others); Tue, 21 Apr 2020 14:50:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60924 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725886AbgDUSub (ORCPT ); Tue, 21 Apr 2020 14:50:31 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55082C0610D5; Tue, 21 Apr 2020 11:50:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description; bh=yPMqIkcWHkz3THVCYl7z3197UQiTeNurLglX61WGoIM=; b=fHCnLkAF8AouzjXU7Dj/vz9FUM WbpqZebgK96Zl5Bha1aTo+i3oNH3cuMDbTcwKr8spRxjEibY/7E5E/XaunV8yfY7dZuZNA3LVtneo j2sMbpcr0hqv1D4wV2QpcSqt0fZUI/HV+USDwGfqMtPAM1Xb4Wx1gsfdJ4oCqugI87g1Woxnpqa5i 8pICEEkAu9/rHO2oaNGskK7QZ6cMgIy2ssRmYSo/p3rUMK3pLx2BoVwlCu6AuV1ou7mPMkEw0hqiS FW9UWNgJL852hHFlDJMNCCn6YhF4OG7o3B/DSiK8EbdITSGaxah0kQgiLvmjBXVDZMYP1a2YLcE6b l+Es1AXA==; Received: from [2601:1c0:6280:3f0::19c2] by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jQxyY-0001SO-Ft; Tue, 21 Apr 2020 18:50:30 +0000 Subject: Re: [PATCH v1 13/15] nitro_enclaves: Add Kconfig for the Nitro Enclaves driver To: Andra Paraschiv , linux-kernel@vger.kernel.org Cc: Anthony Liguori , Benjamin Herrenschmidt , Colm MacCarthaigh , Bjoern Doebel , David Woodhouse , Frank van der Linden , Alexander Graf , Martin Pohlack , Matt Wilson , Paolo Bonzini , Balbir Singh , Stewart Smith , Uwe Dannowski , kvm@vger.kernel.org, ne-devel-upstream@amazon.com References: <20200421184150.68011-1-andraprs@amazon.com> <20200421184150.68011-14-andraprs@amazon.com> From: Randy Dunlap Message-ID: <0b169445-a0c6-8eef-86b8-71a09021e143@infradead.org> Date: Tue, 21 Apr 2020 11:50:28 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20200421184150.68011-14-andraprs@amazon.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi-- On 4/21/20 11:41 AM, Andra Paraschiv wrote: > Signed-off-by: Andra Paraschiv > --- > drivers/virt/Kconfig | 2 ++ > drivers/virt/amazon/Kconfig | 28 ++++++++++++++++++++++++++++ > 2 files changed, 30 insertions(+) > create mode 100644 drivers/virt/amazon/Kconfig > > diff --git a/drivers/virt/Kconfig b/drivers/virt/Kconfig > index 363af2eaf2ba..06bb5cfa191d 100644 > --- a/drivers/virt/Kconfig > +++ b/drivers/virt/Kconfig > @@ -32,4 +32,6 @@ config FSL_HV_MANAGER > partition shuts down. > > source "drivers/virt/vboxguest/Kconfig" > + > +source "drivers/virt/amazon/Kconfig" > endif > diff --git a/drivers/virt/amazon/Kconfig b/drivers/virt/amazon/Kconfig > new file mode 100644 > index 000000000000..57fd0aa58803 > --- /dev/null > +++ b/drivers/virt/amazon/Kconfig > @@ -0,0 +1,28 @@ > +# SPDX-License-Identifier: GPL-2.0 > +# > +# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. > +# > +# This program is free software; you can redistribute it and/or modify it > +# under the terms and conditions of the GNU General Public License, > +# version 2, as published by the Free Software Foundation. > +# > +# This program is distributed in the hope that it will be useful, > +# but WITHOUT ANY WARRANTY; without even the implied warranty of > +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > +# GNU General Public License for more details. > +# > +# You should have received a copy of the GNU General Public License > +# along with this program; if not, see . > + > +# Amazon Nitro Enclaves (NE) support. > +# Nitro is a hypervisor that has been developed by Amazon. > + > +config NITRO_ENCLAVES > + tristate "Nitro Enclaves Support" > + depends on HOTPLUG_CPU > + ---help--- For v2: We are moving away from the use of "---help---" to just "help". > + This driver consists of support for enclave lifetime management > + for Nitro Enclaves (NE). > + > + To compile this driver as a module, choose M here. > + The module will be called nitro_enclaves. > thanks. -- ~Randy