nitro_enclaves: Enable Arm64 support
authorAndra Paraschiv <andraprs@amazon.com>
Fri, 27 Aug 2021 15:49:24 +0000 (18:49 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Sep 2021 09:11:19 +0000 (11:11 +0200)
Update the kernel config to enable the Nitro Enclaves kernel driver for
Arm64 support.

Reviewed-by: George-Aurelian Popescu <popegeo@amazon.com>
Acked-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Andra Paraschiv <andraprs@amazon.com>
Link: https://lore.kernel.org/r/20210827154930.40608-2-andraprs@amazon.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/virt/nitro_enclaves/Kconfig

index 8c9387a232df8c57867b5e75b63a085501bc65e8..f53740b941c0fc5be9e57b5c3c01c58b2ff61b50 100644 (file)
@@ -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).