diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-18 13:31:12 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-18 13:31:12 -0400 |
commit | 3e370b29d35fb01bfb92c2814d6f79bf6a2cb970 (patch) | |
tree | 3b8fb467d60bfe6a34686f4abdc3a60050ba40a4 /arch/x86/Kconfig | |
parent | 88d1dce3a74367291f65a757fbdcaf17f042f30c (diff) | |
parent | 5b664cb235e97afbf34db9c4d77f08ebd725335e (diff) |
Merge branch 'linus' into x86/pci-ioapic-boot-irq-quirks
Conflicts:
drivers/pci/quirks.c
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 91 |
1 files changed, 45 insertions, 46 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index bb0c0d0f6db7..96e0c2ebc388 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -23,6 +23,8 @@ config X86 | |||
23 | select HAVE_OPROFILE | 23 | select HAVE_OPROFILE |
24 | select HAVE_KPROBES | 24 | select HAVE_KPROBES |
25 | select HAVE_KRETPROBES | 25 | select HAVE_KRETPROBES |
26 | select HAVE_DYNAMIC_FTRACE | ||
27 | select HAVE_FTRACE | ||
26 | select HAVE_KVM if ((X86_32 && !X86_VOYAGER && !X86_VISWS && !X86_NUMAQ) || X86_64) | 28 | select HAVE_KVM if ((X86_32 && !X86_VOYAGER && !X86_VISWS && !X86_NUMAQ) || X86_64) |
27 | select HAVE_ARCH_KGDB if !X86_VOYAGER | 29 | select HAVE_ARCH_KGDB if !X86_VOYAGER |
28 | 30 | ||
@@ -168,6 +170,7 @@ config GENERIC_PENDING_IRQ | |||
168 | config X86_SMP | 170 | config X86_SMP |
169 | bool | 171 | bool |
170 | depends on SMP && ((X86_32 && !X86_VOYAGER) || X86_64) | 172 | depends on SMP && ((X86_32 && !X86_VOYAGER) || X86_64) |
173 | select USE_GENERIC_SMP_HELPERS | ||
171 | default y | 174 | default y |
172 | 175 | ||
173 | config X86_32_SMP | 176 | config X86_32_SMP |
@@ -181,12 +184,12 @@ config X86_64_SMP | |||
181 | config X86_HT | 184 | config X86_HT |
182 | bool | 185 | bool |
183 | depends on SMP | 186 | depends on SMP |
184 | depends on (X86_32 && !(X86_VISWS || X86_VOYAGER)) || X86_64 | 187 | depends on (X86_32 && !X86_VOYAGER) || X86_64 |
185 | default y | 188 | default y |
186 | 189 | ||
187 | config X86_BIOS_REBOOT | 190 | config X86_BIOS_REBOOT |
188 | bool | 191 | bool |
189 | depends on !X86_VISWS && !X86_VOYAGER | 192 | depends on !X86_VOYAGER |
190 | default y | 193 | default y |
191 | 194 | ||
192 | config X86_TRAMPOLINE | 195 | config X86_TRAMPOLINE |
@@ -232,13 +235,13 @@ config SMP | |||
232 | 235 | ||
233 | config X86_FIND_SMP_CONFIG | 236 | config X86_FIND_SMP_CONFIG |
234 | def_bool y | 237 | def_bool y |
235 | depends on X86_MPPARSE || X86_VOYAGER || X86_VISWS | 238 | depends on X86_MPPARSE || X86_VOYAGER |
236 | 239 | ||
237 | if ACPI | 240 | if ACPI |
238 | config X86_MPPARSE | 241 | config X86_MPPARSE |
239 | def_bool y | 242 | def_bool y |
240 | bool "Enable MPS table" | 243 | bool "Enable MPS table" |
241 | depends on X86_LOCAL_APIC && !X86_VISWS | 244 | depends on X86_LOCAL_APIC |
242 | help | 245 | help |
243 | For old smp systems that do not have proper acpi support. Newer systems | 246 | For old smp systems that do not have proper acpi support. Newer systems |
244 | (esp with 64bit cpus) with acpi support, MADT and DSDT will override it | 247 | (esp with 64bit cpus) with acpi support, MADT and DSDT will override it |
@@ -247,7 +250,7 @@ endif | |||
247 | if !ACPI | 250 | if !ACPI |
248 | config X86_MPPARSE | 251 | config X86_MPPARSE |
249 | def_bool y | 252 | def_bool y |
250 | depends on X86_LOCAL_APIC && !X86_VISWS | 253 | depends on X86_LOCAL_APIC |
251 | endif | 254 | endif |
252 | 255 | ||
253 | choice | 256 | choice |
@@ -281,18 +284,6 @@ config X86_VOYAGER | |||
281 | If you do not specifically know you have a Voyager based machine, | 284 | If you do not specifically know you have a Voyager based machine, |
282 | say N here, otherwise the kernel you build will not be bootable. | 285 | say N here, otherwise the kernel you build will not be bootable. |
283 | 286 | ||
284 | config X86_VISWS | ||
285 | bool "SGI 320/540 (Visual Workstation)" | ||
286 | depends on X86_32 && !PCI | ||
287 | help | ||
288 | The SGI Visual Workstation series is an IA32-based workstation | ||
289 | based on SGI systems chips with some legacy PC hardware attached. | ||
290 | |||
291 | Say Y here to create a kernel to run on the SGI 320 or 540. | ||
292 | |||
293 | A kernel compiled for the Visual Workstation will not run on PCs | ||
294 | and vice versa. See <file:Documentation/sgi-visws.txt> for details. | ||
295 | |||
296 | config X86_GENERICARCH | 287 | config X86_GENERICARCH |
297 | bool "Generic architecture" | 288 | bool "Generic architecture" |
298 | depends on X86_32 | 289 | depends on X86_32 |
@@ -355,7 +346,7 @@ config X86_RDC321X | |||
355 | config X86_VSMP | 346 | config X86_VSMP |
356 | bool "Support for ScaleMP vSMP" | 347 | bool "Support for ScaleMP vSMP" |
357 | select PARAVIRT | 348 | select PARAVIRT |
358 | depends on X86_64 && !PCI | 349 | depends on X86_64 && PCI |
359 | help | 350 | help |
360 | Support for ScaleMP vSMP systems. Say 'Y' here if this kernel is | 351 | Support for ScaleMP vSMP systems. Say 'Y' here if this kernel is |
361 | supposed to run on these EM64T-based machines. Only choose this option | 352 | supposed to run on these EM64T-based machines. Only choose this option |
@@ -363,6 +354,18 @@ config X86_VSMP | |||
363 | 354 | ||
364 | endchoice | 355 | endchoice |
365 | 356 | ||
357 | config X86_VISWS | ||
358 | bool "SGI 320/540 (Visual Workstation)" | ||
359 | depends on X86_32 && PCI && !X86_VOYAGER && X86_MPPARSE && PCI_GODIRECT | ||
360 | help | ||
361 | The SGI Visual Workstation series is an IA32-based workstation | ||
362 | based on SGI systems chips with some legacy PC hardware attached. | ||
363 | |||
364 | Say Y here to create a kernel to run on the SGI 320 or 540. | ||
365 | |||
366 | A kernel compiled for the Visual Workstation will run on general | ||
367 | PCs as well. See <file:Documentation/sgi-visws.txt> for details. | ||
368 | |||
366 | config SCHED_NO_NO_OMIT_FRAME_POINTER | 369 | config SCHED_NO_NO_OMIT_FRAME_POINTER |
367 | def_bool y | 370 | def_bool y |
368 | prompt "Single-depth WCHAN output" | 371 | prompt "Single-depth WCHAN output" |
@@ -391,7 +394,7 @@ config VMI | |||
391 | bool "VMI Guest support" | 394 | bool "VMI Guest support" |
392 | select PARAVIRT | 395 | select PARAVIRT |
393 | depends on X86_32 | 396 | depends on X86_32 |
394 | depends on !(X86_VISWS || X86_VOYAGER) | 397 | depends on !X86_VOYAGER |
395 | help | 398 | help |
396 | VMI provides a paravirtualized interface to the VMware ESX server | 399 | VMI provides a paravirtualized interface to the VMware ESX server |
397 | (it could be used by other hypervisors in theory too, but is not | 400 | (it could be used by other hypervisors in theory too, but is not |
@@ -402,7 +405,7 @@ config KVM_CLOCK | |||
402 | bool "KVM paravirtualized clock" | 405 | bool "KVM paravirtualized clock" |
403 | select PARAVIRT | 406 | select PARAVIRT |
404 | select PARAVIRT_CLOCK | 407 | select PARAVIRT_CLOCK |
405 | depends on !(X86_VISWS || X86_VOYAGER) | 408 | depends on !X86_VOYAGER |
406 | help | 409 | help |
407 | Turning on this option will allow you to run a paravirtualized clock | 410 | Turning on this option will allow you to run a paravirtualized clock |
408 | when running over the KVM hypervisor. Instead of relying on a PIT | 411 | when running over the KVM hypervisor. Instead of relying on a PIT |
@@ -413,7 +416,7 @@ config KVM_CLOCK | |||
413 | config KVM_GUEST | 416 | config KVM_GUEST |
414 | bool "KVM Guest support" | 417 | bool "KVM Guest support" |
415 | select PARAVIRT | 418 | select PARAVIRT |
416 | depends on !(X86_VISWS || X86_VOYAGER) | 419 | depends on !X86_VOYAGER |
417 | help | 420 | help |
418 | This option enables various optimizations for running under the KVM | 421 | This option enables various optimizations for running under the KVM |
419 | hypervisor. | 422 | hypervisor. |
@@ -422,7 +425,7 @@ source "arch/x86/lguest/Kconfig" | |||
422 | 425 | ||
423 | config PARAVIRT | 426 | config PARAVIRT |
424 | bool "Enable paravirtualization code" | 427 | bool "Enable paravirtualization code" |
425 | depends on !(X86_VISWS || X86_VOYAGER) | 428 | depends on !X86_VOYAGER |
426 | help | 429 | help |
427 | This changes the kernel so it can modify itself when it is run | 430 | This changes the kernel so it can modify itself when it is run |
428 | under a hypervisor, potentially improving performance significantly | 431 | under a hypervisor, potentially improving performance significantly |
@@ -445,7 +448,6 @@ config PARAVIRT_DEBUG | |||
445 | config MEMTEST | 448 | config MEMTEST |
446 | bool "Memtest" | 449 | bool "Memtest" |
447 | depends on X86_64 | 450 | depends on X86_64 |
448 | default y | ||
449 | help | 451 | help |
450 | This option adds a kernel parameter 'memtest', which allows memtest | 452 | This option adds a kernel parameter 'memtest', which allows memtest |
451 | to be set. | 453 | to be set. |
@@ -453,7 +455,7 @@ config MEMTEST | |||
453 | memtest=1, mean do 1 test pattern; | 455 | memtest=1, mean do 1 test pattern; |
454 | ... | 456 | ... |
455 | memtest=4, mean do 4 test patterns. | 457 | memtest=4, mean do 4 test patterns. |
456 | If you are unsure how to answer this question, answer Y. | 458 | If you are unsure how to answer this question, answer N. |
457 | 459 | ||
458 | config X86_SUMMIT_NUMA | 460 | config X86_SUMMIT_NUMA |
459 | def_bool y | 461 | def_bool y |
@@ -575,7 +577,7 @@ config SWIOTLB | |||
575 | 3 GB of memory. If unsure, say Y. | 577 | 3 GB of memory. If unsure, say Y. |
576 | 578 | ||
577 | config IOMMU_HELPER | 579 | config IOMMU_HELPER |
578 | def_bool (CALGARY_IOMMU || GART_IOMMU || SWIOTLB) | 580 | def_bool (CALGARY_IOMMU || GART_IOMMU || SWIOTLB || AMD_IOMMU) |
579 | config MAXSMP | 581 | config MAXSMP |
580 | bool "Configure Maximum number of SMP Processors and NUMA Nodes" | 582 | bool "Configure Maximum number of SMP Processors and NUMA Nodes" |
581 | depends on X86_64 && SMP | 583 | depends on X86_64 && SMP |
@@ -628,7 +630,7 @@ source "kernel/Kconfig.preempt" | |||
628 | 630 | ||
629 | config X86_UP_APIC | 631 | config X86_UP_APIC |
630 | bool "Local APIC support on uniprocessors" | 632 | bool "Local APIC support on uniprocessors" |
631 | depends on X86_32 && !SMP && !(X86_VISWS || X86_VOYAGER || X86_GENERICARCH) | 633 | depends on X86_32 && !SMP && !(X86_VOYAGER || X86_GENERICARCH) |
632 | help | 634 | help |
633 | A local APIC (Advanced Programmable Interrupt Controller) is an | 635 | A local APIC (Advanced Programmable Interrupt Controller) is an |
634 | integrated interrupt controller in the CPU. If you have a single-CPU | 636 | integrated interrupt controller in the CPU. If you have a single-CPU |
@@ -653,11 +655,11 @@ config X86_UP_IOAPIC | |||
653 | 655 | ||
654 | config X86_LOCAL_APIC | 656 | config X86_LOCAL_APIC |
655 | def_bool y | 657 | def_bool y |
656 | depends on X86_64 || (X86_32 && (X86_UP_APIC || ((X86_VISWS || SMP) && !X86_VOYAGER) || X86_GENERICARCH)) | 658 | depends on X86_64 || (X86_32 && (X86_UP_APIC || (SMP && !X86_VOYAGER) || X86_GENERICARCH)) |
657 | 659 | ||
658 | config X86_IO_APIC | 660 | config X86_IO_APIC |
659 | def_bool y | 661 | def_bool y |
660 | depends on X86_64 || (X86_32 && (X86_UP_IOAPIC || (SMP && !(X86_VISWS || X86_VOYAGER)) || X86_GENERICARCH)) | 662 | depends on X86_64 || (X86_32 && (X86_UP_IOAPIC || (SMP && !X86_VOYAGER) || X86_GENERICARCH)) |
661 | 663 | ||
662 | config X86_VISWS_APIC | 664 | config X86_VISWS_APIC |
663 | def_bool y | 665 | def_bool y |
@@ -711,7 +713,7 @@ config X86_MCE_NONFATAL | |||
711 | 713 | ||
712 | config X86_MCE_P4THERMAL | 714 | config X86_MCE_P4THERMAL |
713 | bool "check for P4 thermal throttling interrupt." | 715 | bool "check for P4 thermal throttling interrupt." |
714 | depends on X86_32 && X86_MCE && (X86_UP_APIC || SMP) && !X86_VISWS | 716 | depends on X86_32 && X86_MCE && (X86_UP_APIC || SMP) |
715 | help | 717 | help |
716 | Enabling this feature will cause a message to be printed when the P4 | 718 | Enabling this feature will cause a message to be printed when the P4 |
717 | enters thermal throttling. | 719 | enters thermal throttling. |
@@ -1133,21 +1135,18 @@ config MTRR | |||
1133 | See <file:Documentation/mtrr.txt> for more information. | 1135 | See <file:Documentation/mtrr.txt> for more information. |
1134 | 1136 | ||
1135 | config MTRR_SANITIZER | 1137 | config MTRR_SANITIZER |
1136 | def_bool y | 1138 | bool |
1137 | prompt "MTRR cleanup support" | 1139 | prompt "MTRR cleanup support" |
1138 | depends on MTRR | 1140 | depends on MTRR |
1139 | help | 1141 | help |
1140 | Convert MTRR layout from continuous to discrete, so some X driver | 1142 | Convert MTRR layout from continuous to discrete, so X drivers can |
1141 | could add WB entries. | 1143 | add writeback entries. |
1142 | |||
1143 | Say N here if you see bootup problems (boot crash, boot hang, | ||
1144 | spontaneous reboots). | ||
1145 | 1144 | ||
1146 | Could be disabled with disable_mtrr_cleanup. Also mtrr_chunk_size | 1145 | Can be disabled with disable_mtrr_cleanup on the kernel command line. |
1147 | could be used to send largest mtrr entry size for continuous block | 1146 | The largest mtrr entry size for a continous block can be set with |
1148 | to hold holes (aka. UC entries) | 1147 | mtrr_chunk_size. |
1149 | 1148 | ||
1150 | If unsure, say Y. | 1149 | If unsure, say N. |
1151 | 1150 | ||
1152 | config MTRR_SANITIZER_ENABLE_DEFAULT | 1151 | config MTRR_SANITIZER_ENABLE_DEFAULT |
1153 | int "MTRR cleanup enable value (0-1)" | 1152 | int "MTRR cleanup enable value (0-1)" |
@@ -1164,7 +1163,7 @@ config MTRR_SANITIZER_SPARE_REG_NR_DEFAULT | |||
1164 | depends on MTRR_SANITIZER | 1163 | depends on MTRR_SANITIZER |
1165 | help | 1164 | help |
1166 | mtrr cleanup spare entries default, it can be changed via | 1165 | mtrr cleanup spare entries default, it can be changed via |
1167 | mtrr_spare_reg_nr= | 1166 | mtrr_spare_reg_nr=N on the kernel command line. |
1168 | 1167 | ||
1169 | config X86_PAT | 1168 | config X86_PAT |
1170 | bool | 1169 | bool |
@@ -1414,7 +1413,7 @@ config X86_APM_BOOT | |||
1414 | 1413 | ||
1415 | menuconfig APM | 1414 | menuconfig APM |
1416 | tristate "APM (Advanced Power Management) BIOS support" | 1415 | tristate "APM (Advanced Power Management) BIOS support" |
1417 | depends on X86_32 && PM_SLEEP && !X86_VISWS | 1416 | depends on X86_32 && PM_SLEEP |
1418 | ---help--- | 1417 | ---help--- |
1419 | APM is a BIOS specification for saving power using several different | 1418 | APM is a BIOS specification for saving power using several different |
1420 | techniques. This is mostly useful for battery powered laptops with | 1419 | techniques. This is mostly useful for battery powered laptops with |
@@ -1561,7 +1560,7 @@ config PCI | |||
1561 | 1560 | ||
1562 | choice | 1561 | choice |
1563 | prompt "PCI access mode" | 1562 | prompt "PCI access mode" |
1564 | depends on X86_32 && PCI && !X86_VISWS | 1563 | depends on X86_32 && PCI |
1565 | default PCI_GOANY | 1564 | default PCI_GOANY |
1566 | ---help--- | 1565 | ---help--- |
1567 | On PCI systems, the BIOS can be used to detect the PCI devices and | 1566 | On PCI systems, the BIOS can be used to detect the PCI devices and |
@@ -1598,12 +1597,12 @@ endchoice | |||
1598 | 1597 | ||
1599 | config PCI_BIOS | 1598 | config PCI_BIOS |
1600 | def_bool y | 1599 | def_bool y |
1601 | depends on X86_32 && !X86_VISWS && PCI && (PCI_GOBIOS || PCI_GOANY) | 1600 | depends on X86_32 && PCI && (PCI_GOBIOS || PCI_GOANY) |
1602 | 1601 | ||
1603 | # x86-64 doesn't support PCI BIOS access from long mode so always go direct. | 1602 | # x86-64 doesn't support PCI BIOS access from long mode so always go direct. |
1604 | config PCI_DIRECT | 1603 | config PCI_DIRECT |
1605 | def_bool y | 1604 | def_bool y |
1606 | depends on PCI && (X86_64 || (PCI_GODIRECT || PCI_GOANY || PCI_GOOLPC) || X86_VISWS) | 1605 | depends on PCI && (X86_64 || (PCI_GODIRECT || PCI_GOANY || PCI_GOOLPC)) |
1607 | 1606 | ||
1608 | config PCI_MMCONFIG | 1607 | config PCI_MMCONFIG |
1609 | def_bool y | 1608 | def_bool y |
@@ -1663,7 +1662,7 @@ if X86_32 | |||
1663 | 1662 | ||
1664 | config ISA | 1663 | config ISA |
1665 | bool "ISA support" | 1664 | bool "ISA support" |
1666 | depends on !(X86_VOYAGER || X86_VISWS) | 1665 | depends on !X86_VOYAGER |
1667 | help | 1666 | help |
1668 | Find out whether you have ISA slots on your motherboard. ISA is the | 1667 | Find out whether you have ISA slots on your motherboard. ISA is the |
1669 | name of a bus system, i.e. the way the CPU talks to the other stuff | 1668 | name of a bus system, i.e. the way the CPU talks to the other stuff |
@@ -1690,7 +1689,7 @@ config EISA | |||
1690 | source "drivers/eisa/Kconfig" | 1689 | source "drivers/eisa/Kconfig" |
1691 | 1690 | ||
1692 | config MCA | 1691 | config MCA |
1693 | bool "MCA support" if !(X86_VISWS || X86_VOYAGER) | 1692 | bool "MCA support" if !X86_VOYAGER |
1694 | default y if X86_VOYAGER | 1693 | default y if X86_VOYAGER |
1695 | help | 1694 | help |
1696 | MicroChannel Architecture is found in some IBM PS/2 machines and | 1695 | MicroChannel Architecture is found in some IBM PS/2 machines and |