From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4B56CC4320E for ; Fri, 27 Aug 2021 07:07:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 35E7760F92 for ; Fri, 27 Aug 2021 07:07:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244410AbhH0HHv (ORCPT ); Fri, 27 Aug 2021 03:07:51 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:28064 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244353AbhH0HHt (ORCPT ); Fri, 27 Aug 2021 03:07:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1630048020; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=8Funzvyr+wIWwolEPcNKEQ65EHp690MIRc/WKaoLb0E=; b=WIMis5axLo9b5v2jgH2DMxMhw1XdeI/gNvtDR7dG6E8/ICaMIopGg3OkchBuU/filfZn7/ ukujKbsrnO6LCaYXrcJz+Be/hqi1YPy6joabEftPlRu/yIdMnA5rgoFwL/KU+jCrSCLFwP J9SKGVmjK7Mk5G9m067e8CHyN84dOgs= Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-234-E9yF5qZpNmyYAmLt7WHbqw-1; Fri, 27 Aug 2021 03:06:59 -0400 X-MC-Unique: E9yF5qZpNmyYAmLt7WHbqw-1 Received: by mail-ej1-f72.google.com with SMTP id s11-20020a170906060b00b005be824f15daso2247768ejb.2 for ; Fri, 27 Aug 2021 00:06:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=8Funzvyr+wIWwolEPcNKEQ65EHp690MIRc/WKaoLb0E=; b=OotN9pGpCFI9AyH12SXF9Chk9KAdiQdcUQKOvf3i2uinxMO55LhSarLcec2isrLxoc Y2cvrMBkuyucKStlxyesXu6po3PgyHeYD3mlxWogd1ErpAit8WPHjZyQvjtkCbFLVX2T 3pR3f5WVu3JCGrI02fOw8ArUKrns05yxRAQuD/OUXPDR8VJJksuWmvNjRLVsQD5RUhyK m+2Gal7WETyNRliVC4zHJR/aaeANvD5wiv0gRwuyHCRH4cIlj5mQvWokSmX/+iPxWfvM tunWiXrKETpSmRC4IedAsyT81i6Y/4KrMD/6YEdVW6pjgdOSRT2tv/GlbJ+iFfEcxRAE 38uw== X-Gm-Message-State: AOAM533EYEN61Jqx/ihRhzgrDgaaGrrElmJj8FoeNvbzvR36roKinokS ki2OkDSk9ik5QBYfn4WMPCXkx2HAT5Q/0pGSzDOxolNgVjgqxfHv4JLfz2ol5hpF65cZJCc9Yjp B4S1jhOEI6Lh3b9J5xN6D487b X-Received: by 2002:a05:6402:3485:: with SMTP id v5mr8249479edc.205.1630048017595; Fri, 27 Aug 2021 00:06:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJygFuPcv9ecqs0S04GYbyelxqZmwGCgRnmyx6su6blF+pUQqxUmpSh1/ic6mddd1NYY3u3xuw== X-Received: by 2002:a05:6402:3485:: with SMTP id v5mr8249468edc.205.1630048017468; Fri, 27 Aug 2021 00:06:57 -0700 (PDT) Received: from steredhat (host-79-36-51-142.retail.telecomitalia.it. [79.36.51.142]) by smtp.gmail.com with ESMTPSA id q21sm2325001ejs.43.2021.08.27.00.06.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Aug 2021 00:06:57 -0700 (PDT) Date: Fri, 27 Aug 2021 09:06:55 +0200 From: Stefano Garzarella To: Andra Paraschiv Cc: linux-kernel , Alexandru Ciobotaru , Greg KH , Kamal Mostafa , Alexandru Vasile , Paolo Bonzini , Stefan Hajnoczi , Vitaly Kuznetsov , kvm , ne-devel-upstream Subject: Re: [PATCH v1 1/3] nitro_enclaves: Enable Arm support Message-ID: <20210827070655.inocrxzs4hix4anv@steredhat> References: <20210826173451.93165-1-andraprs@amazon.com> <20210826173451.93165-2-andraprs@amazon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20210826173451.93165-2-andraprs@amazon.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 26, 2021 at 08:34:49PM +0300, Andra Paraschiv wrote: >Update the kernel config to enable the Nitro Enclaves kernel driver for >Arm support. > >Signed-off-by: Andra Paraschiv >--- > drivers/virt/nitro_enclaves/Kconfig | 8 ++------ > 1 file changed, 2 insertions(+), 6 deletions(-) Acked-by: Stefano Garzarella > >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) > > > > >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. >