107499cc6SAndra Paraschiv# SPDX-License-Identifier: GPL-2.0
207499cc6SAndra Paraschiv#
307499cc6SAndra Paraschiv# Copyright 2020 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 Paraschiv# TODO: Add dependency for ARM64 once NE is supported on Arm platforms. For now,
907499cc6SAndra Paraschiv# the NE kernel driver can be built for aarch64 arch.
1007499cc6SAndra Paraschiv# depends on (ARM64 || X86) && HOTPLUG_CPU && PCI && SMP
1107499cc6SAndra Paraschiv
1207499cc6SAndra Paraschivconfig NITRO_ENCLAVES
1307499cc6SAndra Paraschiv	tristate "Nitro Enclaves Support"
1407499cc6SAndra Paraschiv	depends on X86 && HOTPLUG_CPU && PCI && SMP
1507499cc6SAndra Paraschiv	help
1607499cc6SAndra Paraschiv	  This driver consists of support for enclave lifetime management
1707499cc6SAndra Paraschiv	  for Nitro Enclaves (NE).
1807499cc6SAndra Paraschiv
1907499cc6SAndra Paraschiv	  To compile this driver as a module, choose M here.
2007499cc6SAndra Paraschiv	  The module will be called nitro_enclaves.
21