Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2603471pxa; Mon, 17 Aug 2020 14:04:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxGsvWojPqih2JprgR+5ujpDdz+yoNz/62ieuYm0XQzwhXqE5gPqDM99zpIGJMRFfUVRsb4 X-Received: by 2002:a17:906:a209:: with SMTP id r9mr17582771ejy.413.1597698277475; Mon, 17 Aug 2020 14:04:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597698277; cv=none; d=google.com; s=arc-20160816; b=rTl534OeAmrSOo3fr9PwiiNJUsKiNKA+u5LJ7+ZlUoc7abFbe2CaeDebjRKXUyYtor S2gBwJOa2r452TCFbQUkdqejx1Yc9KNnMlsE5hbp4S1ihztjwfgerXvsh/i8Ccf8imii mKJq3KOk0q6vINf4uBHenzwdiI6MWZcD7OWK2VsueQ4yDrZc2vRL3JSYWbXoPU2J0MtS 8SpDEC7l1y45Q3cZMS+O5pZ48YnQwtMJ2ZAeznMCYoRSqZojunarC7LkDf3qly8m1LQG pkUp9R2HGYMg2Q6souYb4/N9YSplsifE3NV7vc0oZgbXHYyTE/iEmapG3SFDQ1diTvzE YQ8g== 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 :dkim-signature; bh=J/lMbBCXi6U9nH0WQbTcUkyWVFuGwKyiaf77EuPCX4A=; b=fSTyZUantbJMZrNayzn1dnE4MaeUpq7fibQZp+rftusZ2yhmWHbnA4sqwt2CpUaC6c fTJkmW4jFB1v9/XcazbzET5zRrhOQlTLFtyinrtqhGyFuWk3g/IBCNAt8gZIn+KcCBOe SpMGI81ByAoqzm6fEkjwcXJYH1FsCLsMm2Hq+dbK8ivXSRkjnuvtSHMHUKsZihyCtZEF LctmfOpNVThFrsukaWf7eNrm2ueDKSZQCFxRHKjTLIbJANy8xpEdqFaNJFBuI9vrv0wm 4dt+miCLeN07vcr0c5sxvlEIff+Y6BS71opWbTiwh/h2D5QxIvcGX1QRu/dZfnMKXrqd aNWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=qrLgTnFG; 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 r8si11127606ejs.214.2020.08.17.14.03.44; Mon, 17 Aug 2020 14:04:37 -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=qrLgTnFG; 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 S1728858AbgHQNNs (ORCPT + 99 others); Mon, 17 Aug 2020 09:13:48 -0400 Received: from smtp-fw-9102.amazon.com ([207.171.184.29]:65144 "EHLO smtp-fw-9102.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728806AbgHQNNA (ORCPT ); Mon, 17 Aug 2020 09:13:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1597669979; x=1629205979; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=J/lMbBCXi6U9nH0WQbTcUkyWVFuGwKyiaf77EuPCX4A=; b=qrLgTnFGnh2eoHgkBZb/YPHQ1Iub959+pjp1oD9k5Mu6WeMWWTcKx98A GrQBTPTzI/spZBI+6k/rewg3Wq786IU86Lox8s+cftVVJlN1dBNsSi94L FltHaIDfIp4Tg3zH8f7dS0mDLXOIv8Lkm/InOOjNJaCtnJPa4N42T1IwF w=; X-IronPort-AV: E=Sophos;i="5.76,322,1592870400"; d="scan'208";a="68513047" Received: from sea32-co-svc-lb4-vlan3.sea.corp.amazon.com (HELO email-inbound-relay-1a-807d4a99.us-east-1.amazon.com) ([10.47.23.38]) by smtp-border-fw-out-9102.sea19.amazon.com with ESMTP; 17 Aug 2020 13:12:58 +0000 Received: from EX13MTAUEA002.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan3.iad.amazon.com [10.40.159.166]) by email-inbound-relay-1a-807d4a99.us-east-1.amazon.com (Postfix) with ESMTPS id 434DAA1E60; Mon, 17 Aug 2020 13:12:55 +0000 (UTC) Received: from EX13D16EUB001.ant.amazon.com (10.43.166.28) by EX13MTAUEA002.ant.amazon.com (10.43.61.77) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 17 Aug 2020 13:12:55 +0000 Received: from 38f9d34ed3b1.ant.amazon.com (10.43.161.85) by EX13D16EUB001.ant.amazon.com (10.43.166.28) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 17 Aug 2020 13:12:46 +0000 From: Andra Paraschiv To: linux-kernel CC: Anthony Liguori , Benjamin Herrenschmidt , Colm MacCarthaigh , "David Duncan" , Bjoern Doebel , "David Woodhouse" , Frank van der Linden , Alexander Graf , Greg KH , "Karen Noel" , Martin Pohlack , Matt Wilson , Paolo Bonzini , Balbir Singh , Stefano Garzarella , "Stefan Hajnoczi" , Stewart Smith , "Uwe Dannowski" , Vitaly Kuznetsov , kvm , ne-devel-upstream , Andra Paraschiv Subject: [PATCH v7 15/18] nitro_enclaves: Add Makefile for the Nitro Enclaves driver Date: Mon, 17 Aug 2020 16:10:00 +0300 Message-ID: <20200817131003.56650-16-andraprs@amazon.com> X-Mailer: git-send-email 2.20.1 (Apple Git-117) In-Reply-To: <20200817131003.56650-1-andraprs@amazon.com> References: <20200817131003.56650-1-andraprs@amazon.com> MIME-Version: 1.0 X-Originating-IP: [10.43.161.85] X-ClientProxiedBy: EX13D03UWA001.ant.amazon.com (10.43.160.141) To EX13D16EUB001.ant.amazon.com (10.43.166.28) 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 Reviewed-by: Alexander Graf --- Changelog v6 -> v7 * No changes. v5 -> v6 * No changes. v4 -> v5 * No changes. v3 -> v4 * No changes. v2 -> v3 * Remove the GPL additional wording as SPDX-License-Identifier is already in place. v1 -> v2 * Update path to Makefile to match the drivers/virt/nitro_enclaves directory. --- drivers/virt/Makefile | 2 ++ drivers/virt/nitro_enclaves/Makefile | 11 +++++++++++ 2 files changed, 13 insertions(+) create mode 100644 drivers/virt/nitro_enclaves/Makefile diff --git a/drivers/virt/Makefile b/drivers/virt/Makefile index fd331247c27a..f28425ce4b39 100644 --- a/drivers/virt/Makefile +++ b/drivers/virt/Makefile @@ -5,3 +5,5 @@ obj-$(CONFIG_FSL_HV_MANAGER) += fsl_hypervisor.o obj-y += vboxguest/ + +obj-$(CONFIG_NITRO_ENCLAVES) += nitro_enclaves/ diff --git a/drivers/virt/nitro_enclaves/Makefile b/drivers/virt/nitro_enclaves/Makefile new file mode 100644 index 000000000000..e9f4fcd1591e --- /dev/null +++ b/drivers/virt/nitro_enclaves/Makefile @@ -0,0 +1,11 @@ +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + +# Enclave lifetime management support for Nitro Enclaves (NE). + +obj-$(CONFIG_NITRO_ENCLAVES) += nitro_enclaves.o + +nitro_enclaves-y := ne_pci_dev.o ne_misc_dev.o + +ccflags-y += -Wall -- 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.