aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig66
1 files changed, 55 insertions, 11 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index efb42949cc09..6c14ecd851d0 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -26,6 +26,8 @@ config X86
26 select HAVE_IOREMAP_PROT 26 select HAVE_IOREMAP_PROT
27 select HAVE_KPROBES 27 select HAVE_KPROBES
28 select HAVE_MEMBLOCK 28 select HAVE_MEMBLOCK
29 select HAVE_MEMBLOCK_NODE_MAP
30 select ARCH_DISCARD_MEMBLOCK
29 select ARCH_WANT_OPTIONAL_GPIOLIB 31 select ARCH_WANT_OPTIONAL_GPIOLIB
30 select ARCH_WANT_FRAME_POINTERS 32 select ARCH_WANT_FRAME_POINTERS
31 select HAVE_DMA_ATTRS 33 select HAVE_DMA_ATTRS
@@ -58,8 +60,12 @@ config X86
58 select PERF_EVENTS 60 select PERF_EVENTS
59 select HAVE_PERF_EVENTS_NMI 61 select HAVE_PERF_EVENTS_NMI
60 select ANON_INODES 62 select ANON_INODES
63 select HAVE_ALIGNED_STRUCT_PAGE if SLUB && !M386
64 select HAVE_CMPXCHG_LOCAL if !M386
65 select HAVE_CMPXCHG_DOUBLE
61 select HAVE_ARCH_KMEMCHECK 66 select HAVE_ARCH_KMEMCHECK
62 select HAVE_USER_RETURN_NOTIFIER 67 select HAVE_USER_RETURN_NOTIFIER
68 select ARCH_BINFMT_ELF_RANDOMIZE_PIE
63 select HAVE_ARCH_JUMP_LABEL 69 select HAVE_ARCH_JUMP_LABEL
64 select HAVE_TEXT_POKE_SMP 70 select HAVE_TEXT_POKE_SMP
65 select HAVE_GENERIC_HARDIRQS 71 select HAVE_GENERIC_HARDIRQS
@@ -75,6 +81,7 @@ config X86
75 select HAVE_BPF_JIT if (X86_64 && NET) 81 select HAVE_BPF_JIT if (X86_64 && NET)
76 select CLKEVT_I8253 82 select CLKEVT_I8253
77 select ARCH_HAVE_NMI_SAFE_CMPXCHG 83 select ARCH_HAVE_NMI_SAFE_CMPXCHG
84 select GENERIC_IOMAP
78 85
79config INSTRUCTION_DECODER 86config INSTRUCTION_DECODER
80 def_bool (KPROBES || PERF_EVENTS) 87 def_bool (KPROBES || PERF_EVENTS)
@@ -140,9 +147,6 @@ config NEED_SG_DMA_LENGTH
140config GENERIC_ISA_DMA 147config GENERIC_ISA_DMA
141 def_bool ISA_DMA_API 148 def_bool ISA_DMA_API
142 149
143config GENERIC_IOMAP
144 def_bool y
145
146config GENERIC_BUG 150config GENERIC_BUG
147 def_bool y 151 def_bool y
148 depends on BUG 152 depends on BUG
@@ -204,9 +208,6 @@ config ZONE_DMA32
204 bool 208 bool
205 default X86_64 209 default X86_64
206 210
207config ARCH_POPULATES_NODE_MAP
208 def_bool y
209
210config AUDIT_ARCH 211config AUDIT_ARCH
211 bool 212 bool
212 default X86_64 213 default X86_64
@@ -343,6 +344,7 @@ config X86_EXTENDED_PLATFORM
343 344
344 If you enable this option then you'll be able to select support 345 If you enable this option then you'll be able to select support
345 for the following (non-PC) 64 bit x86 platforms: 346 for the following (non-PC) 64 bit x86 platforms:
347 Numascale NumaChip
346 ScaleMP vSMP 348 ScaleMP vSMP
347 SGI Ultraviolet 349 SGI Ultraviolet
348 350
@@ -351,6 +353,18 @@ config X86_EXTENDED_PLATFORM
351endif 353endif
352# This is an alphabetically sorted list of 64 bit extended platforms 354# This is an alphabetically sorted list of 64 bit extended platforms
353# Please maintain the alphabetic order if and when there are additions 355# Please maintain the alphabetic order if and when there are additions
356config X86_NUMACHIP
357 bool "Numascale NumaChip"
358 depends on X86_64
359 depends on X86_EXTENDED_PLATFORM
360 depends on NUMA
361 depends on SMP
362 depends on X86_X2APIC
363 depends on !EDAC_AMD64
364 ---help---
365 Adds support for Numascale NumaChip large-SMP systems. Needed to
366 enable more than ~168 cores.
367 If you don't have one of these, you should say N here.
354 368
355config X86_VSMP 369config X86_VSMP
356 bool "ScaleMP vSMP" 370 bool "ScaleMP vSMP"
@@ -409,12 +423,14 @@ config X86_MRST
409 depends on PCI 423 depends on PCI
410 depends on PCI_GOANY 424 depends on PCI_GOANY
411 depends on X86_IO_APIC 425 depends on X86_IO_APIC
426 select X86_INTEL_MID
427 select SFI
428 select DW_APB_TIMER
412 select APB_TIMER 429 select APB_TIMER
413 select I2C 430 select I2C
414 select SPI 431 select SPI
415 select INTEL_SCU_IPC 432 select INTEL_SCU_IPC
416 select X86_PLATFORM_DEVICES 433 select X86_PLATFORM_DEVICES
417 select X86_INTEL_MID
418 ---help--- 434 ---help---
419 Moorestown is Intel's Low Power Intel Architecture (LPIA) based Moblin 435 Moorestown is Intel's Low Power Intel Architecture (LPIA) based Moblin
420 Internet Device(MID) platform. Moorestown consists of two chips: 436 Internet Device(MID) platform. Moorestown consists of two chips:
@@ -423,6 +439,26 @@ config X86_MRST
423 nor standard legacy replacement devices/features. e.g. Moorestown does 439 nor standard legacy replacement devices/features. e.g. Moorestown does
424 not contain i8259, i8254, HPET, legacy BIOS, most of the io ports. 440 not contain i8259, i8254, HPET, legacy BIOS, most of the io ports.
425 441
442config X86_MDFLD
443 bool "Medfield MID platform"
444 depends on PCI
445 depends on PCI_GOANY
446 depends on X86_IO_APIC
447 select X86_INTEL_MID
448 select SFI
449 select DW_APB_TIMER
450 select APB_TIMER
451 select I2C
452 select SPI
453 select INTEL_SCU_IPC
454 select X86_PLATFORM_DEVICES
455 ---help---
456 Medfield is Intel's Low Power Intel Architecture (LPIA) based Moblin
457 Internet Device(MID) platform.
458 Unlike standard x86 PCs, Medfield does not have many legacy devices
459 nor standard legacy replacement devices/features. e.g. Medfield does
460 not contain i8259, i8254, HPET, legacy BIOS, most of the io ports.
461
426endif 462endif
427 463
428config X86_RDC321X 464config X86_RDC321X
@@ -620,7 +656,7 @@ config X86_SUMMIT_NUMA
620 656
621config X86_CYCLONE_TIMER 657config X86_CYCLONE_TIMER
622 def_bool y 658 def_bool y
623 depends on X86_32_NON_STANDARD 659 depends on X86_SUMMIT
624 660
625source "arch/x86/Kconfig.cpu" 661source "arch/x86/Kconfig.cpu"
626 662
@@ -648,9 +684,10 @@ config HPET_EMULATE_RTC
648 depends on HPET_TIMER && (RTC=y || RTC=m || RTC_DRV_CMOS=m || RTC_DRV_CMOS=y) 684 depends on HPET_TIMER && (RTC=y || RTC=m || RTC_DRV_CMOS=m || RTC_DRV_CMOS=y)
649 685
650config APB_TIMER 686config APB_TIMER
651 def_bool y if MRST 687 def_bool y if X86_INTEL_MID
652 prompt "Langwell APB Timer Support" if X86_MRST 688 prompt "Intel MID APB Timer Support" if X86_INTEL_MID
653 select DW_APB_TIMER 689 select DW_APB_TIMER
690 depends on X86_INTEL_MID && SFI
654 help 691 help
655 APB timer is the replacement for 8254, HPET on X86 MID platforms. 692 APB timer is the replacement for 8254, HPET on X86 MID platforms.
656 The APBT provides a stable time base on SMP 693 The APBT provides a stable time base on SMP
@@ -1478,6 +1515,13 @@ config EFI
1478 resultant kernel should continue to boot on existing non-EFI 1515 resultant kernel should continue to boot on existing non-EFI
1479 platforms. 1516 platforms.
1480 1517
1518config EFI_STUB
1519 bool "EFI stub support"
1520 depends on EFI
1521 ---help---
1522 This kernel feature allows a bzImage to be loaded directly
1523 by EFI firmware without the use of a bootloader.
1524
1481config SECCOMP 1525config SECCOMP
1482 def_bool y 1526 def_bool y
1483 prompt "Enable seccomp to safely compute untrusted bytecode" 1527 prompt "Enable seccomp to safely compute untrusted bytecode"
@@ -1730,7 +1774,7 @@ source "drivers/sfi/Kconfig"
1730 1774
1731config X86_APM_BOOT 1775config X86_APM_BOOT
1732 def_bool y 1776 def_bool y
1733 depends on APM || APM_MODULE 1777 depends on APM
1734 1778
1735menuconfig APM 1779menuconfig APM
1736 tristate "APM (Advanced Power Management) BIOS support" 1780 tristate "APM (Advanced Power Management) BIOS support"