Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp1415511ybs; Mon, 25 May 2020 15:47:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwO0i6g2GVZSAYHH0XBm3b8z4K73ZBpMdcZc4Hk26e6p1JbmfhaUN6RLOuFaaR7Of6YNiHX X-Received: by 2002:a50:9547:: with SMTP id v7mr18160716eda.78.1590446870161; Mon, 25 May 2020 15:47:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590446870; cv=none; d=google.com; s=arc-20160816; b=YVaGsOKOaGTET8z5+jc8cfAEsRUXh2FZH+JzhvRjaC0BanZYk1fNXwFoPhY9KCQzeK E7af8VexCHPX7jobm4rK/mS6p1r++UDNd5mUKNQZI5cTi2FrZTDZ+7P1B/CLfs2yefFE 8MXZ2hzKZmqdnPKhHvg6jnReRQeUtG7KTXCOC5FlJlif/CDzQzIn80SzSMj9Abfbhiho 5TMod68Gjh0Zl1ebrfRqYurZ1RvWtWCNvZ/h2NHnuAFRBT1iP5xtwB/oe2NpwWCTpCiw HxBwBf5bQHRlP6aQaeUznO1uA5NGkY5WjN9QcT2kodz8OmRpEKvwGqrAi3VZXLtanZEP 43QQ== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :ironport-sdr:dkim-signature; bh=Srub+I6ZC2UhHqrk9dfeY3YPD0HMw5P3gCDq4Hh4RR0=; b=XgJ+isqUnmpWISj6UnXFgUQMTrYFt5uUupdmMtnT7clSSeDdgrIG5YZv70WZelNCGg VMOXXu/EPbIR+8+tNskDesG7FfPGD5e2+n63vVSDFpzQ81TrQSYizkRSIlvOT+dkkD3I eB8nS8JpgFdXlVpEhnLlYgqzz2X5meIoyi2a9OwHxY4mfrZkKBGRJPDYI9RqMTHEwde4 nNgR+sPP9+jhvGB8TD8kbB9ZER1+TxdMmkgyehyqBf3uEW87XA/XfpDJwN6IYN44xa/H 1mPvQYnZMH1mVWST8u60YCzQxAoiUXamzbyBNRTOvd600mRAOLLr6CPepBF8m5JEitTe AFRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=DwjkeBKO; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mf3si9883457ejb.747.2020.05.25.15.47.27; Mon, 25 May 2020 15:47:50 -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=pass header.i=@amazon.com header.s=amazon201209 header.b=DwjkeBKO; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389286AbgEYWQK (ORCPT + 99 others); Mon, 25 May 2020 18:16:10 -0400 Received: from smtp-fw-9101.amazon.com ([207.171.184.25]:7357 "EHLO smtp-fw-9101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388901AbgEYWQJ (ORCPT ); Mon, 25 May 2020 18:16:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1590444969; x=1621980969; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Srub+I6ZC2UhHqrk9dfeY3YPD0HMw5P3gCDq4Hh4RR0=; b=DwjkeBKOLR6IM+ppm6gwsFmU/QvxySDwQ0QOy5q//1PCyWYK1zALc3nw Ed1pd2uWSi7KZyXNo9hUOZ715C1qRlSBuhXx/7Lh463SLs9sbjZGzPSJT XWGgkKRwcRzHL0kkVtWNy2pTGEbplpWmNQP1ncHNmclHZMb/8lVHO3Ut/ 4=; IronPort-SDR: 5/dSLCYjZ9M2juQbNTMt3YWh0c9d1QQXgH83vmUOP8kO4kxbPYyCnyGbebDNMc1u3YvrJqo+eO fZKgmQ+KhCbg== X-IronPort-AV: E=Sophos;i="5.73,435,1583193600"; d="scan'208";a="37543911" Received: from sea32-co-svc-lb4-vlan3.sea.corp.amazon.com (HELO email-inbound-relay-1d-474bcd9f.us-east-1.amazon.com) ([10.47.23.38]) by smtp-border-fw-out-9101.sea19.amazon.com with ESMTP; 25 May 2020 22:16:08 +0000 Received: from EX13MTAUEA002.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan2.iad.amazon.com [10.40.159.162]) by email-inbound-relay-1d-474bcd9f.us-east-1.amazon.com (Postfix) with ESMTPS id 6F467A2013; Mon, 25 May 2020 22:16:06 +0000 (UTC) Received: from EX13D16EUB003.ant.amazon.com (10.43.166.99) by EX13MTAUEA002.ant.amazon.com (10.43.61.77) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 25 May 2020 22:16:05 +0000 Received: from 38f9d34ed3b1.ant.amazon.com (10.43.162.50) by EX13D16EUB003.ant.amazon.com (10.43.166.99) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 25 May 2020 22:15:57 +0000 From: Andra Paraschiv To: 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 , Stefano Garzarella , Stefan Hajnoczi , Stewart Smith , Uwe Dannowski , , , Andra Paraschiv Subject: [PATCH v3 14/18] nitro_enclaves: Add Kconfig for the Nitro Enclaves driver Date: Tue, 26 May 2020 01:13:30 +0300 Message-ID: <20200525221334.62966-15-andraprs@amazon.com> X-Mailer: git-send-email 2.20.1 (Apple Git-117) In-Reply-To: <20200525221334.62966-1-andraprs@amazon.com> References: <20200525221334.62966-1-andraprs@amazon.com> MIME-Version: 1.0 X-Originating-IP: [10.43.162.50] X-ClientProxiedBy: EX13D06UWA002.ant.amazon.com (10.43.160.143) To EX13D16EUB003.ant.amazon.com (10.43.166.99) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Andra Paraschiv --- Changelog v2 -> v3 * Remove the GPL additional wording as SPDX-License-Identifier is already in place. v1 -> v2 * Update path to Kconfig to match the drivers/virt/nitro_enclaves directory. * Update help in Kconfig. --- drivers/virt/Kconfig | 2 ++ drivers/virt/nitro_enclaves/Kconfig | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 drivers/virt/nitro_enclaves/Kconfig diff --git a/drivers/virt/Kconfig b/drivers/virt/Kconfig index 363af2eaf2ba..ae82460cdec2 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/nitro_enclaves/Kconfig" endif diff --git a/drivers/virt/nitro_enclaves/Kconfig b/drivers/virt/nitro_enclaves/Kconfig new file mode 100644 index 000000000000..d64725503aff --- /dev/null +++ b/drivers/virt/nitro_enclaves/Kconfig @@ -0,0 +1,16 @@ +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + +# 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 + 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. -- 2.20.1 (Apple Git-117) Amazon Development Center (Romania) S.R.L. registered office: 27A Sf. Lazar Street, UBC5, floor 2, Iasi, Iasi County, 700045, Romania. Registered in Romania. Registration number J22/2621/2005.