xref: /linux/drivers/virt/nitro_enclaves/Kconfig (revision 07503b3c1e13fdeb66d4531c5dcba335eed9602a)
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.
17*07503b3cSLongpeng
18*07503b3cSLongpengconfig NITRO_ENCLAVES_MISC_DEV_TEST
19*07503b3cSLongpeng	bool "Tests for the misc device functionality of the Nitro Enclaves"
20*07503b3cSLongpeng	depends on NITRO_ENCLAVES && KUNIT=y
21*07503b3cSLongpeng	help
22*07503b3cSLongpeng	  Enable KUnit tests for the misc device functionality of the Nitro
23*07503b3cSLongpeng	  Enclaves. Select this option only if you will boot the kernel for
24*07503b3cSLongpeng	  the purpose of running unit tests (e.g. under UML or qemu). If
25*07503b3cSLongpeng	  unsure, say N.
26