107499cc6SAndra Paraschiv# SPDX-License-Identifier: GPL-2.0 207499cc6SAndra Paraschiv# 3f7e55f05SAndra Paraschiv# Copyright 2020-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. 407499cc6SAndra Paraschiv 507499cc6SAndra Paraschiv# Amazon Nitro Enclaves (NE) support. 607499cc6SAndra Paraschiv# Nitro is a hypervisor that has been developed by Amazon. 707499cc6SAndra Paraschiv 807499cc6SAndra Paraschivconfig NITRO_ENCLAVES 907499cc6SAndra Paraschiv tristate "Nitro Enclaves Support" 10f7e55f05SAndra Paraschiv depends on (ARM64 || X86) && HOTPLUG_CPU && PCI && SMP 1107499cc6SAndra Paraschiv help 1207499cc6SAndra Paraschiv This driver consists of support for enclave lifetime management 1307499cc6SAndra Paraschiv for Nitro Enclaves (NE). 1407499cc6SAndra Paraschiv 1507499cc6SAndra Paraschiv To compile this driver as a module, choose M here. 1607499cc6SAndra Paraschiv The module will be called nitro_enclaves. 1707503b3cSLongpeng 1807503b3cSLongpengconfig NITRO_ENCLAVES_MISC_DEV_TEST 19fe5be808SDavid Gow bool "Tests for the misc device functionality of the Nitro Enclaves" if !KUNIT_ALL_TESTS 20*793f55b2SNico Pache depends on NITRO_ENCLAVES && KUNIT=y 21fe5be808SDavid Gow default KUNIT_ALL_TESTS 2207503b3cSLongpeng help 2307503b3cSLongpeng Enable KUnit tests for the misc device functionality of the Nitro 2407503b3cSLongpeng Enclaves. Select this option only if you will boot the kernel for 2507503b3cSLongpeng the purpose of running unit tests (e.g. under UML or qemu). If 2607503b3cSLongpeng unsure, say N. 27