Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp76642ybt; Mon, 6 Jul 2020 04:30:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzoK+pYjgmkE2SexkM+WsKIqOVPPhJNX3R8azPzg4YQ1BaUgE4adRDiWTM/4H9uKU+UOa9m X-Received: by 2002:a50:cf09:: with SMTP id c9mr13857283edk.90.1594035030581; Mon, 06 Jul 2020 04:30:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594035030; cv=none; d=google.com; s=arc-20160816; b=jIWhbrDaRTq0e/Xxo+J3cvlwzVLaIrzPUwfUOP4PkN0bQos+7Ui8NZCqLLC/+qldZ0 h4s8OIQHg/iMzhFTe091U4z+dPdjpO/qWobgCjmKRUXDd5i0HzzBjpVo4R5l+60yY0dx 4oQUTP51icuGblYsvIFSY+9Q9vRcZy14Y6GnleR2XQWRwG0tIHeQ1BnIFtZrin0jTaBn agxtQqWjCmWTrQbHKUvGJ7X1i6X38sExBE1zL+tGH6orhaFVCuyAq2fd8koEmwCuh9Oi AdA2N+g5Kz9Wp4V9Ss6/FUIdCasGl8TAe08KIPO1CEbYeBp5K4EnFHlOmqieUB8KmonX nd+g== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:ironport-sdr :dkim-signature; bh=mRr0O6TaoOSD4wC+mXJIuv+LEUU0XRuAYgb7yAKzoIM=; b=ipr28F+Low70wyOQpRFIUURtdB9nIptQGMMAMZaeRExjSuDC9r4oa98Mwuop7NirWI KjSURAxBDSZzkZRuPPSc86Li/OMsMog604JlDvclt0QnEnE7gXvangPoCt+WUO7qTSxJ LzFZ69JWifmhKt8tQSmF5AG7XY9xW17SGNt4PtZoScNgSmZRWMZ5wpL0CsjFEVCw/Bm8 MqSMgMJVaT0CnlTFJMuhrvjJBZnZaKI3R5PqbNseA2xUCY+eBUwIXE4KbzMxn9oXxx19 50ligBMZ6ar/ELTL+/O8eVOmNniFLcU2lb5oaCccTpxSszqW0gQBiTdLrFHQrlgncZR1 iYcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.de header.s=amazon201209 header.b="nT+s8a//"; 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.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j28si14456841edj.142.2020.07.06.04.30.07; Mon, 06 Jul 2020 04:30:30 -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.de header.s=amazon201209 header.b="nT+s8a//"; 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.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729052AbgGFL3B (ORCPT + 99 others); Mon, 6 Jul 2020 07:29:01 -0400 Received: from smtp-fw-9102.amazon.com ([207.171.184.29]:13192 "EHLO smtp-fw-9102.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728697AbgGFL3B (ORCPT ); Mon, 6 Jul 2020 07:29:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.de; i=@amazon.de; q=dns/txt; s=amazon201209; t=1594034940; x=1625570940; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=mRr0O6TaoOSD4wC+mXJIuv+LEUU0XRuAYgb7yAKzoIM=; b=nT+s8a///Hel3kSognMPQ7K4gj6Cc8DTgZa5vTwmxiCDcDET/r5G4Fud 9u34cDBChux0VmdzH84pOsvwssL6OqO11/qN/3cXPaeerkH5KO5A3Ucnv ZN9RQDCMFB4yE7ZIIH5MzAGaS5JGUc8DnzVH7biF3GVlFJT8ZMVsmJ8mC s=; IronPort-SDR: OiGbs+Yy6tDcmbAeuB4uhipDt8XAeSJSDgwjEP3FC+3Px0eQawXZO5CsgDNjMQ3KykAeVFkSXm pixhiIZoH/ig== X-IronPort-AV: E=Sophos;i="5.75,318,1589241600"; d="scan'208";a="57612227" Received: from sea32-co-svc-lb4-vlan3.sea.corp.amazon.com (HELO email-inbound-relay-1e-62350142.us-east-1.amazon.com) ([10.47.23.38]) by smtp-border-fw-out-9102.sea19.amazon.com with ESMTP; 06 Jul 2020 11:28:59 +0000 Received: from EX13MTAUWC001.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan3.iad.amazon.com [10.40.159.166]) by email-inbound-relay-1e-62350142.us-east-1.amazon.com (Postfix) with ESMTPS id 401F7A2874; Mon, 6 Jul 2020 11:28:57 +0000 (UTC) Received: from EX13D20UWC001.ant.amazon.com (10.43.162.244) by EX13MTAUWC001.ant.amazon.com (10.43.162.135) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 6 Jul 2020 11:28:56 +0000 Received: from 38f9d3867b82.ant.amazon.com (10.43.160.26) by EX13D20UWC001.ant.amazon.com (10.43.162.244) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 6 Jul 2020 11:28:47 +0000 Subject: Re: [PATCH v4 14/18] nitro_enclaves: Add Kconfig for the Nitro Enclaves driver To: Andra Paraschiv , CC: Anthony Liguori , Benjamin Herrenschmidt , Colm MacCarthaigh , "Bjoern Doebel" , David Woodhouse , "Frank van der Linden" , Greg KH , Martin Pohlack , Matt Wilson , "Paolo Bonzini" , Balbir Singh , "Stefano Garzarella" , Stefan Hajnoczi , Stewart Smith , Uwe Dannowski , , References: <20200622200329.52996-1-andraprs@amazon.com> <20200622200329.52996-15-andraprs@amazon.com> From: Alexander Graf Message-ID: <0576a41d-f915-24b3-e6f9-0bc3616fd75b@amazon.de> Date: Mon, 6 Jul 2020 13:28:45 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <20200622200329.52996-15-andraprs@amazon.com> Content-Language: en-US X-Originating-IP: [10.43.160.26] X-ClientProxiedBy: EX13D30UWC002.ant.amazon.com (10.43.162.235) To EX13D20UWC001.ant.amazon.com (10.43.162.244) Content-Type: text/plain; charset="windows-1252"; format="flowed" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22.06.20 22:03, Andra Paraschiv wrote: > Signed-off-by: Andra Paraschiv > --- > Changelog > = > v3 -> v4 > = > * Add PCI and SMP dependencies. > = > 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 cbc1f25c79ab..80c5f9c16ec1 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_enc= laves/Kconfig > new file mode 100644 > index 000000000000..69e41aa2222d > --- /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 && PCI && SMP Let's also depend on ARM64 || X86, so that we don't burden all of the = other archs that are not available in EC2 today with an additional = config option to think about. Alex Amazon Development Center Germany GmbH Krausenstr. 38 10117 Berlin Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss Eingetragen am Amtsgericht Charlottenburg unter HRB 149173 B Sitz: Berlin Ust-ID: DE 289 237 879