1 # SPDX-License-Identifier: GPL-2.0
3 # Copyright 2020-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
5 # Amazon Nitro Enclaves (NE) support.
6 # Nitro is a hypervisor that has been developed by Amazon.
9 tristate "Nitro Enclaves Support"
10 depends on (ARM64 || X86) && HOTPLUG_CPU && PCI && SMP
12 This driver consists of support for enclave lifetime management
13 for Nitro Enclaves (NE).
15 To compile this driver as a module, choose M here.
16 The module will be called nitro_enclaves.
18 config NITRO_ENCLAVES_MISC_DEV_TEST
19 bool "Tests for the misc device functionality of the Nitro Enclaves" if !KUNIT_ALL_TESTS
20 depends on NITRO_ENCLAVES && KUNIT=y
21 default KUNIT_ALL_TESTS
23 Enable KUnit tests for the misc device functionality of the Nitro
24 Enclaves. Select this option only if you will boot the kernel for
25 the purpose of running unit tests (e.g. under UML or qemu). If