Kconfig 947 B

1234567891011121314151617181920212223242526
  1. # SPDX-License-Identifier: GPL-2.0
  2. #
  3. # Copyright 2020-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
  4. # Amazon Nitro Enclaves (NE) support.
  5. # Nitro is a hypervisor that has been developed by Amazon.
  6. config NITRO_ENCLAVES
  7. tristate "Nitro Enclaves Support"
  8. depends on (ARM64 || X86) && HOTPLUG_CPU && PCI && SMP
  9. help
  10. This driver consists of support for enclave lifetime management
  11. for Nitro Enclaves (NE).
  12. To compile this driver as a module, choose M here.
  13. The module will be called nitro_enclaves.
  14. config NITRO_ENCLAVES_MISC_DEV_TEST
  15. bool "Tests for the misc device functionality of the Nitro Enclaves" if !KUNIT_ALL_TESTS
  16. depends on NITRO_ENCLAVES && KUNIT=y
  17. default KUNIT_ALL_TESTS
  18. help
  19. Enable KUnit tests for the misc device functionality of the Nitro
  20. Enclaves. Select this option only if you will boot the kernel for
  21. the purpose of running unit tests (e.g. under UML or qemu). If
  22. unsure, say N.