aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig95
1 files changed, 48 insertions, 47 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 70c0f3da0476..5db2117ae288 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -20,6 +20,7 @@ config X86_64
20### Arch settings 20### Arch settings
21config X86 21config X86
22 def_bool y 22 def_bool y
23 select ARCH_HAS_DEBUG_STRICT_USER_COPY_CHECKS
23 select HAVE_AOUT if X86_32 24 select HAVE_AOUT if X86_32
24 select HAVE_UNSTABLE_SCHED_CLOCK 25 select HAVE_UNSTABLE_SCHED_CLOCK
25 select ARCH_SUPPORTS_NUMA_BALANCING 26 select ARCH_SUPPORTS_NUMA_BALANCING
@@ -120,6 +121,7 @@ config X86
120 select OLD_SIGSUSPEND3 if X86_32 || IA32_EMULATION 121 select OLD_SIGSUSPEND3 if X86_32 || IA32_EMULATION
121 select OLD_SIGACTION if X86_32 122 select OLD_SIGACTION if X86_32
122 select COMPAT_OLD_SIGACTION if IA32_EMULATION 123 select COMPAT_OLD_SIGACTION if IA32_EMULATION
124 select RTC_LIB
123 125
124config INSTRUCTION_DECODER 126config INSTRUCTION_DECODER
125 def_bool y 127 def_bool y
@@ -188,9 +190,6 @@ config GENERIC_CALIBRATE_DELAY
188config ARCH_HAS_CPU_RELAX 190config ARCH_HAS_CPU_RELAX
189 def_bool y 191 def_bool y
190 192
191config ARCH_HAS_DEFAULT_IDLE
192 def_bool y
193
194config ARCH_HAS_CACHE_LINE_SIZE 193config ARCH_HAS_CACHE_LINE_SIZE
195 def_bool y 194 def_bool y
196 195
@@ -389,7 +388,7 @@ config X86_NUMACHIP
389 388
390config X86_VSMP 389config X86_VSMP
391 bool "ScaleMP vSMP" 390 bool "ScaleMP vSMP"
392 select PARAVIRT_GUEST 391 select HYPERVISOR_GUEST
393 select PARAVIRT 392 select PARAVIRT
394 depends on X86_64 && PCI 393 depends on X86_64 && PCI
395 depends on X86_EXTENDED_PLATFORM 394 depends on X86_EXTENDED_PLATFORM
@@ -596,44 +595,17 @@ config SCHED_OMIT_FRAME_POINTER
596 595
597 If in doubt, say "Y". 596 If in doubt, say "Y".
598 597
599menuconfig PARAVIRT_GUEST 598menuconfig HYPERVISOR_GUEST
600 bool "Paravirtualized guest support" 599 bool "Linux guest support"
601 ---help---
602 Say Y here to get to see options related to running Linux under
603 various hypervisors. This option alone does not add any kernel code.
604
605 If you say N, all options in this submenu will be skipped and disabled.
606
607if PARAVIRT_GUEST
608
609config PARAVIRT_TIME_ACCOUNTING
610 bool "Paravirtual steal time accounting"
611 select PARAVIRT
612 default n
613 ---help--- 600 ---help---
614 Select this option to enable fine granularity task steal time 601 Say Y here to enable options for running Linux under various hyper-
615 accounting. Time spent executing other tasks in parallel with 602 visors. This option enables basic hypervisor detection and platform
616 the current vCPU is discounted from the vCPU power. To account for 603 setup.
617 that, there can be a small performance impact.
618
619 If in doubt, say N here.
620
621source "arch/x86/xen/Kconfig"
622 604
623config KVM_GUEST 605 If you say N, all options in this submenu will be skipped and
624 bool "KVM Guest support (including kvmclock)" 606 disabled, and Linux guest support won't be built in.
625 select PARAVIRT
626 select PARAVIRT
627 select PARAVIRT_CLOCK
628 default y if PARAVIRT_GUEST
629 ---help---
630 This option enables various optimizations for running under the KVM
631 hypervisor. It includes a paravirtualized clock, so that instead
632 of relying on a PIT (or probably other) emulation by the
633 underlying device model, the host provides the guest with
634 timing infrastructure such as time of day, and system time
635 607
636source "arch/x86/lguest/Kconfig" 608if HYPERVISOR_GUEST
637 609
638config PARAVIRT 610config PARAVIRT
639 bool "Enable paravirtualization code" 611 bool "Enable paravirtualization code"
@@ -643,6 +615,13 @@ config PARAVIRT
643 over full virtualization. However, when run without a hypervisor 615 over full virtualization. However, when run without a hypervisor
644 the kernel is theoretically slower and slightly larger. 616 the kernel is theoretically slower and slightly larger.
645 617
618config PARAVIRT_DEBUG
619 bool "paravirt-ops debugging"
620 depends on PARAVIRT && DEBUG_KERNEL
621 ---help---
622 Enable to debug paravirt_ops internals. Specifically, BUG if
623 a paravirt_op is missing when it is called.
624
646config PARAVIRT_SPINLOCKS 625config PARAVIRT_SPINLOCKS
647 bool "Paravirtualization layer for spinlocks" 626 bool "Paravirtualization layer for spinlocks"
648 depends on PARAVIRT && SMP 627 depends on PARAVIRT && SMP
@@ -656,17 +635,38 @@ config PARAVIRT_SPINLOCKS
656 635
657 If you are unsure how to answer this question, answer N. 636 If you are unsure how to answer this question, answer N.
658 637
659config PARAVIRT_CLOCK 638source "arch/x86/xen/Kconfig"
660 bool
661 639
662endif 640config KVM_GUEST
641 bool "KVM Guest support (including kvmclock)"
642 depends on PARAVIRT
643 select PARAVIRT_CLOCK
644 default y
645 ---help---
646 This option enables various optimizations for running under the KVM
647 hypervisor. It includes a paravirtualized clock, so that instead
648 of relying on a PIT (or probably other) emulation by the
649 underlying device model, the host provides the guest with
650 timing infrastructure such as time of day, and system time
663 651
664config PARAVIRT_DEBUG 652source "arch/x86/lguest/Kconfig"
665 bool "paravirt-ops debugging" 653
666 depends on PARAVIRT && DEBUG_KERNEL 654config PARAVIRT_TIME_ACCOUNTING
655 bool "Paravirtual steal time accounting"
656 depends on PARAVIRT
657 default n
667 ---help--- 658 ---help---
668 Enable to debug paravirt_ops internals. Specifically, BUG if 659 Select this option to enable fine granularity task steal time
669 a paravirt_op is missing when it is called. 660 accounting. Time spent executing other tasks in parallel with
661 the current vCPU is discounted from the vCPU power. To account for
662 that, there can be a small performance impact.
663
664 If in doubt, say N here.
665
666config PARAVIRT_CLOCK
667 bool
668
669endif #HYPERVISOR_GUEST
670 670
671config NO_BOOTMEM 671config NO_BOOTMEM
672 def_bool y 672 def_bool y
@@ -1549,6 +1549,7 @@ config X86_SMAP
1549config EFI 1549config EFI
1550 bool "EFI runtime service support" 1550 bool "EFI runtime service support"
1551 depends on ACPI 1551 depends on ACPI
1552 select UCS2_STRING
1552 ---help--- 1553 ---help---
1553 This enables the kernel to use EFI runtime services that are 1554 This enables the kernel to use EFI runtime services that are
1554 available (such as the EFI variable services). 1555 available (such as the EFI variable services).