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=ham 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 20A5CC432BE for ; Fri, 27 Aug 2021 08:43:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E619D60FDC for ; Fri, 27 Aug 2021 08:43:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244586AbhH0IoC (ORCPT ); Fri, 27 Aug 2021 04:44:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:46462 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233157AbhH0IoB (ORCPT ); Fri, 27 Aug 2021 04:44:01 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1C57060F6F; Fri, 27 Aug 2021 08:43:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1630053793; bh=hHb2wdMjI7FvcvoPutzMeKVb5FQHNPxUguvPilqgxII=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=g+DhAG7BY0c6OsQNVfLrCDw52yR0lE3h56m+n3q42sg0PUdYaSKIR1I5YNRCCvGMf S+XkUt0mPWN/TXMrGsED+JIY2+PMpecLHONOl9cOeg7CUnAoLfcTWt1nihm44Ohv3Q nTyr9owIlEHBO7r4soWGyH/AIv1NilXJH/XugDr8= Date: Fri, 27 Aug 2021 10:43:04 +0200 From: Greg KH To: Andra Paraschiv Cc: linux-kernel , Alexandru Ciobotaru , Kamal Mostafa , Alexandru Vasile , Paolo Bonzini , Stefano Garzarella , Stefan Hajnoczi , Vitaly Kuznetsov , kvm , ne-devel-upstream Subject: Re: [PATCH v1 1/3] nitro_enclaves: Enable Arm support Message-ID: References: <20210826173451.93165-1-andraprs@amazon.com> <20210826173451.93165-2-andraprs@amazon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210826173451.93165-2-andraprs@amazon.com> Precedence: bulk List-ID: X-Mailing-List: kvm@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(-) > > 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 So no code change needed? If not, they why do we have a cpu type at all here? thanks, greg k-h