@@ -41,11 +41,11 @@ config FORCE_DYNAMIC_FTRACE
41
41
depends on FUNCTION_TRACER
42
42
select DYNAMIC_FTRACE
43
43
help
44
- We keep the static function tracing (!DYNAMIC_FTRACE) around
45
- in order to test the non static function tracing in the
46
- generic code, as other architectures still use it. But we
47
- only need to keep it around for x86_64. No need to keep it
48
- for x86_32. For x86_32, force DYNAMIC_FTRACE.
44
+ We keep the static function tracing (!DYNAMIC_FTRACE) around
45
+ in order to test the non static function tracing in the
46
+ generic code, as other architectures still use it. But we
47
+ only need to keep it around for x86_64. No need to keep it
48
+ for x86_32. For x86_32, force DYNAMIC_FTRACE.
49
49
#
50
50
# Arch settings
51
51
#
@@ -394,9 +394,9 @@ config CC_HAS_SANE_STACKPROTECTOR
394
394
default $(success,$(srctree)/scripts/gcc-x86_64-has-stack-protector.sh $(CC)) if 64BIT
395
395
default $(success,$(srctree)/scripts/gcc-x86_32-has-stack-protector.sh $(CC))
396
396
help
397
- We have to make sure stack protector is unconditionally disabled if
398
- the compiler produces broken code or if it does not let us control
399
- the segment on 32-bit kernels.
397
+ We have to make sure stack protector is unconditionally disabled if
398
+ the compiler produces broken code or if it does not let us control
399
+ the segment on 32-bit kernels.
400
400
401
401
menu "Processor type and features"
402
402
@@ -532,7 +532,7 @@ config X86_EXTENDED_PLATFORM
532
532
533
533
If you have one of these systems, or if you want to build a
534
534
generic distribution kernel, say Y here - otherwise say N.
535
- endif
535
+ endif # X86_32
536
536
537
537
if X86_64
538
538
config X86_EXTENDED_PLATFORM
@@ -551,7 +551,7 @@ config X86_EXTENDED_PLATFORM
551
551
552
552
If you have one of these systems, or if you want to build a
553
553
generic distribution kernel, say Y here - otherwise say N.
554
- endif
554
+ endif # X86_64
555
555
# This is an alphabetically sorted list of 64 bit extended platforms
556
556
# Please maintain the alphabetic order if and when there are additions
557
557
config X86_NUMACHIP
@@ -599,9 +599,9 @@ config X86_GOLDFISH
599
599
bool "Goldfish (Virtual Platform)"
600
600
depends on X86_EXTENDED_PLATFORM
601
601
help
602
- Enable support for the Goldfish virtual platform used primarily
603
- for Android development. Unless you are building for the Android
604
- Goldfish emulator say N here.
602
+ Enable support for the Goldfish virtual platform used primarily
603
+ for Android development. Unless you are building for the Android
604
+ Goldfish emulator say N here.
605
605
606
606
config X86_INTEL_CE
607
607
bool "CE4100 TV platform"
@@ -900,7 +900,7 @@ config INTEL_TDX_GUEST
900
900
memory contents and CPU state. TDX guests are protected from
901
901
some attacks from the VMM.
902
902
903
- endif #HYPERVISOR_GUEST
903
+ endif # HYPERVISOR_GUEST
904
904
905
905
source "arch/x86/Kconfig.cpu"
906
906
@@ -1167,16 +1167,16 @@ config X86_MCE_INTEL
1167
1167
prompt "Intel MCE features"
1168
1168
depends on X86_MCE && X86_LOCAL_APIC
1169
1169
help
1170
- Additional support for intel specific MCE features such as
1171
- the thermal monitor.
1170
+ Additional support for intel specific MCE features such as
1171
+ the thermal monitor.
1172
1172
1173
1173
config X86_MCE_AMD
1174
1174
def_bool y
1175
1175
prompt "AMD MCE features"
1176
1176
depends on X86_MCE && X86_LOCAL_APIC && AMD_NB
1177
1177
help
1178
- Additional support for AMD specific MCE features such as
1179
- the DRAM Error Threshold.
1178
+ Additional support for AMD specific MCE features such as
1179
+ the DRAM Error Threshold.
1180
1180
1181
1181
config X86_ANCIENT_MCE
1182
1182
bool "Support for old Pentium 5 / WinChip machine checks"
@@ -1254,18 +1254,18 @@ config X86_VSYSCALL_EMULATION
1254
1254
default y
1255
1255
depends on X86_64
1256
1256
help
1257
- This enables emulation of the legacy vsyscall page. Disabling
1258
- it is roughly equivalent to booting with vsyscall=none, except
1259
- that it will also disable the helpful warning if a program
1260
- tries to use a vsyscall. With this option set to N, offending
1261
- programs will just segfault, citing addresses of the form
1262
- 0xffffffffff600?00.
1257
+ This enables emulation of the legacy vsyscall page. Disabling
1258
+ it is roughly equivalent to booting with vsyscall=none, except
1259
+ that it will also disable the helpful warning if a program
1260
+ tries to use a vsyscall. With this option set to N, offending
1261
+ programs will just segfault, citing addresses of the form
1262
+ 0xffffffffff600?00.
1263
1263
1264
- This option is required by many programs built before 2013, and
1265
- care should be used even with newer programs if set to N.
1264
+ This option is required by many programs built before 2013, and
1265
+ care should be used even with newer programs if set to N.
1266
1266
1267
- Disabling this option saves about 7K of kernel size and
1268
- possibly 4K of additional runtime pagetable memory.
1267
+ Disabling this option saves about 7K of kernel size and
1268
+ possibly 4K of additional runtime pagetable memory.
1269
1269
1270
1270
config X86_IOPL_IOPERM
1271
1271
bool "IOPERM and IOPL Emulation"
@@ -2002,15 +2002,15 @@ config EFI_MIXED
2002
2002
bool "EFI mixed-mode support"
2003
2003
depends on EFI_STUB && X86_64
2004
2004
help
2005
- Enabling this feature allows a 64-bit kernel to be booted
2006
- on a 32-bit firmware, provided that your CPU supports 64-bit
2007
- mode.
2005
+ Enabling this feature allows a 64-bit kernel to be booted
2006
+ on a 32-bit firmware, provided that your CPU supports 64-bit
2007
+ mode.
2008
2008
2009
- Note that it is not possible to boot a mixed-mode enabled
2010
- kernel via the EFI boot stub - a bootloader that supports
2011
- the EFI handover protocol must be used.
2009
+ Note that it is not possible to boot a mixed-mode enabled
2010
+ kernel via the EFI boot stub - a bootloader that supports
2011
+ the EFI handover protocol must be used.
2012
2012
2013
- If unsure, say N.
2013
+ If unsure, say N.
2014
2014
2015
2015
source "kernel/Kconfig.hz"
2016
2016
@@ -2235,16 +2235,16 @@ config RANDOMIZE_MEMORY
2235
2235
select DYNAMIC_MEMORY_LAYOUT
2236
2236
default RANDOMIZE_BASE
2237
2237
help
2238
- Randomizes the base virtual address of kernel memory sections
2239
- (physical memory mapping, vmalloc & vmemmap). This security feature
2240
- makes exploits relying on predictable memory locations less reliable.
2238
+ Randomizes the base virtual address of kernel memory sections
2239
+ (physical memory mapping, vmalloc & vmemmap). This security feature
2240
+ makes exploits relying on predictable memory locations less reliable.
2241
2241
2242
- The order of allocations remains unchanged. Entropy is generated in
2243
- the same way as RANDOMIZE_BASE. Current implementation in the optimal
2244
- configuration have in average 30,000 different possible virtual
2245
- addresses for each memory section.
2242
+ The order of allocations remains unchanged. Entropy is generated in
2243
+ the same way as RANDOMIZE_BASE. Current implementation in the optimal
2244
+ configuration have in average 30,000 different possible virtual
2245
+ addresses for each memory section.
2246
2246
2247
- If unsure, say Y.
2247
+ If unsure, say Y.
2248
2248
2249
2249
config RANDOMIZE_MEMORY_PHYSICAL_PADDING
2250
2250
hex "Physical memory mapping padding" if EXPERT
@@ -2254,12 +2254,12 @@ config RANDOMIZE_MEMORY_PHYSICAL_PADDING
2254
2254
range 0x1 0x40 if MEMORY_HOTPLUG
2255
2255
range 0x0 0x40
2256
2256
help
2257
- Define the padding in terabytes added to the existing physical
2258
- memory size during kernel memory randomization. It is useful
2259
- for memory hotplug support but reduces the entropy available for
2260
- address randomization.
2257
+ Define the padding in terabytes added to the existing physical
2258
+ memory size during kernel memory randomization. It is useful
2259
+ for memory hotplug support but reduces the entropy available for
2260
+ address randomization.
2261
2261
2262
- If unsure, leave at the default value.
2262
+ If unsure, leave at the default value.
2263
2263
2264
2264
config HOTPLUG_CPU
2265
2265
def_bool y
@@ -2606,7 +2606,6 @@ source "drivers/idle/Kconfig"
2606
2606
2607
2607
endmenu
2608
2608
2609
-
2610
2609
menu "Bus options (PCI etc.)"
2611
2610
2612
2611
choice
@@ -2830,7 +2829,6 @@ config AMD_NB
2830
2829
2831
2830
endmenu
2832
2831
2833
-
2834
2832
menu "Binary Emulations"
2835
2833
2836
2834
config IA32_EMULATION
@@ -2868,14 +2866,12 @@ config COMPAT
2868
2866
def_bool y
2869
2867
depends on IA32_EMULATION || X86_X32_ABI
2870
2868
2871
- if COMPAT
2872
2869
config COMPAT_FOR_U64_ALIGNMENT
2873
2870
def_bool y
2874
- endif
2871
+ depends on COMPAT
2875
2872
2876
2873
endmenu
2877
2874
2878
-
2879
2875
config HAVE_ATOMIC_IOMAP
2880
2876
def_bool y
2881
2877
depends on X86_32
0 commit comments