2020-09-21 12:17:28 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
#
|
2021-08-27 15:49:24 +00:00
|
|
|
# Copyright 2020-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2020-09-21 12:17:28 +00:00
|
|
|
|
|
|
|
# Amazon Nitro Enclaves (NE) support.
|
|
|
|
# Nitro is a hypervisor that has been developed by Amazon.
|
|
|
|
|
|
|
|
config NITRO_ENCLAVES
|
|
|
|
tristate "Nitro Enclaves Support"
|
2021-08-27 15:49:24 +00:00
|
|
|
depends on (ARM64 || X86) && HOTPLUG_CPU && PCI && SMP
|
2020-09-21 12:17:28 +00:00
|
|
|
help
|
|
|
|
This driver consists of support for enclave lifetime management
|
|
|
|
for Nitro Enclaves (NE).
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here.
|
|
|
|
The module will be called nitro_enclaves.
|
2021-11-07 14:09:16 +00:00
|
|
|
|
|
|
|
config NITRO_ENCLAVES_MISC_DEV_TEST
|
2022-07-09 03:20:00 +00:00
|
|
|
bool "Tests for the misc device functionality of the Nitro Enclaves" if !KUNIT_ALL_TESTS
|
2022-08-10 23:40:56 +00:00
|
|
|
depends on NITRO_ENCLAVES && KUNIT=y
|
2022-07-09 03:20:00 +00:00
|
|
|
default KUNIT_ALL_TESTS
|
2021-11-07 14:09:16 +00:00
|
|
|
help
|
|
|
|
Enable KUnit tests for the misc device functionality of the Nitro
|
|
|
|
Enclaves. Select this option only if you will boot the kernel for
|
|
|
|
the purpose of running unit tests (e.g. under UML or qemu). If
|
|
|
|
unsure, say N.
|