Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3033042ybt; Mon, 22 Jun 2020 13:11:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwInuaFYsEHc+QMWZf4IphltSJDjHHJ54tBEKxJt9192CN8ycAD6wkCgYHE4O09lrudU7dd X-Received: by 2002:a17:906:2c5b:: with SMTP id f27mr18103749ejh.413.1592856684346; Mon, 22 Jun 2020 13:11:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592856684; cv=none; d=google.com; s=arc-20160816; b=V9FUS1Vm8QrQl4IgpOIPpm1HL1N68QEzLoL7G+JSz88uTc8zWH7s2FwjnImphN4JpK 98wMRZri9wTQ1OGj79e/GFoB0wowP5VKWlEGgXOU5zjD+asZ1kNMJcesmy0qdxRLgwWe lsN9mHU3/9MYWxGRULuv8yYT87m59+bvkMgkZEDUE5f4w2qXjEinH6Idp1jwjwGEKGiC gdL7IWw8SISnPyCXCfq4kJWeASDmfgi6DbCeOXgO+8DsDhULmaluMsDU2E0jkHhAApvA JWCk+9xpEGaDOOkboztYo+4/ykMno5yp6P2dXpcBIyox4LDG4lEc+bm5tldYqN+ILAV/ bFdA== 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=3bMNUcBSBwGWpilcxR5R8cYg0Vo8UEiF/NE9D1jmUaE=; b=0j7rYRqIh5RZnUwxxW/uzFZiaKgaT60oHOBeR3M1M/yS6f6eFT6tqJ0eRVhB+s4W2O eTG9HpfFZLqkBXP1WOB5FJPHH4UkZRUa0Y0JFTaUyxuI08P96TtGyIk8o29lZZSfyY8z dZjqWPL3Ev7uWLqOa6V5ENcO3rCYTkUFjItDNxpZmLlYhwocmx9HKMlpm5VO7TWLS8Oq tbmg23S0ddyCOs4S9d2S22Lmt+qcaI6J3EXAEHK3XTY/1fl+dejBCOg6O1PqNHhVdb26 qQARzZoVb+wfrz4P9yQeaFIAlMCz90qtegIHwa6ThBTQyzOX4xG/1B1EuRrfXPQdghZO FGTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=iNLNdG8F; 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 l5si9095659edn.474.2020.06.22.13.11.01; Mon, 22 Jun 2020 13:11:24 -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=iNLNdG8F; 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 S1730466AbgFVUGY (ORCPT + 99 others); Mon, 22 Jun 2020 16:06:24 -0400 Received: from smtp-fw-6002.amazon.com ([52.95.49.90]:46883 "EHLO smtp-fw-6002.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728683AbgFVUGW (ORCPT ); Mon, 22 Jun 2020 16:06:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1592856382; x=1624392382; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=3bMNUcBSBwGWpilcxR5R8cYg0Vo8UEiF/NE9D1jmUaE=; b=iNLNdG8FpKX19Q+G1celYbsXymgjMle3ZlyzCtb7ShvGZHgNHvD0aJhd DdLV2HC+VtUtGj7szP4SdTmsAQXi9PTtHXeaZsS+BvP6Ay5tZmEJWYTRC GeeWy/0bDRptK7MVUzUsYfJyLxE84zvQSli22fVj/dvhd+XExQYE1206W o=; IronPort-SDR: 2V6q2WdyE1OhrK5CFQEWRu8pQohebYWSgTvUqn7BTxinwIofCEDHKQNreZYNUMOIOCLKWdM0I4 wTtzQnMVovlg== X-IronPort-AV: E=Sophos;i="5.75,268,1589241600"; d="scan'208";a="37722321" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-2b-baacba05.us-west-2.amazon.com) ([10.43.8.6]) by smtp-border-fw-out-6002.iad6.amazon.com with ESMTP; 22 Jun 2020 20:06:20 +0000 Received: from EX13MTAUEA002.ant.amazon.com (pdx4-ws-svc-p6-lb7-vlan2.pdx.amazon.com [10.170.41.162]) by email-inbound-relay-2b-baacba05.us-west-2.amazon.com (Postfix) with ESMTPS id 230BEA1F2E; Mon, 22 Jun 2020 20:06:19 +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, 22 Jun 2020 20:06:18 +0000 Received: from 38f9d34ed3b1.ant.amazon.com (10.43.161.175) by EX13D16EUB003.ant.amazon.com (10.43.166.99) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 22 Jun 2020 20:06:09 +0000 From: Andra Paraschiv To: CC: Anthony Liguori , Benjamin Herrenschmidt , Colm MacCarthaigh , "Bjoern Doebel" , David Woodhouse , "Frank van der Linden" , Alexander Graf , Greg KH , Martin Pohlack , "Matt Wilson" , Paolo Bonzini , Balbir Singh , Stefano Garzarella , "Stefan Hajnoczi" , Stewart Smith , "Uwe Dannowski" , , , Andra Paraschiv Subject: [PATCH v4 15/18] nitro_enclaves: Add Makefile for the Nitro Enclaves driver Date: Mon, 22 Jun 2020 23:03:26 +0300 Message-ID: <20200622200329.52996-16-andraprs@amazon.com> X-Mailer: git-send-email 2.20.1 (Apple Git-117) In-Reply-To: <20200622200329.52996-1-andraprs@amazon.com> References: <20200622200329.52996-1-andraprs@amazon.com> MIME-Version: 1.0 X-Originating-IP: [10.43.161.175] X-ClientProxiedBy: EX13D18UWA001.ant.amazon.com (10.43.160.11) 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 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.