Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp3719758pxb; Mon, 30 Aug 2021 09:04:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx5+m0PcNDEeS/yo+DReJHLXBaSFd3wdAiWds8NO851dVjYDO0I+a5RQcvmJfIQI3vb6vZ0 X-Received: by 2002:a05:6402:354d:: with SMTP id f13mr24673008edd.382.1630339493844; Mon, 30 Aug 2021 09:04:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630339493; cv=none; d=google.com; s=arc-20160816; b=OnDgRT0mgkVgpEcai23AArdMK36aWrzEO6cZ6dJvKlSJzaZz5BcWQl6j01wQzadUc4 1ykiy2Ujt5AnkWXWwopouQE/0Wu5QeL0Uo0sB3FzSc0WgrtD9rcphZqbMsriOVz54Yn1 w+0+EgmogAkgnj65oc4uIXJj9Qse927elxDSF0UB+kwOkNQPNKYj/Mlp8Tw+6TOZ3CE0 Z0G7fsfhm6kzoDV4f8VeswxSmJGnzdEKKoLaez4vmYTxaLCirI88RvJX190ItEcrlIjd tC9wJd1rzVOjNRFiP032Vat9pDsxjszpZsW09PtsKEyOWZw0lffGTwbtspIOSdMpXn14 ag8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=0yCDVIeT6P3oOabTyC7LJ9ujB/tzPO1yDqrxY+d4zUk=; b=wPCotY3IOe4LCNGtRK2so94kRC3uHn5HtVD6ztxRBqv7dodJCqDFoh076l7qtRnf0I HvC2V/9PajdWsPDLjlIvcP6deWjc/h6mrolH+mun0REihxFEXkJX+7XNdq8EMTuyYfxY G4OpeaGRzt+llGxGZawhROAR88NtkBi8PjBNuXsDVPW/cUU0eY8y4E1RWXybuMbrDgiI ERLn6yUMvkMQmEx0Q1aDbJhRZVslO1lcB8bmyyB2fEBS87t97vyxck8YsSNB5MUA6EmJ mrdsq4OGi2+2mCDyWX/+zcp+D6REmRXQmv4PcQ7j0z0cthrHyC8WEyaRLLTd85nRwK9m 8whg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=A2Rso8eZ; 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 g6si7129596edb.162.2021.08.30.09.04.14; Mon, 30 Aug 2021 09:04:53 -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=A2Rso8eZ; 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 S237714AbhH3QAQ (ORCPT + 99 others); Mon, 30 Aug 2021 12:00:16 -0400 Received: from smtp-fw-2101.amazon.com ([72.21.196.25]:23055 "EHLO smtp-fw-2101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237542AbhH3QAQ (ORCPT ); Mon, 30 Aug 2021 12:00:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1630339163; x=1661875163; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=0yCDVIeT6P3oOabTyC7LJ9ujB/tzPO1yDqrxY+d4zUk=; b=A2Rso8eZgBf6z0y0Vi+I4sousiJeSKmIpfsmJHvz2PE61Su/B5pEK7lV Tj3ZcofHlGiUsMA9eu6iNXmNYVnTvbwMM1FMuZaWU/AKwNWBKWEtLC5YE nc4oJqsfLZU/POSeYgnPWyxhw72y1BZgZEe9yfJDQ2MubxZZio+QCWpQU M=; X-IronPort-AV: E=Sophos;i="5.84,363,1620691200"; d="scan'208";a="133235140" Received: from iad12-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-2b-55156cd4.us-west-2.amazon.com) ([10.43.8.2]) by smtp-border-fw-2101.iad2.amazon.com with ESMTP; 30 Aug 2021 15:59:22 +0000 Received: from EX13D46EUB004.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan2.pdx.amazon.com [10.236.137.194]) by email-inbound-relay-2b-55156cd4.us-west-2.amazon.com (Postfix) with ESMTPS id 5E910A1CFA; Mon, 30 Aug 2021 15:59:19 +0000 (UTC) Received: from u90cef543d0ab5a.ant.amazon.com (10.43.160.90) by EX13D46EUB004.ant.amazon.com (10.43.166.65) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Mon, 30 Aug 2021 15:59:13 +0000 Date: Mon, 30 Aug 2021 18:59:08 +0300 From: George-Aurelian Popescu To: Andra Paraschiv CC: linux-kernel , Alexandru Ciobotaru , Greg KH , Kamal Mostafa , Alexandru Vasile , Paolo Bonzini , Stefano Garzarella , "Stefan Hajnoczi" , Vitaly Kuznetsov , kvm , ne-devel-upstream Subject: Re: [PATCH v3 1/7] nitro_enclaves: Enable Arm64 support Message-ID: <20210830155907.GG10224@u90cef543d0ab5a.ant.amazon.com> References: <20210827154930.40608-1-andraprs@amazon.com> <20210827154930.40608-2-andraprs@amazon.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20210827154930.40608-2-andraprs@amazon.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-Originating-IP: [10.43.160.90] X-ClientProxiedBy: EX13D29UWA001.ant.amazon.com (10.43.160.187) To EX13D46EUB004.ant.amazon.com (10.43.166.65) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 27, 2021 at 06:49:24PM +0300, Andra Paraschiv wrote: > Update the kernel config to enable the Nitro Enclaves kernel driver for > Arm64 support. > > Signed-off-by: Andra Paraschiv > Acked-by: Stefano Garzarella > --- > Changelog > > v1 -> v2 > > * No changes. > > v2 -> v3 > > * Move changelog after the "---" line. > --- > drivers/virt/nitro_enclaves/Kconfig | 8 ++------ > 1 file changed, 2 insertions(+), 6 deletions(-) > > diff --git a/drivers/virt/nitro_enclaves/Kconfig b/drivers/virt/nitro_enclaves/Kconfig > index 8c9387a232df8..f53740b941c0f 100644 > --- a/drivers/virt/nitro_enclaves/Kconfig > +++ b/drivers/virt/nitro_enclaves/Kconfig > @@ -1,17 +1,13 @@ > # SPDX-License-Identifier: GPL-2.0 > # > -# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. > +# Copyright 2020-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. > > # Amazon Nitro Enclaves (NE) support. > # Nitro is a hypervisor that has been developed by Amazon. > > -# TODO: Add dependency for ARM64 once NE is supported on Arm platforms. For now, > -# the NE kernel driver can be built for aarch64 arch. > -# depends on (ARM64 || X86) && HOTPLUG_CPU && PCI && SMP > - > config NITRO_ENCLAVES > tristate "Nitro Enclaves Support" > - depends on X86 && HOTPLUG_CPU && PCI && SMP > + depends on (ARM64 || X86) && HOTPLUG_CPU && PCI && SMP > help > This driver consists of support for enclave lifetime management > for Nitro Enclaves (NE). > -- > 2.20.1 (Apple Git-117) > Reviewed-by: George-Aurelian Popescu Awesome, George 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.