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" 20 depends on NITRO_ENCLAVES && KUNIT=y 21 help 22 Enable KUnit tests for the misc device functionality of the Nitro 23 Enclaves. Select this option only if you will boot the kernel for 24 the purpose of running unit tests (e.g. under UML or qemu). If 25 unsure, say N. 26