drivers/virt/nitro_enclaves/Kconfig

Source file repositories/reference/linux-study-clean/drivers/virt/nitro_enclaves/Kconfig

File Facts

System
Linux kernel
Corpus path
drivers/virt/nitro_enclaves/Kconfig
Extension
[no extension]
Size
947 bytes
Lines
27
Domain
Driver Families
Bucket
drivers/virt
Inferred role
Driver Families: build/configuration rule
Status
atlas-only

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

# 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" if !KUNIT_ALL_TESTS
	depends on NITRO_ENCLAVES && KUNIT=y
	default KUNIT_ALL_TESTS
	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.

Annotation

Implementation Notes