aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-18 12:37:14 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-18 12:37:14 -0500
commitb2b062b8163391c42b3219d466ca1ac9742b9c7b (patch)
treef3f920c09b8de694b1bc1d4b878cfd2b0b98c913 /arch/x86/Kconfig
parenta9de18eb761f7c1c860964b2e5addc1a35c7e861 (diff)
parent99937d6455cea95405ac681c86a857d0fcd530bd (diff)
Merge branch 'core/percpu' into stackprotector
Conflicts: arch/x86/include/asm/pda.h arch/x86/include/asm/system.h Also, moved include/asm-x86/stackprotector.h to arch/x86/include/asm. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig27
1 files changed, 21 insertions, 6 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 615668d87bfd..ef27aed6ff74 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -27,6 +27,7 @@ config X86
27 select HAVE_IOREMAP_PROT 27 select HAVE_IOREMAP_PROT
28 select HAVE_KPROBES 28 select HAVE_KPROBES
29 select ARCH_WANT_OPTIONAL_GPIOLIB 29 select ARCH_WANT_OPTIONAL_GPIOLIB
30 select ARCH_WANT_FRAME_POINTERS
30 select HAVE_KRETPROBES 31 select HAVE_KRETPROBES
31 select HAVE_FTRACE_MCOUNT_RECORD 32 select HAVE_FTRACE_MCOUNT_RECORD
32 select HAVE_DYNAMIC_FTRACE 33 select HAVE_DYNAMIC_FTRACE
@@ -586,6 +587,16 @@ config AMD_IOMMU
586 your BIOS for an option to enable it or if you have an IVRS ACPI 587 your BIOS for an option to enable it or if you have an IVRS ACPI
587 table. 588 table.
588 589
590config AMD_IOMMU_STATS
591 bool "Export AMD IOMMU statistics to debugfs"
592 depends on AMD_IOMMU
593 select DEBUG_FS
594 help
595 This option enables code in the AMD IOMMU driver to collect various
596 statistics about whats happening in the driver and exports that
597 information to userspace via debugfs.
598 If unsure, say N.
599
589# need this always selected by IOMMU for the VIA workaround 600# need this always selected by IOMMU for the VIA workaround
590config SWIOTLB 601config SWIOTLB
591 def_bool y if X86_64 602 def_bool y if X86_64
@@ -599,21 +610,25 @@ config SWIOTLB
599config IOMMU_HELPER 610config IOMMU_HELPER
600 def_bool (CALGARY_IOMMU || GART_IOMMU || SWIOTLB || AMD_IOMMU) 611 def_bool (CALGARY_IOMMU || GART_IOMMU || SWIOTLB || AMD_IOMMU)
601 612
613config IOMMU_API
614 def_bool (AMD_IOMMU || DMAR)
615
602config MAXSMP 616config MAXSMP
603 bool "Configure Maximum number of SMP Processors and NUMA Nodes" 617 bool "Configure Maximum number of SMP Processors and NUMA Nodes"
604 depends on X86_64 && SMP && BROKEN 618 depends on X86_64 && SMP && DEBUG_KERNEL && EXPERIMENTAL
619 select CPUMASK_OFFSTACK
605 default n 620 default n
606 help 621 help
607 Configure maximum number of CPUS and NUMA Nodes for this architecture. 622 Configure maximum number of CPUS and NUMA Nodes for this architecture.
608 If unsure, say N. 623 If unsure, say N.
609 624
610config NR_CPUS 625config NR_CPUS
611 int "Maximum number of CPUs (2-512)" if !MAXSMP 626 int "Maximum number of CPUs" if SMP && !MAXSMP
612 range 2 512 627 range 2 512 if SMP && !MAXSMP
613 depends on SMP 628 default "1" if !SMP
614 default "4096" if MAXSMP 629 default "4096" if MAXSMP
615 default "32" if X86_NUMAQ || X86_SUMMIT || X86_BIGSMP || X86_ES7000 630 default "32" if SMP && (X86_NUMAQ || X86_SUMMIT || X86_BIGSMP || X86_ES7000)
616 default "8" 631 default "8" if SMP
617 help 632 help
618 This allows you to specify the maximum number of CPUs which this 633 This allows you to specify the maximum number of CPUs which this
619 kernel will support. The maximum supported value is 512 and the 634 kernel will support. The maximum supported value is 512 and the