Skip to content

Commit 07499cc

Browse files
andraprsgregkh
authored andcommitted
nitro_enclaves: Add Kconfig for the Nitro Enclaves driver
Add kernel config entry for Nitro Enclaves, including dependencies. Changelog v9 -> v10 * Update commit message to include the changelog before the SoB tag(s). v8 -> v9 * No changes. v7 -> v8 * No changes. v6 -> v7 * Remove, for now, the dependency on ARM64 arch. x86 is currently supported, with Arm to come afterwards. The NE kernel driver can be built for aarch64 arch. v5 -> v6 * No changes. v4 -> v5 * Add arch dependency for Arm / x86. v3 -> v4 * Add PCI and SMP dependencies. v2 -> v3 * Remove the GPL additional wording as SPDX-License-Identifier is already in place. v1 -> v2 * Update path to Kconfig to match the drivers/virt/nitro_enclaves directory. * Update help in Kconfig. Reviewed-by: Alexander Graf <graf@amazon.com> Signed-off-by: Andra Paraschiv <andraprs@amazon.com> Link: https://lore.kernel.org/r/20200921121732.44291-15-andraprs@amazon.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 9c8eb50 commit 07499cc

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

drivers/virt/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,6 @@ config FSL_HV_MANAGER
3232
partition shuts down.
3333

3434
source "drivers/virt/vboxguest/Kconfig"
35+
36+
source "drivers/virt/nitro_enclaves/Kconfig"
3537
endif
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
#
3+
# Copyright 2020 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+
8+
# TODO: Add dependency for ARM64 once NE is supported on Arm platforms. For now,
9+
# the NE kernel driver can be built for aarch64 arch.
10+
# depends on (ARM64 || X86) && HOTPLUG_CPU && PCI && SMP
11+
12+
config NITRO_ENCLAVES
13+
tristate "Nitro Enclaves Support"
14+
depends on X86 && HOTPLUG_CPU && PCI && SMP
15+
help
16+
This driver consists of support for enclave lifetime management
17+
for Nitro Enclaves (NE).
18+
19+
To compile this driver as a module, choose M here.
20+
The module will be called nitro_enclaves.

0 commit comments

Comments
 (0)