Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp332855pxa; Wed, 5 Aug 2020 02:16:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyot4OtspGa+q59OpJB54oQOQvLn2nLOnnCOSmvgCdXzL/C0XKVwtq9Hj4M2+VVBJFBUIhi X-Received: by 2002:a17:906:2b44:: with SMTP id b4mr2201507ejg.406.1596619017374; Wed, 05 Aug 2020 02:16:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596619017; cv=none; d=google.com; s=arc-20160816; b=HawUX6Q/mDKug5hN9TBNtG8GdTv2M2kBCJiLCOoIUJ79fjQLql9JTROh53jhWVY8gB 211b0L2hWubI802mZei7FjTVhagE8ZgBDE6RHmJeCyT+7l4r10VftPe7fM1+EY0gjYN9 VaRxO9vvwD1GVEHsO+wOIikujwpcl3lcK/bgTLItcrkaIW/46C0NVesWvwEojvDi0H8F eAVw2REq4cCWuSTupfNL3ZaxNck7KRyPEBgvz0OTD6b6U3//MM5NIA6RkXxiDdzXuMT5 mzu7kfw5v0AUmXcaFhHpgCXVjfwqSUTWD3Xsro/GwMj5XB/7aKy5shCJmpxPqYLkAOvx nefg== 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=O/JSVBsGdGfhCrhmMQawH7Ohbd7NM7BoNDWe9KkOdh0=; b=IgQ91uNI8r4L9vKUBjX9ppcqxZOAT2CZ53kAnCsvTtlOXyGtkzcE9x6qw7lWgwKfwe 6wgwfAr0cKBfc7A6MaxDeCVEQ5NrQ3gkcwmMdQFNi7+gZNIKe52bafQWu2Y0cOrqlAPM AvkeXDBZjjr785mU6QPI9K5bkZp5OL6QDO2D3mmKYU3rDAbPSun03oPu8lMKjEoVV/gc 4H2zIToLeUUfBRYUs9RJy7mBe5lwXHlKnG3gBV7QzDhXEmaaLtHy9ZrHlBpNse9z2pEd HI+Chf6Xs5P+URvq0563CVDM7LI5+npBas9U+rnajTI84vHVnFGo9PLKSWkmt5WtYI3O PLvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=ghKpDqNF; 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 k26si946144ejz.115.2020.08.05.02.16.27; Wed, 05 Aug 2020 02:16: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=pass header.i=@amazon.com header.s=amazon201209 header.b=ghKpDqNF; 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 S1728281AbgHEJPX (ORCPT + 99 others); Wed, 5 Aug 2020 05:15:23 -0400 Received: from smtp-fw-9102.amazon.com ([207.171.184.29]:5049 "EHLO smtp-fw-9102.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728597AbgHEJNP (ORCPT ); Wed, 5 Aug 2020 05:13:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1596618794; x=1628154794; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=O/JSVBsGdGfhCrhmMQawH7Ohbd7NM7BoNDWe9KkOdh0=; b=ghKpDqNFQgRtSxt9UA3+oiWCV/hNtaM3lN8IB6mGS1dml6PccwAYlBmw pipE+ZJZWHpNaHrZCwoW7ZcP+pg6WAvy3/cmcFayEtY1LT8vrUKsrzlcx R9PUxZ8ddZmiOoBBQ6RTwdJhHX2oDC8L27eWX8K4tHFN+d8e5OfmmPmV/ A=; IronPort-SDR: mbw9wYdPinwL3iYKAiYGgmP9KUAmuO371IJ0+BW14473l+hwVF5GYNLhlo/w2BRuG69Z1Kswpk jB/+z9qQ09dw== X-IronPort-AV: E=Sophos;i="5.75,436,1589241600"; d="scan'208";a="65723247" Received: from sea32-co-svc-lb4-vlan3.sea.corp.amazon.com (HELO email-inbound-relay-2a-e7be2041.us-west-2.amazon.com) ([10.47.23.38]) by smtp-border-fw-out-9102.sea19.amazon.com with ESMTP; 05 Aug 2020 09:13:12 +0000 Received: from EX13MTAUEA002.ant.amazon.com (pdx4-ws-svc-p6-lb7-vlan2.pdx.amazon.com [10.170.41.162]) by email-inbound-relay-2a-e7be2041.us-west-2.amazon.com (Postfix) with ESMTPS id 33939A1DF8; Wed, 5 Aug 2020 09:13:11 +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; Wed, 5 Aug 2020 09:13:11 +0000 Received: from 38f9d34ed3b1.ant.amazon.com (10.43.160.192) by EX13D16EUB003.ant.amazon.com (10.43.166.99) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 5 Aug 2020 09:13:01 +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 v6 15/18] nitro_enclaves: Add Makefile for the Nitro Enclaves driver Date: Wed, 5 Aug 2020 12:10:14 +0300 Message-ID: <20200805091017.86203-16-andraprs@amazon.com> X-Mailer: git-send-email 2.20.1 (Apple Git-117) In-Reply-To: <20200805091017.86203-1-andraprs@amazon.com> References: <20200805091017.86203-1-andraprs@amazon.com> MIME-Version: 1.0 X-Originating-IP: [10.43.160.192] X-ClientProxiedBy: EX13D19UWA004.ant.amazon.com (10.43.160.102) 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 Reviewed-by: Alexander Graf --- Changelog 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.