Kconfig (e548833df83c3554229eff0672900bfe958b45fd) | Kconfig (838a2e55e6a4e9e8a10451ed2ef0f7a08dabdb04) |
---|---|
1# x86 configuration 2mainmenu "Linux Kernel Configuration for x86" 3 | |
4# Select 32 or 64 bit 5config 64BIT 6 bool "64-bit kernel" if ARCH = "x86" 7 default ARCH = "x86_64" 8 ---help--- 9 Say yes to build a 64-bit kernel - formerly known as x86_64 10 Say no to build a 32-bit kernel - formerly known as i386 11 --- 38 unchanged lines hidden (view full) --- 50 select HAVE_DMA_API_DEBUG 51 select HAVE_KERNEL_GZIP 52 select HAVE_KERNEL_BZIP2 53 select HAVE_KERNEL_LZMA 54 select HAVE_KERNEL_LZO 55 select HAVE_HW_BREAKPOINT 56 select HAVE_MIXED_BREAKPOINTS_REGS 57 select PERF_EVENTS | 1# Select 32 or 64 bit 2config 64BIT 3 bool "64-bit kernel" if ARCH = "x86" 4 default ARCH = "x86_64" 5 ---help--- 6 Say yes to build a 64-bit kernel - formerly known as x86_64 7 Say no to build a 32-bit kernel - formerly known as i386 8 --- 38 unchanged lines hidden (view full) --- 47 select HAVE_DMA_API_DEBUG 48 select HAVE_KERNEL_GZIP 49 select HAVE_KERNEL_BZIP2 50 select HAVE_KERNEL_LZMA 51 select HAVE_KERNEL_LZO 52 select HAVE_HW_BREAKPOINT 53 select HAVE_MIXED_BREAKPOINTS_REGS 54 select PERF_EVENTS |
58 select HAVE_PERF_EVENTS_NMI | |
59 select ANON_INODES 60 select HAVE_ARCH_KMEMCHECK 61 select HAVE_USER_RETURN_NOTIFIER 62 63config INSTRUCTION_DECODER 64 def_bool (KPROBES || PERF_EVENTS) 65 66config OUTPUT_FORMAT 67 string 68 default "elf32-i386" if X86_32 69 default "elf64-x86-64" if X86_64 70 71config ARCH_DEFCONFIG 72 string 73 default "arch/x86/configs/i386_defconfig" if X86_32 74 default "arch/x86/configs/x86_64_defconfig" if X86_64 75 | 55 select ANON_INODES 56 select HAVE_ARCH_KMEMCHECK 57 select HAVE_USER_RETURN_NOTIFIER 58 59config INSTRUCTION_DECODER 60 def_bool (KPROBES || PERF_EVENTS) 61 62config OUTPUT_FORMAT 63 string 64 default "elf32-i386" if X86_32 65 default "elf64-x86-64" if X86_64 66 67config ARCH_DEFCONFIG 68 string 69 default "arch/x86/configs/i386_defconfig" if X86_32 70 default "arch/x86/configs/x86_64_defconfig" if X86_64 71 |
72config GENERIC_TIME 73 def_bool y 74 |
|
76config GENERIC_CMOS_UPDATE 77 def_bool y 78 79config CLOCKSOURCE_WATCHDOG 80 def_bool y 81 82config GENERIC_CLOCKEVENTS 83 def_bool y --- 156 unchanged lines hidden (view full) --- 240 241config ARCH_HWEIGHT_CFLAGS 242 string 243 default "-fcall-saved-ecx -fcall-saved-edx" if X86_32 244 default "-fcall-saved-rdi -fcall-saved-rsi -fcall-saved-rdx -fcall-saved-rcx -fcall-saved-r8 -fcall-saved-r9 -fcall-saved-r10 -fcall-saved-r11" if X86_64 245 246config KTIME_SCALAR 247 def_bool X86_32 | 75config GENERIC_CMOS_UPDATE 76 def_bool y 77 78config CLOCKSOURCE_WATCHDOG 79 def_bool y 80 81config GENERIC_CLOCKEVENTS 82 def_bool y --- 156 unchanged lines hidden (view full) --- 239 240config ARCH_HWEIGHT_CFLAGS 241 string 242 default "-fcall-saved-ecx -fcall-saved-edx" if X86_32 243 default "-fcall-saved-rdi -fcall-saved-rsi -fcall-saved-rdx -fcall-saved-rcx -fcall-saved-r8 -fcall-saved-r9 -fcall-saved-r10 -fcall-saved-r11" if X86_64 244 245config KTIME_SCALAR 246 def_bool X86_32 |
248 249config ARCH_CPU_PROBE_RELEASE 250 def_bool y 251 depends on HOTPLUG_CPU 252 | |
253source "init/Kconfig" 254source "kernel/Kconfig.freezer" 255 256menu "Processor type and features" 257 258source "kernel/time/Kconfig" 259 260config SMP --- 488 unchanged lines hidden (view full) --- 749 750config IOMMU_HELPER 751 def_bool (CALGARY_IOMMU || GART_IOMMU || SWIOTLB || AMD_IOMMU) 752 753config IOMMU_API 754 def_bool (AMD_IOMMU || DMAR) 755 756config MAXSMP | 247source "init/Kconfig" 248source "kernel/Kconfig.freezer" 249 250menu "Processor type and features" 251 252source "kernel/time/Kconfig" 253 254config SMP --- 488 unchanged lines hidden (view full) --- 743 744config IOMMU_HELPER 745 def_bool (CALGARY_IOMMU || GART_IOMMU || SWIOTLB || AMD_IOMMU) 746 747config IOMMU_API 748 def_bool (AMD_IOMMU || DMAR) 749 750config MAXSMP |
757 bool "Enable Maximum number of SMP Processors and NUMA Nodes" | 751 bool "Configure Maximum number of SMP Processors and NUMA Nodes" |
758 depends on X86_64 && SMP && DEBUG_KERNEL && EXPERIMENTAL 759 select CPUMASK_OFFSTACK 760 ---help--- | 752 depends on X86_64 && SMP && DEBUG_KERNEL && EXPERIMENTAL 753 select CPUMASK_OFFSTACK 754 ---help--- |
761 Enable maximum number of CPUS and NUMA Nodes for this architecture. | 755 Configure maximum number of CPUS and NUMA Nodes for this architecture. |
762 If unsure, say N. 763 764config NR_CPUS 765 int "Maximum number of CPUs" if SMP && !MAXSMP 766 range 2 8 if SMP && X86_32 && !X86_BIGSMP 767 range 2 512 if SMP && !MAXSMP 768 default "1" if !SMP 769 default "4096" if MAXSMP --- 1274 unchanged lines hidden (view full) --- 2044 (now AMD's) Geode processors. The driver probes for the 2045 PCI-IDs of several on-chip devices, so its a good dependency 2046 for other scx200_* drivers. 2047 2048 If compiled as a module, the driver is named scx200. 2049 2050config SCx200HR_TIMER 2051 tristate "NatSemi SCx200 27MHz High-Resolution Timer Support" | 756 If unsure, say N. 757 758config NR_CPUS 759 int "Maximum number of CPUs" if SMP && !MAXSMP 760 range 2 8 if SMP && X86_32 && !X86_BIGSMP 761 range 2 512 if SMP && !MAXSMP 762 default "1" if !SMP 763 default "4096" if MAXSMP --- 1274 unchanged lines hidden (view full) --- 2038 (now AMD's) Geode processors. The driver probes for the 2039 PCI-IDs of several on-chip devices, so its a good dependency 2040 for other scx200_* drivers. 2041 2042 If compiled as a module, the driver is named scx200. 2043 2044config SCx200HR_TIMER 2045 tristate "NatSemi SCx200 27MHz High-Resolution Timer Support" |
2052 depends on SCx200 | 2046 depends on SCx200 && GENERIC_TIME |
2053 default y 2054 ---help--- 2055 This driver provides a clocksource built upon the on-chip 2056 27MHz high-resolution timer. Its also a workaround for 2057 NSC Geode SC-1100's buggy TSC, which loses time when the 2058 processor goes idle (as is done by the scheduler). The 2059 other workaround is idle=poll boot option. 2060 2061config OLPC 2062 bool "One Laptop Per Child support" 2063 select GPIOLIB 2064 ---help--- 2065 Add support for detecting the unique features of the OLPC 2066 XO hardware. 2067 | 2047 default y 2048 ---help--- 2049 This driver provides a clocksource built upon the on-chip 2050 27MHz high-resolution timer. Its also a workaround for 2051 NSC Geode SC-1100's buggy TSC, which loses time when the 2052 processor goes idle (as is done by the scheduler). The 2053 other workaround is idle=poll boot option. 2054 2055config OLPC 2056 bool "One Laptop Per Child support" 2057 select GPIOLIB 2058 ---help--- 2059 Add support for detecting the unique features of the OLPC 2060 XO hardware. 2061 |
2068config OLPC_OPENFIRMWARE 2069 bool "Support for OLPC's Open Firmware" 2070 depends on !X86_64 && !X86_PAE 2071 default y if OLPC 2072 help 2073 This option adds support for the implementation of Open Firmware 2074 that is used on the OLPC XO-1 Children's Machine. 2075 If unsure, say N here. 2076 | |
2077endif # X86_32 2078 2079config K8_NB 2080 def_bool y 2081 depends on CPU_SUP_AMD && PCI 2082 2083source "drivers/pcmcia/Kconfig" 2084 --- 60 unchanged lines hidden --- | 2062endif # X86_32 2063 2064config K8_NB 2065 def_bool y 2066 depends on CPU_SUP_AMD && PCI 2067 2068source "drivers/pcmcia/Kconfig" 2069 --- 60 unchanged lines hidden --- |