Commit | Line | Data |
---|---|---|
07499cc6 AP |
1 | # SPDX-License-Identifier: GPL-2.0 |
2 | # | |
f7e55f05 | 3 | # Copyright 2020-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
07499cc6 AP |
4 | |
5 | # Amazon Nitro Enclaves (NE) support. | |
6 | # Nitro is a hypervisor that has been developed by Amazon. | |
7 | ||
07499cc6 AP |
8 | config NITRO_ENCLAVES |
9 | tristate "Nitro Enclaves Support" | |
f7e55f05 | 10 | depends on (ARM64 || X86) && HOTPLUG_CPU && PCI && SMP |
07499cc6 AP |
11 | help |
12 | This driver consists of support for enclave lifetime management | |
13 | for Nitro Enclaves (NE). | |
14 | ||
15 | To compile this driver as a module, choose M here. | |
16 | The module will be called nitro_enclaves. | |
07503b3c L |
17 | |
18 | config NITRO_ENCLAVES_MISC_DEV_TEST | |
fe5be808 | 19 | bool "Tests for the misc device functionality of the Nitro Enclaves" if !KUNIT_ALL_TESTS |
793f55b2 | 20 | depends on NITRO_ENCLAVES && KUNIT=y |
fe5be808 | 21 | default KUNIT_ALL_TESTS |
07503b3c L |
22 | help |
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 | |
26 | unsure, say N. |