aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2010-10-25 10:58:34 -0400
committerRobert Richter <robert.richter@amd.com>2010-10-25 10:58:34 -0400
commit4cafc4b8d7219b70e15f22e4a51b3ce847810caf (patch)
tree8051ea3f36f0682d08f47df8e35e14ca7eb7a5d7 /arch/x86/Kconfig
parentb47fad3bfb5940cc3e28a1c69716f6dc44e4b7e6 (diff)
parentdbd1e66e04558a582e673bc4a9cd933ce0228d93 (diff)
Merge branch 'oprofile/core' into oprofile/x86
Conflicts: arch/x86/oprofile/op_model_amd.c Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig123
1 files changed, 54 insertions, 69 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 9815221976a7..7ab9db88ab6a 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -25,6 +25,7 @@ config X86
25 select HAVE_IDE 25 select HAVE_IDE
26 select HAVE_OPROFILE 26 select HAVE_OPROFILE
27 select HAVE_PERF_EVENTS if (!M386 && !M486) 27 select HAVE_PERF_EVENTS if (!M386 && !M486)
28 select HAVE_IRQ_WORK
28 select HAVE_IOREMAP_PROT 29 select HAVE_IOREMAP_PROT
29 select HAVE_KPROBES 30 select HAVE_KPROBES
30 select ARCH_WANT_OPTIONAL_GPIOLIB 31 select ARCH_WANT_OPTIONAL_GPIOLIB
@@ -62,6 +63,10 @@ config X86
62 select HAVE_USER_RETURN_NOTIFIER 63 select HAVE_USER_RETURN_NOTIFIER
63 select HAVE_ARCH_JUMP_LABEL 64 select HAVE_ARCH_JUMP_LABEL
64 select HAVE_TEXT_POKE_SMP 65 select HAVE_TEXT_POKE_SMP
66 select HAVE_GENERIC_HARDIRQS
67 select HAVE_SPARSE_IRQ
68 select GENERIC_IRQ_PROBE
69 select GENERIC_PENDING_IRQ if SMP
65 70
66config INSTRUCTION_DECODER 71config INSTRUCTION_DECODER
67 def_bool (KPROBES || PERF_EVENTS) 72 def_bool (KPROBES || PERF_EVENTS)
@@ -203,20 +208,6 @@ config HAVE_INTEL_TXT
203 def_bool y 208 def_bool y
204 depends on EXPERIMENTAL && DMAR && ACPI 209 depends on EXPERIMENTAL && DMAR && ACPI
205 210
206# Use the generic interrupt handling code in kernel/irq/:
207config GENERIC_HARDIRQS
208 def_bool y
209
210config GENERIC_HARDIRQS_NO__DO_IRQ
211 def_bool y
212
213config GENERIC_IRQ_PROBE
214 def_bool y
215
216config GENERIC_PENDING_IRQ
217 def_bool y
218 depends on GENERIC_HARDIRQS && SMP
219
220config USE_GENERIC_SMP_HELPERS 211config USE_GENERIC_SMP_HELPERS
221 def_bool y 212 def_bool y
222 depends on SMP 213 depends on SMP
@@ -299,23 +290,6 @@ config X86_X2APIC
299 290
300 If you don't know what to do here, say N. 291 If you don't know what to do here, say N.
301 292
302config SPARSE_IRQ
303 bool "Support sparse irq numbering"
304 depends on PCI_MSI || HT_IRQ
305 ---help---
306 This enables support for sparse irqs. This is useful for distro
307 kernels that want to define a high CONFIG_NR_CPUS value but still
308 want to have low kernel memory footprint on smaller machines.
309
310 ( Sparse IRQs can also be beneficial on NUMA boxes, as they spread
311 out the irq_desc[] array in a more NUMA-friendly way. )
312
313 If you don't know what to do here, say N.
314
315config NUMA_IRQ_DESC
316 def_bool y
317 depends on SPARSE_IRQ && NUMA
318
319config X86_MPPARSE 293config X86_MPPARSE
320 bool "Enable MPS table" if ACPI 294 bool "Enable MPS table" if ACPI
321 default y 295 default y
@@ -520,25 +494,6 @@ if PARAVIRT_GUEST
520 494
521source "arch/x86/xen/Kconfig" 495source "arch/x86/xen/Kconfig"
522 496
523config VMI
524 bool "VMI Guest support (DEPRECATED)"
525 select PARAVIRT
526 depends on X86_32
527 ---help---
528 VMI provides a paravirtualized interface to the VMware ESX server
529 (it could be used by other hypervisors in theory too, but is not
530 at the moment), by linking the kernel to a GPL-ed ROM module
531 provided by the hypervisor.
532
533 As of September 2009, VMware has started a phased retirement
534 of this feature from VMware's products. Please see
535 feature-removal-schedule.txt for details. If you are
536 planning to enable this option, please note that you cannot
537 live migrate a VMI enabled VM to a future VMware product,
538 which doesn't support VMI. So if you expect your kernel to
539 seamlessly migrate to newer VMware products, keep this
540 disabled.
541
542config KVM_CLOCK 497config KVM_CLOCK
543 bool "KVM paravirtualized clock" 498 bool "KVM paravirtualized clock"
544 select PARAVIRT 499 select PARAVIRT
@@ -673,7 +628,7 @@ config GART_IOMMU
673 bool "GART IOMMU support" if EMBEDDED 628 bool "GART IOMMU support" if EMBEDDED
674 default y 629 default y
675 select SWIOTLB 630 select SWIOTLB
676 depends on X86_64 && PCI && K8_NB 631 depends on X86_64 && PCI && AMD_NB
677 ---help--- 632 ---help---
678 Support for full DMA access of devices with 32bit memory access only 633 Support for full DMA access of devices with 32bit memory access only
679 on systems with more than 3GB. This is usually needed for USB, 634 on systems with more than 3GB. This is usually needed for USB,
@@ -798,6 +753,17 @@ config SCHED_MC
798 making when dealing with multi-core CPU chips at a cost of slightly 753 making when dealing with multi-core CPU chips at a cost of slightly
799 increased overhead in some places. If unsure say N here. 754 increased overhead in some places. If unsure say N here.
800 755
756config IRQ_TIME_ACCOUNTING
757 bool "Fine granularity task level IRQ time accounting"
758 default n
759 ---help---
760 Select this option to enable fine granularity task irq time
761 accounting. This is done by reading a timestamp on each
762 transitions between softirq and hardirq state, so there can be a
763 small performance impact.
764
765 If in doubt, say N here.
766
801source "kernel/Kconfig.preempt" 767source "kernel/Kconfig.preempt"
802 768
803config X86_UP_APIC 769config X86_UP_APIC
@@ -1151,6 +1117,9 @@ config X86_PAE
1151config ARCH_PHYS_ADDR_T_64BIT 1117config ARCH_PHYS_ADDR_T_64BIT
1152 def_bool X86_64 || X86_PAE 1118 def_bool X86_64 || X86_PAE
1153 1119
1120config ARCH_DMA_ADDR_T_64BIT
1121 def_bool X86_64 || HIGHMEM64G
1122
1154config DIRECT_GBPAGES 1123config DIRECT_GBPAGES
1155 bool "Enable 1GB pages for kernel pagetables" if EMBEDDED 1124 bool "Enable 1GB pages for kernel pagetables" if EMBEDDED
1156 default y 1125 default y
@@ -1329,25 +1298,34 @@ config X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK
1329 Set whether the default state of memory_corruption_check is 1298 Set whether the default state of memory_corruption_check is
1330 on or off. 1299 on or off.
1331 1300
1332config X86_RESERVE_LOW_64K 1301config X86_RESERVE_LOW
1333 bool "Reserve low 64K of RAM on AMI/Phoenix BIOSen" 1302 int "Amount of low memory, in kilobytes, to reserve for the BIOS"
1334 default y 1303 default 64
1304 range 4 640
1335 ---help--- 1305 ---help---
1336 Reserve the first 64K of physical RAM on BIOSes that are known 1306 Specify the amount of low memory to reserve for the BIOS.
1337 to potentially corrupt that memory range. A numbers of BIOSes are 1307
1338 known to utilize this area during suspend/resume, so it must not 1308 The first page contains BIOS data structures that the kernel
1339 be used by the kernel. 1309 must not use, so that page must always be reserved.
1340 1310
1341 Set this to N if you are absolutely sure that you trust the BIOS 1311 By default we reserve the first 64K of physical RAM, as a
1342 to get all its memory reservations and usages right. 1312 number of BIOSes are known to corrupt that memory range
1313 during events such as suspend/resume or monitor cable
1314 insertion, so it must not be used by the kernel.
1343 1315
1344 If you have doubts about the BIOS (e.g. suspend/resume does not 1316 You can set this to 4 if you are absolutely sure that you
1345 work or there's kernel crashes after certain hardware hotplug 1317 trust the BIOS to get all its memory reservations and usages
1346 events) and it's not AMI or Phoenix, then you might want to enable 1318 right. If you know your BIOS have problems beyond the
1347 X86_CHECK_BIOS_CORRUPTION=y to allow the kernel to check typical 1319 default 64K area, you can set this to 640 to avoid using the
1348 corruption patterns. 1320 entire low memory range.
1349 1321
1350 Say Y if unsure. 1322 If you have doubts about the BIOS (e.g. suspend/resume does
1323 not work or there's kernel crashes after certain hardware
1324 hotplug events) then you might want to enable
1325 X86_CHECK_BIOS_CORRUPTION=y to allow the kernel to check
1326 typical corruption patterns.
1327
1328 Leave this to the default value of 64 if you are unsure.
1351 1329
1352config MATH_EMULATION 1330config MATH_EMULATION
1353 bool 1331 bool
@@ -1903,7 +1881,7 @@ config PCI_GODIRECT
1903 bool "Direct" 1881 bool "Direct"
1904 1882
1905config PCI_GOOLPC 1883config PCI_GOOLPC
1906 bool "OLPC" 1884 bool "OLPC XO-1"
1907 depends on OLPC 1885 depends on OLPC
1908 1886
1909config PCI_GOANY 1887config PCI_GOANY
@@ -2064,14 +2042,21 @@ config SCx200HR_TIMER
2064config OLPC 2042config OLPC
2065 bool "One Laptop Per Child support" 2043 bool "One Laptop Per Child support"
2066 select GPIOLIB 2044 select GPIOLIB
2045 select OLPC_OPENFIRMWARE
2067 ---help--- 2046 ---help---
2068 Add support for detecting the unique features of the OLPC 2047 Add support for detecting the unique features of the OLPC
2069 XO hardware. 2048 XO hardware.
2070 2049
2050config OLPC_XO1
2051 tristate "OLPC XO-1 support"
2052 depends on OLPC && PCI
2053 ---help---
2054 Add support for non-essential features of the OLPC XO-1 laptop.
2055
2071config OLPC_OPENFIRMWARE 2056config OLPC_OPENFIRMWARE
2072 bool "Support for OLPC's Open Firmware" 2057 bool "Support for OLPC's Open Firmware"
2073 depends on !X86_64 && !X86_PAE 2058 depends on !X86_64 && !X86_PAE
2074 default y if OLPC 2059 default n
2075 help 2060 help
2076 This option adds support for the implementation of Open Firmware 2061 This option adds support for the implementation of Open Firmware
2077 that is used on the OLPC XO-1 Children's Machine. 2062 that is used on the OLPC XO-1 Children's Machine.
@@ -2079,7 +2064,7 @@ config OLPC_OPENFIRMWARE
2079 2064
2080endif # X86_32 2065endif # X86_32
2081 2066
2082config K8_NB 2067config AMD_NB
2083 def_bool y 2068 def_bool y
2084 depends on CPU_SUP_AMD && PCI 2069 depends on CPU_SUP_AMD && PCI
2085 2070