Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Andra Paraschiv and committed by
Greg Kroah-Hartman
07499cc6 9c8eb50f

+22
+2
drivers/virt/Kconfig
··· 32 32 partition shuts down. 33 33 34 34 source "drivers/virt/vboxguest/Kconfig" 35 + 36 + source "drivers/virt/nitro_enclaves/Kconfig" 35 37 endif
+20
drivers/virt/nitro_enclaves/Kconfig
··· 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.