From: Vladis Dronov <[email protected]>

[redhat] Provide CONFIG_X86_SGX for x86_64 only

SGX is officially x86_64-only and config X86_SGX depends on X86_64 in Kconfig.
Link: https://github.com/intel/linux-sgx/#prerequisites

Signed-off-by: Vladis Dronov <[email protected]>

diff a/redhat/configs/common/generic/CONFIG_X86_SGX 
b/redhat/configs/common/generic/x86/x86_64/CONFIG_X86_SGX
--- a/redhat/configs/common/generic/CONFIG_X86_SGX
+++ b/redhat/configs/common/generic/x86/x86_64/CONFIG_X86_SGX
diff a/redhat/configs/fedora/generic/CONFIG_X86_SGX 
b/redhat/configs/fedora/generic/CONFIG_X86_SGX
--- a/redhat/configs/fedora/generic/CONFIG_X86_SGX
+++ /dev/null
@@ -1,23 +0,0 @@
-# CONFIG_X86_SGX:
-# 
-# Intel(R) Software Guard eXtensions (SGX) is a set of CPU instructions
-# that can be used by applications to set aside private regions of code
-# and data, referred to as enclaves. An enclave's private memory can
-# only be accessed by code running within the enclave. Accesses from
-# outside the enclave, including other enclaves, are disallowed by
-# hardware.
-# 
-# If unsure, say N.
-# 
-# Symbol: X86_SGX [=n]
-# Type  : bool
-# Defined at arch/x86/Kconfig:1937
-#   Prompt: Software Guard eXtensions (SGX)
-#   Depends on: X86_64 [=y] && CPU_SUP_INTEL [=y] && CRYPTO [=y]=y && 
CRYPTO_SHA256 [=y]=y
-#   Location:
-#     -> Processor type and features
-# Selects: SRCU [=y] && MMU_NOTIFIER [=y]
-# 
-# 
-# 
-CONFIG_X86_SGX=y

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/947
_______________________________________________
kernel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to