162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0 262306a36Sopenharmony_ci# 362306a36Sopenharmony_ci# Copyright 2020-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. 462306a36Sopenharmony_ci 562306a36Sopenharmony_ci# Amazon Nitro Enclaves (NE) support. 662306a36Sopenharmony_ci# Nitro is a hypervisor that has been developed by Amazon. 762306a36Sopenharmony_ci 862306a36Sopenharmony_ciconfig NITRO_ENCLAVES 962306a36Sopenharmony_ci tristate "Nitro Enclaves Support" 1062306a36Sopenharmony_ci depends on (ARM64 || X86) && HOTPLUG_CPU && PCI && SMP 1162306a36Sopenharmony_ci help 1262306a36Sopenharmony_ci This driver consists of support for enclave lifetime management 1362306a36Sopenharmony_ci for Nitro Enclaves (NE). 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_ci To compile this driver as a module, choose M here. 1662306a36Sopenharmony_ci The module will be called nitro_enclaves. 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ciconfig NITRO_ENCLAVES_MISC_DEV_TEST 1962306a36Sopenharmony_ci bool "Tests for the misc device functionality of the Nitro Enclaves" if !KUNIT_ALL_TESTS 2062306a36Sopenharmony_ci depends on NITRO_ENCLAVES && KUNIT=y 2162306a36Sopenharmony_ci default KUNIT_ALL_TESTS 2262306a36Sopenharmony_ci help 2362306a36Sopenharmony_ci Enable KUnit tests for the misc device functionality of the Nitro 2462306a36Sopenharmony_ci Enclaves. Select this option only if you will boot the kernel for 2562306a36Sopenharmony_ci the purpose of running unit tests (e.g. under UML or qemu). If 2662306a36Sopenharmony_ci unsure, say N. 27