mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 16:07:39 +00:00
07503b3c1e
Add the initial setup for the KUnit tests that will target the Nitro Enclaves misc device functionality. Reviewed-by: Andra Paraschiv <andraprs@amazon.com> Signed-off-by: Longpeng <longpeng2@huawei.com> Link: https://lore.kernel.org/r/20211107140918.2106-4-longpeng2@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
25 lines
902 B
Text
25 lines
902 B
Text
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Copyright 2020-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
|
|
# Amazon Nitro Enclaves (NE) support.
|
|
# Nitro is a hypervisor that has been developed by Amazon.
|
|
|
|
config NITRO_ENCLAVES
|
|
tristate "Nitro Enclaves Support"
|
|
depends on (ARM64 || X86) && HOTPLUG_CPU && PCI && SMP
|
|
help
|
|
This driver consists of support for enclave lifetime management
|
|
for Nitro Enclaves (NE).
|
|
|
|
To compile this driver as a module, choose M here.
|
|
The module will be called nitro_enclaves.
|
|
|
|
config NITRO_ENCLAVES_MISC_DEV_TEST
|
|
bool "Tests for the misc device functionality of the Nitro Enclaves"
|
|
depends on NITRO_ENCLAVES && KUNIT=y
|
|
help
|
|
Enable KUnit tests for the misc device functionality of the Nitro
|
|
Enclaves. Select this option only if you will boot the kernel for
|
|
the purpose of running unit tests (e.g. under UML or qemu). If
|
|
unsure, say N.
|