1# SPDX-License-Identifier: GPL-2.0 2# 3# Copyright 2020-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. 4 5# Amazon Nitro Enclaves (NE) support. 6# Nitro is a hypervisor that has been developed by Amazon. 7 8config NITRO_ENCLAVES 9 tristate "Nitro Enclaves Support" 10 depends on (ARM64 || X86) && HOTPLUG_CPU && PCI && SMP 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. 17 18config 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 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. 27