Kconfig (4383cfa18c5bbc5b9b6a9e77adc12aec1c20b72d) Kconfig (20f07a044a76aebaaa0603038857229b5c460d69)
1# SPDX-License-Identifier: GPL-2.0
2# Select 32 or 64 bit
3config 64BIT
4 bool "64-bit kernel" if "$(ARCH)" = "x86"
5 default "$(ARCH)" != "i386"
6 help
7 Say yes to build a 64-bit kernel - formerly known as x86_64
8 Say no to build a 32-bit kernel - formerly known as i386

--- 179 unchanged lines hidden (view full) ---

188 select HAVE_OBJTOOL_MCOUNT if STACK_VALIDATION
189 select HAVE_DEBUG_KMEMLEAK
190 select HAVE_DMA_CONTIGUOUS
191 select HAVE_DYNAMIC_FTRACE
192 select HAVE_DYNAMIC_FTRACE_WITH_REGS
193 select HAVE_DYNAMIC_FTRACE_WITH_ARGS if X86_64
194 select HAVE_DYNAMIC_FTRACE_WITH_DIRECT_CALLS
195 select HAVE_SAMPLE_FTRACE_DIRECT if X86_64
1# SPDX-License-Identifier: GPL-2.0
2# Select 32 or 64 bit
3config 64BIT
4 bool "64-bit kernel" if "$(ARCH)" = "x86"
5 default "$(ARCH)" != "i386"
6 help
7 Say yes to build a 64-bit kernel - formerly known as x86_64
8 Say no to build a 32-bit kernel - formerly known as i386

--- 179 unchanged lines hidden (view full) ---

188 select HAVE_OBJTOOL_MCOUNT if STACK_VALIDATION
189 select HAVE_DEBUG_KMEMLEAK
190 select HAVE_DMA_CONTIGUOUS
191 select HAVE_DYNAMIC_FTRACE
192 select HAVE_DYNAMIC_FTRACE_WITH_REGS
193 select HAVE_DYNAMIC_FTRACE_WITH_ARGS if X86_64
194 select HAVE_DYNAMIC_FTRACE_WITH_DIRECT_CALLS
195 select HAVE_SAMPLE_FTRACE_DIRECT if X86_64
196 select HAVE_SAMPLE_FTRACE_DIRECT_MULTI if X86_64
196 select HAVE_SAMPLE_FTRACE_MULTI_DIRECT if X86_64
197 select HAVE_EBPF_JIT
198 select HAVE_EFFICIENT_UNALIGNED_ACCESS
199 select HAVE_EISA
200 select HAVE_EXIT_THREAD
201 select HAVE_FAST_GUP
202 select HAVE_FENTRY if X86_64 || DYNAMIC_FTRACE
203 select HAVE_FTRACE_MCOUNT_RECORD
204 select HAVE_FUNCTION_GRAPH_TRACER if X86_32 || (X86_64 && DYNAMIC_FTRACE)

--- 1313 unchanged lines hidden (view full) ---

1518config X86_CPA_STATISTICS
1519 bool "Enable statistic for Change Page Attribute"
1520 depends on DEBUG_FS
1521 help
1522 Expose statistics about the Change Page Attribute mechanism, which
1523 helps to determine the effectiveness of preserving large and huge
1524 page mappings when mapping protections are changed.
1525
197 select HAVE_EBPF_JIT
198 select HAVE_EFFICIENT_UNALIGNED_ACCESS
199 select HAVE_EISA
200 select HAVE_EXIT_THREAD
201 select HAVE_FAST_GUP
202 select HAVE_FENTRY if X86_64 || DYNAMIC_FTRACE
203 select HAVE_FTRACE_MCOUNT_RECORD
204 select HAVE_FUNCTION_GRAPH_TRACER if X86_32 || (X86_64 && DYNAMIC_FTRACE)

--- 1313 unchanged lines hidden (view full) ---

1518config X86_CPA_STATISTICS
1519 bool "Enable statistic for Change Page Attribute"
1520 depends on DEBUG_FS
1521 help
1522 Expose statistics about the Change Page Attribute mechanism, which
1523 helps to determine the effectiveness of preserving large and huge
1524 page mappings when mapping protections are changed.
1525
1526config X86_MEM_ENCRYPT
1527 select ARCH_HAS_FORCE_DMA_UNENCRYPTED
1528 select DYNAMIC_PHYSICAL_MASK
1529 select ARCH_HAS_RESTRICTED_VIRTIO_MEMORY_ACCESS
1530 def_bool n
1531
1526config AMD_MEM_ENCRYPT
1527 bool "AMD Secure Memory Encryption (SME) support"
1528 depends on X86_64 && CPU_SUP_AMD
1529 select DMA_COHERENT_POOL
1532config AMD_MEM_ENCRYPT
1533 bool "AMD Secure Memory Encryption (SME) support"
1534 depends on X86_64 && CPU_SUP_AMD
1535 select DMA_COHERENT_POOL
1530 select DYNAMIC_PHYSICAL_MASK
1531 select ARCH_USE_MEMREMAP_PROT
1536 select ARCH_USE_MEMREMAP_PROT
1532 select ARCH_HAS_FORCE_DMA_UNENCRYPTED
1533 select INSTRUCTION_DECODER
1537 select INSTRUCTION_DECODER
1534 select ARCH_HAS_RESTRICTED_VIRTIO_MEMORY_ACCESS
1535 select ARCH_HAS_CC_PLATFORM
1538 select ARCH_HAS_CC_PLATFORM
1539 select X86_MEM_ENCRYPT
1536 help
1537 Say yes to enable support for the encryption of system memory.
1538 This requires an AMD processor that supports Secure Memory
1539 Encryption (SME).
1540
1541config AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT
1542 bool "Activate AMD Secure Memory Encryption (SME) by default"
1543 depends on AMD_MEM_ENCRYPT

--- 1324 unchanged lines hidden ---
1540 help
1541 Say yes to enable support for the encryption of system memory.
1542 This requires an AMD processor that supports Secure Memory
1543 Encryption (SME).
1544
1545config AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT
1546 bool "Activate AMD Secure Memory Encryption (SME) by default"
1547 depends on AMD_MEM_ENCRYPT

--- 1324 unchanged lines hidden ---