Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp429094ybz; Tue, 21 Apr 2020 11:47:13 -0700 (PDT) X-Google-Smtp-Source: APiQypK0m37Ucj1imAmJReyOfDvfabhh5RYmnxkdlZLF3FWupUxjewtzwpZIUQupyAeWcWeeeaPh X-Received: by 2002:a17:906:8609:: with SMTP id o9mr23012774ejx.361.1587494833818; Tue, 21 Apr 2020 11:47:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587494833; cv=none; d=google.com; s=arc-20160816; b=FuCv9UIBtZfU4HgOip+1BOX741Uxej89TaW0r+mwWfCbHotGqmFTUPuov+439K/8gm jvULbj9qxU6rDvLWEkRlAlNqir5xFUBvvN3WU8gwg2/JRZJkii56VwvoOSnzFWh6qNqw KjuHaWLV2iLd1ZF6TuuvfYL2jkeB2CbbVPGG11L60o+ygWqCXwfYGR2iP6acPFP7JRfc neeTDZf81jI2gyYgR2USMdmZsexdfHObfb5pDmJWKO1bp7XtaLSuIA4TBYLSSzcCln3Y K4OzMRH87HI98EuNUFeeuzf1IwPaOfmgQJf2/h3R/eaXhNPdWvFPIEHnS4wZT+bGkzvA t2gg== 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=vLDZfBQ8IqS0q77AJUKPbfKbjqr2sjpRWf9gkII3JQU=; b=Sk3b1tlNWzqK01g0g6vv4QSepq56XfgfX1YxppyAkr0HTAfUu0372ubmho7boNac7v u65QK9n1rh2/7nef9oWDW45gccNweZaXyJck3tBfFgpYmYiC/wDDZep2bOcGRsrWnWFR Tiv/PYXeGlMjKtxCTk+w3jZEAXfkJ5kNvieihAFgy9XGTcINtqD99LnuUtYIOWrmcqSF bn2CniX1M9FxhbBHwOGLW9FCy/wIRNTMssFnMy1tQ6+fw7XqFExTpCrdU/VRrJqZqPBp Ho/29ChpKTBNZ/KZMzez8AHeR+GMEoWaEmsdNUOI+iGsQyeyqrkvmH9/WNAuCpM9PqBV AhIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=jT63UHNW; 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 qq22si2068062ejb.523.2020.04.21.11.46.50; Tue, 21 Apr 2020 11:47:13 -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=jT63UHNW; 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 S1729709AbgDUSoO (ORCPT + 99 others); Tue, 21 Apr 2020 14:44:14 -0400 Received: from smtp-fw-6002.amazon.com ([52.95.49.90]:58124 "EHLO smtp-fw-6002.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729722AbgDUSoM (ORCPT ); Tue, 21 Apr 2020 14:44:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1587494651; x=1619030651; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=vLDZfBQ8IqS0q77AJUKPbfKbjqr2sjpRWf9gkII3JQU=; b=jT63UHNWSJ1BXd037dJTypzNDff68uYiHQfzr0VI/waWWvo4METynafQ eQWELpTeglry0AW/tK+2IyW1cRpnPixXFvdEkm1VLJlMZDmmVxbadJm9X h/nv1oJFT2uOlv71XQgP0XM2ePR/jLNPvu+KDuURdgvA4TBpvgsubjEXf Y=; IronPort-SDR: IwQSjZRIsD99Wa8PA+Gd1gho9PjRrq4JftpvLu82XFNO3SaHs14Qo8Ng/RWUjzgLOSGU72LQdL 7IennduioqVg== X-IronPort-AV: E=Sophos;i="5.72,411,1580774400"; d="scan'208";a="26614674" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-2a-90c42d1d.us-west-2.amazon.com) ([10.43.8.6]) by smtp-border-fw-out-6002.iad6.amazon.com with ESMTP; 21 Apr 2020 18:44:10 +0000 Received: from EX13MTAUEA002.ant.amazon.com (pdx4-ws-svc-p6-lb7-vlan3.pdx.amazon.com [10.170.41.166]) by email-inbound-relay-2a-90c42d1d.us-west-2.amazon.com (Postfix) with ESMTPS id 71BE6A1E6D; Tue, 21 Apr 2020 18:44:09 +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; Tue, 21 Apr 2020 18:44:08 +0000 Received: from 38f9d34ed3b1.ant.amazon.com (10.43.161.217) by EX13D16EUB003.ant.amazon.com (10.43.166.99) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 21 Apr 2020 18:44:00 +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 , Stewart Smith , Uwe Dannowski , , , Andra Paraschiv Subject: [PATCH v1 14/15] nitro_enclaves: Add Makefile for the Nitro Enclaves driver Date: Tue, 21 Apr 2020 21:41:49 +0300 Message-ID: <20200421184150.68011-15-andraprs@amazon.com> X-Mailer: git-send-email 2.20.1 (Apple Git-117) In-Reply-To: <20200421184150.68011-1-andraprs@amazon.com> References: <20200421184150.68011-1-andraprs@amazon.com> MIME-Version: 1.0 X-Originating-IP: [10.43.161.217] X-ClientProxiedBy: EX13D17UWC002.ant.amazon.com (10.43.162.61) 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 --- drivers/virt/Makefile | 2 ++ drivers/virt/amazon/Makefile | 19 +++++++++++++++++ drivers/virt/amazon/nitro_enclaves/Makefile | 23 +++++++++++++++++++++ 3 files changed, 44 insertions(+) create mode 100644 drivers/virt/amazon/Makefile create mode 100644 drivers/virt/amazon/nitro_enclaves/Makefile diff --git a/drivers/virt/Makefile b/drivers/virt/Makefile index fd331247c27a..50a7d792e1c4 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) += amazon/ diff --git a/drivers/virt/amazon/Makefile b/drivers/virt/amazon/Makefile new file mode 100644 index 000000000000..9d77bbfc748a --- /dev/null +++ b/drivers/virt/amazon/Makefile @@ -0,0 +1,19 @@ +# 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 . + +# Enclave lifetime management support for Nitro Enclaves (NE). + +obj-$(CONFIG_NITRO_ENCLAVES) += nitro_enclaves/ diff --git a/drivers/virt/amazon/nitro_enclaves/Makefile b/drivers/virt/amazon/nitro_enclaves/Makefile new file mode 100644 index 000000000000..9109aed41070 --- /dev/null +++ b/drivers/virt/amazon/nitro_enclaves/Makefile @@ -0,0 +1,23 @@ +# 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 . + +# 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.